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

****************
update_component
****************



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

  

  Updates the custom component name and/or the list of resources that make up the component.

  

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


  **Request Syntax**
  ::

    response = client.update_component(
        ResourceGroupName='string',
        ComponentName='string',
        NewComponentName='string',
        ResourceList=[
            'string',
        ]
    )
    
  :type ResourceGroupName: string
  :param ResourceGroupName: **[REQUIRED]** 

    The name of the resource group.

    

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

    The name of the component.

    

  
  :type NewComponentName: string
  :param NewComponentName: 

    The new name of the component.

    

  
  :type ResourceList: list
  :param ResourceList: 

    The list of resource ARNs that belong to the component.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

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

  