You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTSiteWise::Types::CreateAssetRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTSiteWise::Types::CreateAssetRequest
- Defined in:
- (unknown)
Overview
When passing CreateAssetRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
asset_name: "Name", # required
asset_model_id: "ID", # required
client_token: "ClientToken",
tags: {
"TagKey" => "TagValue",
},
}
Instance Attribute Summary collapse
-
#asset_model_id ⇒ String
The ID of the asset model from which to create the asset.
-
#asset_name ⇒ String
A unique, friendly name for the asset.
-
#client_token ⇒ String
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
-
#tags ⇒ Hash<String,String>
A list of key-value pairs that contain metadata for the asset.
Instance Attribute Details
#asset_model_id ⇒ String
The ID of the asset model from which to create the asset.
#asset_name ⇒ String
A unique, friendly name for the asset.
#client_token ⇒ String
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don\'t reuse this client token if a new idempotent request is required.
#tags ⇒ Hash<String,String>
A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.