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

Class: Aws::IoT::Types::DeprecateThingTypeRequest

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 DeprecateThingTypeRequest data as a hash:

{
  thing_type_name: "ThingTypeName", # required
  undo_deprecate: false,
}

The input for the DeprecateThingType operation.

Instance Attribute Summary collapse

Instance Attribute Details

#thing_type_nameString

The name of the thing type to deprecate.

Returns:

  • (String)


1144
1145
1146
1147
1148
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1144

class DeprecateThingTypeRequest < Struct.new(
  :thing_type_name,
  :undo_deprecate)
  include Aws::Structure
end

#undo_deprecateBoolean

Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.

Returns:

  • (Boolean)


1144
1145
1146
1147
1148
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1144

class DeprecateThingTypeRequest < Struct.new(
  :thing_type_name,
  :undo_deprecate)
  include Aws::Structure
end