Class: Aws::IoTSiteWise::Types::UpdateAssetRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb

Overview

Note:

When making an API call, you may pass UpdateAssetRequest data as a hash:

{
  asset_id: "ID", # required
  asset_name: "Name", # required
  client_token: "ClientToken",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#asset_idString

The ID of the asset to update.

Returns:

  • (String)


5082
5083
5084
5085
5086
5087
5088
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5082

class UpdateAssetRequest < Struct.new(
  :asset_id,
  :asset_name,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#asset_nameString

A unique, friendly name for the asset.

Returns:

  • (String)


5082
5083
5084
5085
5086
5087
5088
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5082

class UpdateAssetRequest < Struct.new(
  :asset_id,
  :asset_name,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

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

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


5082
5083
5084
5085
5086
5087
5088
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5082

class UpdateAssetRequest < Struct.new(
  :asset_id,
  :asset_name,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end