Macie2 / Client / disable_organization_admin_account

disable_organization_admin_account#

Macie2.Client.disable_organization_admin_account(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.disable_organization_admin_account(
    adminAccountId='string'
)
Parameters:

adminAccountId (string) –

[REQUIRED]

The Amazon Web Services account ID of the delegated Amazon Macie administrator account.

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