Inspector2 / Client / associate_member

associate_member#

Inspector2.Client.associate_member(**kwargs)#

Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.

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

  • Inspector2.Client.exceptions.ValidationException

  • Inspector2.Client.exceptions.AccessDeniedException

  • Inspector2.Client.exceptions.ThrottlingException

  • Inspector2.Client.exceptions.InternalServerException