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.

get_delegated_admin_account

get_delegated_admin_account()

Retrieves information about the Amazon Inspector delegated administrator for your organization.

See also: AWS API Documentation

Request Syntax

response = client.get_delegated_admin_account()
Return type
dict
Returns
Response Syntax
{
    'delegatedAdmin': {
        'accountId': 'string',
        'relationshipStatus': 'CREATED'|'INVITED'|'DISABLED'|'ENABLED'|'REMOVED'|'RESIGNED'|'DELETED'|'EMAIL_VERIFICATION_IN_PROGRESS'|'EMAIL_VERIFICATION_FAILED'|'REGION_DISABLED'|'ACCOUNT_SUSPENDED'|'CANNOT_CREATE_DETECTOR_IN_ORG_MASTER'
    }
}

Response Structure

  • (dict) --
    • delegatedAdmin (dict) --

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

      • accountId (string) --

        The Amazon Web Services account ID of the Amazon Inspector delegated administrator for your organization.

      • relationshipStatus (string) --

        The status of the Amazon Inspector delegated administrator.

Exceptions

  • Inspector2.Client.exceptions.AccessDeniedException
  • Inspector2.Client.exceptions.ValidationException
  • Inspector2.Client.exceptions.ResourceNotFoundException
  • Inspector2.Client.exceptions.ThrottlingException
  • Inspector2.Client.exceptions.InternalServerException