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

Class: Aws::IoT::Types::DeleteThingRequest

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

Overview

Note:

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

{
  thing_name: "ThingName", # required
  expected_version: 1,
}

The input for the DeleteThing operation.

Instance Attribute Summary collapse

Instance Attribute Details

#expected_versionInteger

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.

Returns:

  • (Integer)


1074
1075
1076
1077
1078
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1074

class DeleteThingRequest < Struct.new(
  :thing_name,
  :expected_version)
  include Aws::Structure
end

#thing_nameString

The name of the thing to delete.

Returns:

  • (String)


1074
1075
1076
1077
1078
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1074

class DeleteThingRequest < Struct.new(
  :thing_name,
  :expected_version)
  include Aws::Structure
end