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

***********************************
describe_organization_configuration
***********************************



.. py:method:: Macie2.Client.describe_organization_configuration()

  

  Retrieves 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/DescribeOrganizationConfiguration>`_  


  **Request Syntax**
  ::

    response = client.describe_organization_configuration()
    
    
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'autoEnable': True|False,
          'maxAccountLimitReached': True|False
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The request succeeded.

      
      

      - **autoEnable** *(boolean) --* 

        Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization.

        
      

      - **maxAccountLimitReached** *(boolean) --* 

        Specifies whether the maximum number of Amazon Macie member accounts are part of the organization.

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

  