Detective / Client / list_organization_admin_accounts
list_organization_admin_accounts#
- 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 )
- Parameters:
NextToken (string) – For requests to get the next page of results, the pagination token that was returned with the previous set of results. The initial request does not include a pagination token.
MaxResults (integer) – The maximum number of results to return.
- Return type:
dict
- Returns:
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