AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IoTSiteWise.AmazonIoTSiteWiseRequest
      Amazon.IoTSiteWise.Model.CreateAssetRequest

Namespace: Amazon.IoTSiteWise.Model
Assembly: AWSSDK.IoTSiteWise.dll
Version: 3.x.y.z

Syntax

C#
public class CreateAssetRequest : AmazonIoTSiteWiseRequest
         IAmazonWebServiceRequest

The CreateAssetRequest type exposes the following members

Constructors

NameDescription
Public Method CreateAssetRequest()

Properties

NameTypeDescription
Public Property AssetDescription System.String

Gets and sets the property AssetDescription.

A description for the asset.

Public Property 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.

Public Property 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.

Public Property 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 externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.

Public Property AssetName System.String

Gets and sets the property AssetName.

A friendly name for the asset.

Public Property 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.

Public Property 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.

Version Information

.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