ConnectHealth / Paginator / ListSubscriptions
ListSubscriptions¶
- class ConnectHealth.Paginator.ListSubscriptions¶
paginator = client.get_paginator('list_subscriptions')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
ConnectHealth.Client.list_subscriptions().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( domainId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
domainId (string) –
[REQUIRED]
The unique identifier of the parent Domain.
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
{ 'subscriptions': [ { 'domainId': 'string', 'subscriptionId': 'string', 'arn': 'string', 'status': 'ACTIVE'|'INACTIVE'|'DELETED', 'createdAt': datetime(2015, 1, 1), 'lastUpdatedAt': datetime(2015, 1, 1), 'activatedAt': datetime(2015, 1, 1), 'deactivatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
subscriptions (list) –
List of Subscriptions.
(dict) –
Complete subscription resource data.
domainId (string) –
subscriptionId (string) –
arn (string) –
status (string) –
createdAt (datetime) –
lastUpdatedAt (datetime) –
activatedAt (datetime) –
deactivatedAt (datetime) –
NextToken (string) –
A token to resume pagination.