asset
Gets an individual asset
resource
Overview
Name | asset |
Type | Resource |
Description | asset |
Id | awscc.iotsitewise.asset |
Fields
Name | Datatype | Description |
---|---|---|
asset_id | string | The ID of the asset |
asset_model_id | string | The ID of the asset model from which to create the asset. |
asset_arn | string | The ARN of the asset |
asset_name | string | A unique, friendly name for the asset. |
asset_description | string | A description for the asset |
asset_properties | array | |
asset_hierarchies | array | |
tags | array | A list of key-value pairs that contain metadata for the asset. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
asset_id,
asset_model_id,
asset_arn,
asset_name,
asset_description,
asset_properties,
asset_hierarchies,
tags
FROM awscc.iotsitewise.asset
WHERE data__Identifier = '<AssetId>';
Permissions
To operate on the asset
resource, the following permissions are required:
Read
iotsitewise:DescribeAsset,
iotsitewise:DescribeAssetModel,
iotsitewise:ListAssociatedAssets,
iotsitewise:ListTagsForResource
Update
iotsitewise:AssociateAssets,
iotsitewise:DescribeAsset,
iotsitewise:DescribeAssetModel,
iotsitewise:DisassociateAssets,
iotsitewise:ListAssociatedAssets,
iotsitewise:ListTagsForResource,
iotsitewise:TagResource,
iotsitewise:UpdateAsset,
iotsitewise:UpdateAssetProperty,
iotsitewise:UntagResource
Delete
iotsitewise:DeleteAsset,
iotsitewise:DescribeAsset,
iotsitewise:DescribeAssetModel,
iotsitewise:DisassociateAssets,
iotsitewise:ListAssociatedAssets,
iotsitewise:ListTagsForResource