AWSDynamoDBPaginatedOutput
Objective-C
@interface AWSDynamoDBPaginatedOutput : NSObject
Swift
class AWSDynamoDBPaginatedOutput : NSObject
The paginated output object.
-
The array of items.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<__kindof AWSDynamoDBObjectModel<AWSDynamoDBModeling> *> *_Nonnull items;Swift
var items: [AWSDynamoDBObjectModel & AWSDynamoDBModeling] { get } -
The last evaluated key.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSDictionary<NSString *, AWSDynamoDBAttributeValue *> *lastEvaluatedKey;Swift
var lastEvaluatedKey: [String : AWSDynamoDBAttributeValue]? { get } -
Loads the next page of items when
self.lastEvaluatedKeyis notnil.Declaration
Objective-C
- (id)loadNextPage;Swift
func loadNextPage() -> Any!Return Value
task.errorindicates why the request failed, ornilif the request was successful.task.resultis alwaysnil. -
Loads the next page of items when
self.lastEvaluatedKeyis notnil.Declaration
Objective-C
- (void)loadNextPageWithCompletionHandler: (void (^_Nullable)(NSError *_Nullable))completionHandler;Swift
func loadNextPage() async throwsParameters
completionHandlerThe completion handler to call when the load request is complete.
error: An error object that indicates why the request failed, ornilif the request was successful. -
Resets
self.lastEvaluatedKeytoniland reloads the results from the beginning.Declaration
Objective-C
- (id)reload;Swift
func reload() -> Any!Return Value
task.errorindicates why the request failed, ornilif the request was successful.task.resultis alwaysnil. -
Resets
self.lastEvaluatedKeytoniland reloads the results from the beginning.Declaration
Objective-C
- (void)reloadWithCompletionHandler: (void (^_Nullable)(NSError *_Nullable))completionHandler;Swift
func reload() async throwsParameters
completionHandlerThe completion handler to call when the load request is complete. error
: An error object that indicates why the request failed, ornil` if the request was successful.
View on GitHub
Install in Dash
AWSDynamoDBPaginatedOutput Class Reference