register_organization_admin_account

AuditManager.Client.register_organization_admin_account(**kwargs)

Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.

See also: AWS API Documentation

Request Syntax

response = client.register_organization_admin_account(
    adminAccountId='string'
)
Parameters
adminAccountId (string) --

[REQUIRED]

The identifier for the delegated administrator account.

Return type
dict
Returns
Response Syntax
{
    'adminAccountId': 'string',
    'organizationId': 'string'
}

Response Structure

  • (dict) --
    • adminAccountId (string) --

      The identifier for the delegated 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