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'
}
)
[REQUIRED]
The details of the account to associate with the administrator account.
The Amazon Web Services account ID for the account.
The email address for the account.
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.
dict
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
Macie2.Client.exceptions.ValidationException
Macie2.Client.exceptions.InternalServerException
Macie2.Client.exceptions.ServiceQuotaExceededException
Macie2.Client.exceptions.AccessDeniedException
Macie2.Client.exceptions.ResourceNotFoundException
Macie2.Client.exceptions.ThrottlingException
Macie2.Client.exceptions.ConflictException