Skip to main content

components

Creates, updates, deletes, gets or lists a components resource.

Overview

Namecomponents
TypeResource
Idaws.iottwinmaker.components

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
component_summariesarrayA list of objects that contain information about the components.
next_tokenstringThe string that specifies the next page of component results. (pattern: <code>.*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_componentsselectworkspace_id, entity_id, regionThis API lists the components of an entity.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
entity_idstringThe ID for the entity whose metadata (component/properties) is returned by the operation.
regionstringAWS region (default: us-east-1)
workspace_idstringThe workspace ID.

SELECT examples

This API lists the components of an entity.

SELECT
component_summaries,
next_token
FROM aws.iottwinmaker.components
WHERE workspace_id = '{{ workspace_id }}' -- required
AND entity_id = '{{ entity_id }}' -- required
AND region = '{{ region }}' -- required
;