Class: Aws::IoT::Types::CreateThingGroupRequest

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

Overview

Note:

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

{
  thing_group_name: "ThingGroupName", # required
  parent_group_name: "ThingGroupName",
  thing_group_properties: {
    thing_group_description: "ThingGroupDescription",
    attribute_payload: {
      attributes: {
        "AttributeName" => "AttributeValue",
      },
      merge: false,
    },
  },
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#parent_group_nameString

The name of the parent thing group.



2642
2643
2644
2645
2646
2647
2648
# File 'lib/aws-sdk-iot/types.rb', line 2642

class CreateThingGroupRequest < Struct.new(
  :thing_group_name,
  :parent_group_name,
  :thing_group_properties,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Metadata which can be used to manage the thing group.



2642
2643
2644
2645
2646
2647
2648
# File 'lib/aws-sdk-iot/types.rb', line 2642

class CreateThingGroupRequest < Struct.new(
  :thing_group_name,
  :parent_group_name,
  :thing_group_properties,
  :tags)
  include Aws::Structure
end

#thing_group_nameString

The thing group name to create.



2642
2643
2644
2645
2646
2647
2648
# File 'lib/aws-sdk-iot/types.rb', line 2642

class CreateThingGroupRequest < Struct.new(
  :thing_group_name,
  :parent_group_name,
  :thing_group_properties,
  :tags)
  include Aws::Structure
end

#thing_group_propertiesTypes::ThingGroupProperties

The thing group properties.



2642
2643
2644
2645
2646
2647
2648
# File 'lib/aws-sdk-iot/types.rb', line 2642

class CreateThingGroupRequest < Struct.new(
  :thing_group_name,
  :parent_group_name,
  :thing_group_properties,
  :tags)
  include Aws::Structure
end