Method: Aws::Record::ItemCollection#page
- Defined in:
- lib/aws-record/record/item_collection.rb
#page ⇒ Array<Aws::Record>
Provides the first “page” of responses from your query operation. This will only make a single client call, and will provide the items, if any exist, from that response. It will not attempt to follow up on pagination tokens, so this is not guaranteed to include all items that match your search.
46 47 48 49 50 |
# File 'lib/aws-record/record/item_collection.rb', line 46 def page search_response = items @last_evaluated_key = search_response.last_evaluated_key _build_items_from_response(search_response.items, @model) end |