:doc:`Inspector2 <../../inspector2>` / Client / enable_delegated_admin_account

******************************
enable_delegated_admin_account
******************************



.. py:method:: Inspector2.Client.enable_delegated_admin_account(**kwargs)

  

  Enables the Amazon Inspector delegated administrator for your Organizations organization.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EnableDelegatedAdminAccount>`_  


  **Request Syntax**
  ::

    response = client.enable_delegated_admin_account(
        delegatedAdminAccountId='string',
        clientToken='string'
    )
    
  :type delegatedAdminAccountId: string
  :param delegatedAdminAccountId: **[REQUIRED]** 

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

    

  
  :type clientToken: string
  :param clientToken: 

    The idempotency token for the request.

    This field is autopopulated if not provided.

  
  
  :rtype: 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**
  
  *   :py:class:`Inspector2.Client.exceptions.ConflictException`

  
  *   :py:class:`Inspector2.Client.exceptions.ValidationException`

  
  *   :py:class:`Inspector2.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Inspector2.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Inspector2.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Inspector2.Client.exceptions.InternalServerException`

  