:doc:`Macie2 <../../macie2>` / Client / enable_organization_admin_account

*********************************
enable_organization_admin_account
*********************************



.. py:method:: Macie2.Client.enable_organization_admin_account(**kwargs)

  

  Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccount>`_  


  **Request Syntax**
  ::

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

    The Amazon Web Services account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.

    

  
  :type clientToken: string
  :param clientToken: 

    A unique, case-sensitive token that you provide to ensure the idempotency of the request.

    This field is autopopulated if not provided.

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      The request succeeded and there isn't any content to include in the body of the response (No Content).

      
  
  **Exceptions**
  
  *   :py:class:`Macie2.Client.exceptions.ValidationException`

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

  
  *   :py:class:`Macie2.Client.exceptions.ServiceQuotaExceededException`

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

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

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

  
  *   :py:class:`Macie2.Client.exceptions.ConflictException`

  