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

Class: Aws::IoT::Types::CreateThingTypeRequest

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

{
  thing_type_name: "ThingTypeName", # required
  thing_type_properties: {
    thing_type_description: "ThingTypeDescription",
    searchable_attributes: ["AttributeName"],
  },
}

The input for the CreateThingType operation.

Instance Attribute Summary collapse

Instance Attribute Details

#thing_type_nameString

The name of the thing type.

Returns:

  • (String)


1392
1393
1394
1395
1396
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1392

class CreateThingTypeRequest < Struct.new(
  :thing_type_name,
  :thing_type_properties)
  include Aws::Structure
end

#thing_type_propertiesTypes::ThingTypeProperties

The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names.



1392
1393
1394
1395
1396
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1392

class CreateThingTypeRequest < Struct.new(
  :thing_type_name,
  :thing_type_properties)
  include Aws::Structure
end