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

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

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 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,
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#parent_group_nameString

The name of the parent thing group.

Returns:

  • (String)


1691
1692
1693
1694
1695
1696
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1691

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

#thing_group_nameString

The thing group name to create.

Returns:

  • (String)


1691
1692
1693
1694
1695
1696
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1691

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

#thing_group_propertiesTypes::ThingGroupProperties

The thing group properties.



1691
1692
1693
1694
1695
1696
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1691

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