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

*********************************
update_organization_configuration
*********************************



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

  

  Updates the Amazon Macie configuration settings for an organization in Organizations.

  

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


  **Request Syntax**
  ::

    response = client.update_organization_configuration(
        autoEnable=True|False
    )
    
  :type autoEnable: boolean
  :param autoEnable: **[REQUIRED]** 

    Specifies whether to enable Amazon Macie automatically for accounts that are added to the organization in Organizations.

    

  
  
  :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`

  