Skip to main content

interface_relationships

Creates, updates, deletes, gets or lists an interface_relationships resource.

Overview

Nameinterface_relationships
TypeResource
Idaws.iotsitewise.interface_relationships

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the asset model that has the interface applied to it. (pattern: <code>^(?!00000000-0000-0000-0000-000000000000)[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_interface_relationshipsselectinterface_asset_model_id, regionnextToken, maxResultsRetrieves a paginated list of asset models that have a specific interface asset model applied to them.

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
interface_asset_model_idstringThe ID of the interface asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return for each paginated request. Default: 50
nextTokenstringThe token to be used for the next set of paginated results.

SELECT examples

Retrieves a paginated list of asset models that have a specific interface asset model applied to them.

SELECT
id
FROM aws.iotsitewise.interface_relationships
WHERE interface_asset_model_id = '{{ interface_asset_model_id }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;