Connect.Paginator.
ListInstances
¶paginator = client.get_paginator('list_instances')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from Connect.Client.list_instances()
.
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.
{
'InstanceSummaryList': [
{
'Id': 'string',
'Arn': 'string',
'IdentityManagementType': 'SAML'|'CONNECT_MANAGED'|'EXISTING_DIRECTORY',
'InstanceAlias': 'string',
'CreatedTime': datetime(2015, 1, 1),
'ServiceRole': 'string',
'InstanceStatus': 'CREATION_IN_PROGRESS'|'ACTIVE'|'CREATION_FAILED',
'InboundCallsEnabled': True|False,
'OutboundCallsEnabled': True|False
},
],
}
Response Structure
Information about the instances.
Information about the instance.
The identifier of the instance.
The Amazon Resource Name (ARN) of the instance.
The identity management type of the instance.
The alias of the instance.
When the instance was created.
The service role of the instance.
The state of the instance.
Whether inbound calls are enabled.
Whether outbound calls are enabled.