Macie2 / Client / enable_organization_admin_account

enable_organization_admin_account#

Macie2.Client.enable_organization_admin_account(**kwargs)#

Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.

See also: AWS API Documentation

Request Syntax

response = client.enable_organization_admin_account(
    adminAccountId='string',
    clientToken='string'
)
Parameters:
  • adminAccountId (string) –

    [REQUIRED]

    The Amazon Web Services account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.

  • clientToken (string) –

    A unique, case-sensitive token that you provide to ensure the idempotency of the request.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    The request succeeded and there isn’t any content to include in the body of the response (No Content).

Exceptions

  • Macie2.Client.exceptions.ValidationException

  • Macie2.Client.exceptions.InternalServerException

  • Macie2.Client.exceptions.ServiceQuotaExceededException

  • Macie2.Client.exceptions.AccessDeniedException

  • Macie2.Client.exceptions.ResourceNotFoundException

  • Macie2.Client.exceptions.ThrottlingException

  • Macie2.Client.exceptions.ConflictException