SNS.Paginator.
ListOriginationNumbers
¶paginator = client.get_paginator('list_origination_numbers')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from SNS.Client.list_origination_numbers()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
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 NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
{
'PhoneNumbers': [
{
'CreatedAt': datetime(2015, 1, 1),
'PhoneNumber': 'string',
'Status': 'string',
'Iso2CountryCode': 'string',
'RouteType': 'Transactional'|'Promotional'|'Premium',
'NumberCapabilities': [
'SMS'|'MMS'|'VOICE',
]
},
]
}
Response Structure
A list of the calling account's verified and pending origination numbers.
A list of phone numbers and their metadata.
The date and time when the phone number was created.
The phone number.
The status of the phone number.
The two-character code for the country or region, in ISO 3166-1 alpha-2 format.
The list of supported routes.
The capabilities of each phone number.