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

****************
create_component
****************



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

  

  Creates a custom component by grouping similar standalone instances to monitor.

  

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


  **Request Syntax**
  ::

    response = client.create_component(
        ResourceGroupName='string',
        ComponentName='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 ResourceList: list
  :param ResourceList: **[REQUIRED]** 

    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`

  