Inspector2 / Client / enable_delegated_admin_account
enable_delegated_admin_account#
- Inspector2.Client.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