WorkMail.Paginator.
ListOrganizations
¶paginator = client.get_paginator('list_organizations')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from WorkMail.Client.list_organizations()
.
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.
{
'OrganizationSummaries': [
{
'OrganizationId': 'string',
'Alias': 'string',
'DefaultMailDomain': 'string',
'ErrorMessage': 'string',
'State': 'string'
},
],
}
Response Structure
The overview of owned organizations presented as a list of organization summaries.
The representation of an organization.
The identifier associated with the organization.
The alias associated with the organization.
The default email domain associated with the organization.
The error message associated with the organization. It is only present if unexpected behavior has occurred with regards to the organization. It provides insight or solutions regarding unexpected behavior.
The state associated with the organization.