Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

enable_delegated_admin_account

enable_delegated_admin_account(**kwargs)

Enables the Amazon Inspector delegated administrator for your Organizations organization.

See also: AWS API Documentation

Request Syntax

response = client.enable_delegated_admin_account(
    clientToken='string',
    delegatedAdminAccountId='string'
)
Parameters
  • clientToken (string) --

    The idempotency token for the request.

    This field is autopopulated if not provided.

  • delegatedAdminAccountId (string) --

    [REQUIRED]

    The Amazon Web Services account ID of the 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 Amazon Inspector 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