Class: Aws::IoT::Types::CreateThingTypeRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::CreateThingTypeRequest
- Includes:
- Structure
- Defined in:
- 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"],
},
tags: [
{
key: "TagKey",
value: "TagValue",
},
],
}
The input for the CreateThingType operation.
Instance Attribute Summary collapse
-
#tags ⇒ Array<Types::Tag>
Metadata which can be used to manage the thing type.
-
#thing_type_name ⇒ String
The name of the thing type.
-
#thing_type_properties ⇒ Types::ThingTypeProperties
The ThingTypeProperties for the thing type to create.
Instance Attribute Details
#tags ⇒ Array<Types::Tag>
Metadata which can be used to manage the thing type.
2767 2768 2769 2770 2771 2772 |
# File 'lib/aws-sdk-iot/types.rb', line 2767 class CreateThingTypeRequest < Struct.new( :thing_type_name, :thing_type_properties, :tags) include Aws::Structure end |
#thing_type_name ⇒ String
The name of the thing type.
2767 2768 2769 2770 2771 2772 |
# File 'lib/aws-sdk-iot/types.rb', line 2767 class CreateThingTypeRequest < Struct.new( :thing_type_name, :thing_type_properties, :tags) include Aws::Structure end |
#thing_type_properties ⇒ Types::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.
2767 2768 2769 2770 2771 2772 |
# File 'lib/aws-sdk-iot/types.rb', line 2767 class CreateThingTypeRequest < Struct.new( :thing_type_name, :thing_type_properties, :tags) include Aws::Structure end |