:doc:`IoTTwinMaker <../../iottwinmaker>` / Client / delete_component_type

*********************
delete_component_type
*********************



.. py:method:: IoTTwinMaker.Client.delete_component_type(**kwargs)

  

  Deletes a component type.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/DeleteComponentType>`_  


  **Request Syntax**
  ::

    response = client.delete_component_type(
        workspaceId='string',
        componentTypeId='string'
    )
    
  :type workspaceId: string
  :param workspaceId: **[REQUIRED]** 

    The ID of the workspace that contains the component type.

    

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

    The ID of the component type to delete.

    

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

    
    ::

      {
          'state': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'ERROR'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **state** *(string) --* 

        The current state of the component type to be deleted.

        
  
  **Exceptions**
  
  *   :py:class:`IoTTwinMaker.Client.exceptions.InternalServerException`

  
  *   :py:class:`IoTTwinMaker.Client.exceptions.AccessDeniedException`

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

  
  *   :py:class:`IoTTwinMaker.Client.exceptions.ThrottlingException`

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

  