AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateAsset operation. Creates an asset from an existing asset model. For more information, see Creating assets in the IoT SiteWise User Guide.
Namespace: Amazon.IoTSiteWise.Model
Assembly: AWSSDK.IoTSiteWise.dll
Version: 3.x.y.z
public class CreateAssetRequest : AmazonIoTSiteWiseRequest IAmazonWebServiceRequest
The CreateAssetRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
CreateAssetRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
AssetDescription | System.String |
Gets and sets the property AssetDescription. A description for the asset. |
|
AssetExternalId | System.String |
Gets and sets the property AssetExternalId. An external ID to assign to the asset. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide. |
|
AssetId | System.String |
Gets and sets the property AssetId. The ID to assign to the asset, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. |
|
AssetModelId | System.String |
Gets and sets the property AssetModelId.
The ID of the asset model from which to create the asset. This can be either the actual
ID in UUID format, or else |
|
AssetName | System.String |
Gets and sets the property AssetName. A friendly name for the asset. |
|
ClientToken | System.String |
Gets and sets the property ClientToken. 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 | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Tags. A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5