delete_component_type

IoTTwinMaker.Client.delete_component_type(**kwargs)

Deletes a component type.

See also: AWS API Documentation

Request Syntax

response = client.delete_component_type(
    workspaceId='string',
    componentTypeId='string'
)
Parameters
  • workspaceId (string) --

    [REQUIRED]

    The ID of the workspace that contains the component type.

  • componentTypeId (string) --

    [REQUIRED]

    The ID of the component type to delete.

Return type

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

  • IoTTwinMaker.Client.exceptions.InternalServerException
  • IoTTwinMaker.Client.exceptions.AccessDeniedException
  • IoTTwinMaker.Client.exceptions.ResourceNotFoundException
  • IoTTwinMaker.Client.exceptions.ThrottlingException
  • IoTTwinMaker.Client.exceptions.ValidationException