Method: Aws::IoTTwinMaker::Client#delete_component_type

Defined in:
lib/aws-sdk-iottwinmaker/client.rb

#delete_component_type(params = {}) ⇒ Types::DeleteComponentTypeResponse

Deletes a component type.

Examples:

Request syntax with placeholder values


resp = client.delete_component_type({
  workspace_id: "Id", # required
  component_type_id: "ComponentTypeId", # required
})

Response structure


resp.state #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "ERROR"

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :workspace_id (required, String)

    The ID of the workspace that contains the component type.

  • :component_type_id (required, String)

    The ID of the component type to delete.

Returns:



1321
1322
1323
1324
# File 'lib/aws-sdk-iottwinmaker/client.rb', line 1321

def delete_component_type(params = {}, options = {})
  req = build_request(:delete_component_type, params)
  req.send_request(options)
end