Inspector2.Paginator.
ListMembers
¶paginator = client.get_paginator('list_members')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from Inspector2.Client.list_members()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
onlyAssociated=True|False,
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
True
or to list all members within the organization if False
.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.
dict
Response Syntax
{
'members': [
{
'accountId': 'string',
'delegatedAdminAccountId': 'string',
'relationshipStatus': 'CREATED'|'INVITED'|'DISABLED'|'ENABLED'|'REMOVED'|'RESIGNED'|'DELETED'|'EMAIL_VERIFICATION_IN_PROGRESS'|'EMAIL_VERIFICATION_FAILED'|'REGION_DISABLED'|'ACCOUNT_SUSPENDED'|'CANNOT_CREATE_DETECTOR_IN_ORG_MASTER',
'updatedAt': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
members (list) --
An object that contains details for each member account.
(dict) --
Details on a member account in your organization.
accountId (string) --
The Amazon Web Services account ID of the member account.
delegatedAdminAccountId (string) --
The Amazon Web Services account ID of the Amazon Inspector delegated administrator for this member account.
relationshipStatus (string) --
The status of the member account.
updatedAt (datetime) --
A timestamp showing when the status of this member was last updated.
NextToken (string) --
A token to resume pagination.