AuditManager / Client / get_organization_admin_account

get_organization_admin_account#

AuditManager.Client.get_organization_admin_account()#

Returns the name of the delegated Amazon Web Services administrator account for the organization.

See also: AWS API Documentation

Request Syntax

response = client.get_organization_admin_account()
Return type:

dict

Returns:

Response Syntax

{
    'adminAccountId': 'string',
    'organizationId': 'string'
}

Response Structure

  • (dict) –

    • adminAccountId (string) –

      The identifier for the administrator account.

    • organizationId (string) –

      The identifier for the organization.

Exceptions

  • AuditManager.Client.exceptions.ValidationException

  • AuditManager.Client.exceptions.AccessDeniedException

  • AuditManager.Client.exceptions.InternalServerException

  • AuditManager.Client.exceptions.ResourceNotFoundException