Inspector2 / Client / associate_member

associate_member#

Inspector2.Client.associate_member(**kwargs)#

Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was started but doesn’t indicate whether it completed. You can check if the association completed using ListMembers for multiple accounts or GetMembers for a single account. An HTTP 402 response indicates the association failed because the organization size exceeded its limit. For information on limits, see Amazon Inspector quotas.

See also: AWS API Documentation

Request Syntax

response = client.associate_member(
    accountId='string'
)
Parameters:

accountId (string) –

[REQUIRED]

The Amazon Web Services account ID of the member account to be associated.

Return type:

dict

Returns:

Response Syntax

{
    'accountId': 'string'
}

Response Structure

  • (dict) –

    • accountId (string) –

      The Amazon Web Services account ID of the successfully associated member account.

Exceptions