:doc:`Detective <../../detective>` / Client / update_organization_configuration

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



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

  

  Updates the configuration for the Organizations integration in the current Region. Can only be called by the Detective administrator account for the organization.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UpdateOrganizationConfiguration>`_  


  **Request Syntax**
  ::

    response = client.update_organization_configuration(
        GraphArn='string',
        AutoEnable=True|False
    )
    
  :type GraphArn: string
  :param GraphArn: **[REQUIRED]** 

    The ARN of the organization behavior graph.

    

  
  :type AutoEnable: boolean
  :param AutoEnable: 

    Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Detective.Client.exceptions.AccessDeniedException`

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

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

  
  *   :py:class:`Detective.Client.exceptions.TooManyRequestsException`

  