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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#asset_model_idString

The ID of the asset model from which to create the asset.

Returns:

  • (String)

    The ID of the asset model from which to create the asset.

#asset_nameString

A unique, friendly name for the asset.

Returns:

  • (String)

    A unique, friendly name for the asset.

#client_tokenString

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.

Returns:

  • (String)

    A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.

#tagsHash<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.

Returns:

  • (Hash<String,String>)

    A list of key-value pairs that contain metadata for the asset.