:doc:`ApplicationInsights <../../application-insights>` / Client / update_component_configuration

******************************
update_component_configuration
******************************



.. py:method:: ApplicationInsights.Client.update_component_configuration(**kwargs)

  

  Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by ``DescribeComponentConfigurationRecommendation``.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentConfiguration>`_  


  **Request Syntax**
  ::

    response = client.update_component_configuration(
        ResourceGroupName='string',
        ComponentName='string',
        Monitor=True|False,
        Tier='CUSTOM'|'DEFAULT'|'DOT_NET_CORE'|'DOT_NET_WORKER'|'DOT_NET_WEB_TIER'|'DOT_NET_WEB'|'SQL_SERVER'|'SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP'|'MYSQL'|'POSTGRESQL'|'JAVA_JMX'|'ORACLE'|'SAP_HANA_MULTI_NODE'|'SAP_HANA_SINGLE_NODE'|'SAP_HANA_HIGH_AVAILABILITY'|'SAP_ASE_SINGLE_NODE'|'SAP_ASE_HIGH_AVAILABILITY'|'SQL_SERVER_FAILOVER_CLUSTER_INSTANCE'|'SHAREPOINT'|'ACTIVE_DIRECTORY'|'SAP_NETWEAVER_STANDARD'|'SAP_NETWEAVER_DISTRIBUTED'|'SAP_NETWEAVER_HIGH_AVAILABILITY',
        ComponentConfiguration='string',
        AutoConfigEnabled=True|False
    )
    
  :type ResourceGroupName: string
  :param ResourceGroupName: **[REQUIRED]** 

    The name of the resource group.

    

  
  :type ComponentName: string
  :param ComponentName: **[REQUIRED]** 

    The name of the component.

    

  
  :type Monitor: boolean
  :param Monitor: 

    Indicates whether the application component is monitored.

    

  
  :type Tier: string
  :param Tier: 

    The tier of the application component.

    

  
  :type ComponentConfiguration: string
  :param ComponentConfiguration: 

    The configuration settings of the component. The value is the escaped JSON of the configuration. For more information about the JSON format, see `Working with JSON <https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/working-with-json.html>`__. You can send a request to ``DescribeComponentConfigurationRecommendation`` to see the recommended configuration for a component. For the complete format of the component configuration file, see `Component Configuration <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/component-config.html>`__.

    

  
  :type AutoConfigEnabled: boolean
  :param AutoConfigEnabled: 

    Automatically configures the component by applying the recommended configurations.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`ApplicationInsights.Client.exceptions.ResourceNotFoundException`

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

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

  
  *   :py:class:`ApplicationInsights.Client.exceptions.ResourceInUseException`

  