Macie2.Paginator.
ListInvitations
¶paginator = client.get_paginator('list_invitations')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from Macie2.Client.list_invitations()
.
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.
{
'invitations': [
{
'accountId': 'string',
'invitationId': 'string',
'invitedAt': datetime(2015, 1, 1),
'relationshipStatus': 'Enabled'|'Paused'|'Invited'|'Created'|'Removed'|'Resigned'|'EmailVerificationInProgress'|'EmailVerificationFailed'|'RegionDisabled'|'AccountSuspended'
},
],
'NextToken': 'string'
}
Response Structure
The request succeeded.
An array of objects, one for each invitation that was received by the account.
Provides information about an Amazon Macie membership invitation.
The Amazon Web Services account ID for the account that sent the invitation.
The unique identifier for the invitation.
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
The status of the relationship between the account that sent the invitation and the account that received the invitation.
A token to resume pagination.