get_administrator_account
(**kwargs)¶Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
See also: AWS API Documentation
Request Syntax
response = client.get_administrator_account(
DetectorId='string'
)
[REQUIRED]
The unique ID of the detector of the GuardDuty member account.
{
'Administrator': {
'AccountId': 'string',
'InvitationId': 'string',
'RelationshipStatus': 'string',
'InvitedAt': 'string'
}
}
Response Structure
The administrator account details.
The ID of the account used as the administrator account.
The value that is used to validate the administrator account to the member account.
The status of the relationship between the administrator and member accounts.
The timestamp when the invitation was sent.
Exceptions
GuardDuty.Client.exceptions.BadRequestException
GuardDuty.Client.exceptions.InternalServerErrorException