asset_model
Gets an individual asset_model
resource
Overview
Name | asset_model |
Type | Resource |
Description | asset_model |
Id | awscc.iotsitewise.asset_model |
Fields
Name | Datatype | Description |
---|---|---|
asset_model_id | string | The ID of the asset model. |
asset_model_arn | string | The ARN of the asset model, which has the following format. |
asset_model_name | string | A unique, friendly name for the asset model. |
asset_model_description | string | A description for the asset model. |
asset_model_properties | array | The property definitions of the asset model. You can specify up to 200 properties per asset model. |
asset_model_composite_models | array | The composite asset models that are part of this asset model. Composite asset models are asset models that contain specific properties. |
asset_model_hierarchies | array | The 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. |
tags | array | A list of key-value pairs that contain metadata for the asset model. |
region | string | AWS 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