Detective.Client.
list_organization_admin_accounts
(**kwargs)¶Returns information about the Detective administrator account for an organization. Can only be called by the organization management account.
See also: AWS API Documentation
Request Syntax
response = client.list_organization_admin_accounts(
NextToken='string',
MaxResults=123
)
dict
Response Syntax
{
'Administrators': [
{
'AccountId': 'string',
'GraphArn': 'string',
'DelegationTime': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Administrators (list) --
The list of Detective administrator accounts.
(dict) --
Information about the Detective administrator account for an organization.
AccountId (string) --
The Amazon Web Services account identifier of the Detective administrator account for the organization.
GraphArn (string) --
The ARN of the organization behavior graph.
DelegationTime (datetime) --
The date and time when the Detective administrator account was enabled. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
NextToken (string) --
If there are more accounts remaining in the results, then this is the pagination token to use to request the next page of accounts.
Exceptions
Detective.Client.exceptions.AccessDeniedException
Detective.Client.exceptions.InternalServerException
Detective.Client.exceptions.ValidationException
Detective.Client.exceptions.TooManyRequestsException