Class: Aws::IoT::Types::AttributePayload
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::AttributePayload
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iot/types.rb
Overview
Note:
When making an API call, you may pass AttributePayload data as a hash:
{
attributes: {
"AttributeName" => "AttributeValue",
},
merge: false,
}
The attribute payload.
Instance Attribute Summary collapse
-
#attributes ⇒ Hash<String,String>
A JSON string containing up to three key-value pair in JSON format.
-
#merge ⇒ Boolean
Specifies whether the list of attributes provided in the ‘AttributePayload` is merged with the attributes stored in the registry, instead of overwriting them.
Instance Attribute Details
#attributes ⇒ Hash<String,String>
A JSON string containing up to three key-value pair in JSON format. For example:
‘“attributes”:{“string1”:“string2”}`
631 632 633 634 635 |
# File 'lib/aws-sdk-iot/types.rb', line 631 class AttributePayload < Struct.new( :attributes, :merge) include Aws::Structure end |
#merge ⇒ Boolean
Specifies whether the list of attributes provided in the ‘AttributePayload` is merged with the attributes stored in the registry, instead of overwriting them.
To remove an attribute, call ‘UpdateThing` with an empty attribute value.
<note markdown=“1”> The ‘merge` attribute is only valid when calling `UpdateThing`.
</note>
631 632 633 634 635 |
# File 'lib/aws-sdk-iot/types.rb', line 631 class AttributePayload < Struct.new( :attributes, :merge) include Aws::Structure end |