Inspector2 / Client / disable_delegated_admin_account

disable_delegated_admin_account#

Inspector2.Client.disable_delegated_admin_account(**kwargs)#

Disables the Amazon Inspector delegated administrator for your organization.

See also: AWS API Documentation

Request Syntax

response = client.disable_delegated_admin_account(
    delegatedAdminAccountId='string'
)
Parameters:

delegatedAdminAccountId (string) –

[REQUIRED]

The Amazon Web Services account ID of the current Amazon Inspector delegated administrator.

Return type:

dict

Returns:

Response Syntax

{
    'delegatedAdminAccountId': 'string'
}

Response Structure

  • (dict) –

    • delegatedAdminAccountId (string) –

      The Amazon Web Services account ID of the successfully disabled delegated administrator.

Exceptions

  • Inspector2.Client.exceptions.ConflictException

  • Inspector2.Client.exceptions.ValidationException

  • Inspector2.Client.exceptions.AccessDeniedException

  • Inspector2.Client.exceptions.ResourceNotFoundException

  • Inspector2.Client.exceptions.ThrottlingException

  • Inspector2.Client.exceptions.InternalServerException