RTBFabric / Paginator / ListUpdates
ListUpdates¶
- class RTBFabric.Paginator.ListUpdates¶
paginator = client.get_paginator('list_updates')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
RTBFabric.Client.list_updates().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( gatewayId='string', linkId='string', ruleId='string', type='GATEWAY_CONFIG_UPDATE'|'LINK_CONFIG_UPDATE'|'LINK_FLOW_UPDATE'|'ROUTING_RULE_UPDATE', status='IN_PROGRESS'|'SUCCESSFUL'|'FAILED', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
gatewayId (string) –
[REQUIRED]
The unique identifier of the gateway.
linkId (string) – The ID of a link on this gateway, to list only that link’s updates. Omit both
linkIdandruleIdto list the gateway’s own updates.ruleId (string) – The ID of a routing rule, to list only that rule’s updates. Requires
linkId, because you address a rule through its link. AruleIdwithoutlinkIdfails with ValidationException.type (string) – Lists only updates of this type.
status (string) – Lists only updates in this status.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'updates': [ { 'updateId': 'string', 'type': 'GATEWAY_CONFIG_UPDATE'|'LINK_CONFIG_UPDATE'|'LINK_FLOW_UPDATE'|'ROUTING_RULE_UPDATE', 'status': 'IN_PROGRESS'|'SUCCESSFUL'|'FAILED', 'createdAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
updates (list) –
The updates on this page.
(dict) –
A summary of an update.
updateId (string) –
The unique identifier of the update.
type (string) –
The type of change.
status (string) –
The status of the update.
createdAt (datetime) –
The timestamp of when the update was created.
NextToken (string) –
A token to resume pagination.