AuditManager / Client / register_account

register_account#

AuditManager.Client.register_account(**kwargs)#

Enables Audit Manager for the specified Amazon Web Services account.

See also: AWS API Documentation

Request Syntax

response = client.register_account(
    kmsKey='string',
    delegatedAdminAccount='string'
)
Parameters:
  • kmsKey (string) – The KMS key details.

  • delegatedAdminAccount (string) – The delegated administrator account for Audit Manager.

Return type:

dict

Returns:

Response Syntax

{
    'status': 'ACTIVE'|'INACTIVE'|'PENDING_ACTIVATION'
}

Response Structure

  • (dict) –

    • status (string) –

      The status of the account registration request.

Exceptions

  • AuditManager.Client.exceptions.ValidationException

  • AuditManager.Client.exceptions.AccessDeniedException

  • AuditManager.Client.exceptions.InternalServerException

  • AuditManager.Client.exceptions.ResourceNotFoundException

  • AuditManager.Client.exceptions.ThrottlingException