Macie2 / Client / create_member

create_member#

Macie2.Client.create_member(**kwargs)#

Associates an account with an Amazon Macie administrator account.

See also: AWS API Documentation

Request Syntax

response = client.create_member(
    account={
        'accountId': 'string',
        'email': 'string'
    },
    tags={
        'string': 'string'
    }
)
Parameters:
  • account (dict) –

    [REQUIRED]

    The details of the account to associate with the administrator account.

    • accountId (string) – [REQUIRED]

      The Amazon Web Services account ID for the account.

    • email (string) – [REQUIRED]

      The email address for the account.

  • tags (dict) –

    A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.

    An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string'
}

Response Structure

  • (dict) –

    The request succeeded.

    • arn (string) –

      The Amazon Resource Name (ARN) of the account that was associated with the administrator account.

Exceptions