Inspector2 / Client / get_member
get_member#
- Inspector2.Client.get_member(**kwargs)#
Gets member information for your organization.
See also: AWS API Documentation
Request Syntax
response = client.get_member( accountId='string' )
- Parameters:
accountId (string) –
[REQUIRED]
The Amazon Web Services account ID of the member account to retrieve information on.
- Return type:
dict
- Returns:
Response Syntax
{ '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
(dict) –
member (dict) –
Details of the retrieved member account.
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.
Exceptions