get_member

Macie2.Client.get_member(**kwargs)

Retrieves information about an account that's associated with an Amazon Macie administrator account.

See also: AWS API Documentation

Request Syntax

response = client.get_member(
    id='string'
)
Parameters
id (string) --

[REQUIRED]

The unique identifier for the Amazon Macie resource that the request applies to.

Return type
dict
Returns
Response Syntax
{
    'accountId': 'string',
    'administratorAccountId': 'string',
    'arn': 'string',
    'email': 'string',
    'invitedAt': datetime(2015, 1, 1),
    'masterAccountId': 'string',
    'relationshipStatus': 'Enabled'|'Paused'|'Invited'|'Created'|'Removed'|'Resigned'|'EmailVerificationInProgress'|'EmailVerificationFailed'|'RegionDisabled'|'AccountSuspended',
    'tags': {
        'string': 'string'
    },
    'updatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    The request succeeded.

    • accountId (string) --

      The Amazon Web Services account ID for the account.

    • administratorAccountId (string) --

      The Amazon Web Services account ID for the administrator account.

    • arn (string) --

      The Amazon Resource Name (ARN) of the account.

    • email (string) --

      The email address for the account. This value is null if the account is associated with the administrator account through Organizations.

    • invitedAt (datetime) --

      The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie membership invitation hasn't been sent to the account.

    • masterAccountId (string) --

      (Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

    • relationshipStatus (string) --

      The current status of the relationship between the account and the administrator account.

    • tags (dict) --

      A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.

      • (string) --
        • (string) --
    • updatedAt (datetime) --

      The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and 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