Inspector2.Client.
get_member
(**kwargs)¶Gets member information for your organization.
See also: AWS API Documentation
Request Syntax
response = client.get_member(
accountId='string'
)
[REQUIRED]
The Amazon Web Services account ID of the member account to retrieve information on.
{
'member': {
'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)
}
}
Response Structure
Details of the retrieved member account.
The Amazon Web Services account ID of the member account.
The Amazon Web Services account ID of the Amazon Inspector delegated administrator for this member account.
The status of the member account.
A timestamp showing when the status of this member was last updated.
Exceptions
Inspector2.Client.exceptions.ValidationException
Inspector2.Client.exceptions.AccessDeniedException
Inspector2.Client.exceptions.ResourceNotFoundException
Inspector2.Client.exceptions.ThrottlingException
Inspector2.Client.exceptions.InternalServerException