You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::UpdateThingRequestWhen passing UpdateThingRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
thing_name: "ThingName", thing_type_name: "ThingTypeName",
attribute_payload: {
attributes: {
"AttributeName" => "AttributeValue",
},
merge: false,
},
expected_version: 1,
remove_thing_type: false,
}
The input for the UpdateThing operation.
Instance Attribute Summary collapseA list of thing attributes, a JSON string containing name-value pairs.
The expected version of the thing record in the registry.
Remove a thing type association.
The name of the thing to update.
The name of the thing type.
A list of thing attributes, a JSON string containing name-value pairs. For example:
`{\"attributes\":{\"name1\":\"value2\"}}`
This data is used to add new attributes or update existing attributes.
#expected_version ⇒ IntegerThe expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the UpdateThing
request is rejected with a VersionConflictException
.
Remove a thing type association. If true, the association is removed.
#thing_name ⇒ StringThe name of the thing to update.
You can\'t change a thing\'s name. To change a thing\'s name, you must create a new thing, give it the new name, and then delete the old thing.
#thing_type_name ⇒ StringThe name of the thing type.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4