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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateThingTypeRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  thing_type_name: "ThingTypeName", # required
  thing_type_properties: {
    thing_type_description: "ThingTypeDescription",
    searchable_attributes: ["AttributeName"],
  },
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue",
    },
  ],
}

The input for the CreateThingType operation.

Instance Attribute Summary collapse

Instance Attribute Details

#tagsArray<Types::Tag>

Metadata which can be used to manage the thing type.

Returns:

  • (Array<Types::Tag>)

    Metadata which can be used to manage the thing type.

#thing_type_nameString

The name of the thing type.

Returns:

  • (String)

    The name of the thing type.

#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.

Returns: