You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IoTDataPlane::Types::UpdateThingShadowRequest

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

Overview

Note:

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

{
  thing_name: "ThingName", # required
  payload: "data", # required
}

The input for the UpdateThingShadow operation.

Instance Attribute Summary collapse

Instance Attribute Details

#payloadString

The state information, in JSON format.

Returns:

  • (String)


117
118
119
120
121
# File 'gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/types.rb', line 117

class UpdateThingShadowRequest < Struct.new(
  :thing_name,
  :payload)
  include Aws::Structure
end

#thing_nameString

The name of the thing.

Returns:

  • (String)


117
118
119
120
121
# File 'gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/types.rb', line 117

class UpdateThingShadowRequest < Struct.new(
  :thing_name,
  :payload)
  include Aws::Structure
end