You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::DeleteThingRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::DeleteThingRequest
- Defined in:
- (unknown)
Overview
Note:
When passing DeleteThingRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
thing_name: "ThingName", # required
expected_version: 1,
}
The input for the DeleteThing operation.
Instance Attribute Summary collapse
-
#expected_version ⇒ Integer
The expected version of the thing record in the registry.
-
#thing_name ⇒ String
The name of the thing to delete.
Instance Attribute Details
#expected_version ⇒ Integer
The 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 DeleteThing
request is rejected with a
VersionConflictException
.
#thing_name ⇒ String
The name of the thing to delete.