Macie2.Client.
get_administrator_account
()¶Retrieves information about the Amazon Macie administrator account for an account.
See also: AWS API Documentation
Request Syntax
response = client.get_administrator_account()
{
'administrator': {
'accountId': 'string',
'invitationId': 'string',
'invitedAt': datetime(2015, 1, 1),
'relationshipStatus': 'Enabled'|'Paused'|'Invited'|'Created'|'Removed'|'Resigned'|'EmailVerificationInProgress'|'EmailVerificationFailed'|'RegionDisabled'|'AccountSuspended'
}
}
Response Structure
The Amazon Web Services account ID for the administrator account. If the accounts are associated by an Amazon Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.
The Amazon Web Services account ID for the account that sent the invitation.
The unique identifier for the invitation.
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
The status of the relationship between the account that sent the invitation and the account that received the invitation.
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