Skip to main content

asset_model

Gets an individual asset_model resource

Overview

Nameasset_model
TypeResource
Descriptionasset_model
Idawscc.iotsitewise.asset_model

Fields

NameDatatypeDescription
asset_model_idstringThe ID of the asset model.
asset_model_arnstringThe ARN of the asset model, which has the following format.
asset_model_namestringA unique, friendly name for the asset model.
asset_model_descriptionstringA description for the asset model.
asset_model_propertiesarrayThe property definitions of the asset model. You can specify up to 200 properties per asset model.
asset_model_composite_modelsarrayThe composite asset models that are part of this asset model. Composite asset models are asset models that contain specific properties.
asset_model_hierarchiesarrayThe hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. You can specify up to 10 hierarchies per asset model.
tagsarrayA list of key-value pairs that contain metadata for the asset model.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
asset_model_id,
asset_model_arn,
asset_model_name,
asset_model_description,
asset_model_properties,
asset_model_composite_models,
asset_model_hierarchies,
tags
FROM awscc.iotsitewise.asset_model
WHERE data__Identifier = '<AssetModelId>';

Permissions

To operate on the asset_model resource, the following permissions are required:

Read

iotsitewise:DescribeAssetModel,
iotsitewise:ListTagsForResource

Update

iotsitewise:DescribeAssetModel,
iotsitewise:ListTagsForResource,
iotsitewise:TagResource,
iotsitewise:UntagResource,
iotsitewise:UpdateAssetModel

Delete

iotsitewise:DescribeAssetModel,
iotsitewise:DeleteAssetModel