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,
    },
  },
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#parent_group_nameString

The name of the parent thing group.

Returns:

  • (String)


4889
4890
4891
4892
4893
4894
4895
4896
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 4889

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

#tagsArray<Types::Tag>

Metadata which can be used to manage the thing group.

Returns:



4889
4890
4891
4892
4893
4894
4895
4896
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 4889

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

#thing_group_nameString

The thing group name to create.

Returns:

  • (String)


4889
4890
4891
4892
4893
4894
4895
4896
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 4889

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

#thing_group_propertiesTypes::ThingGroupProperties

The thing group properties.



4889
4890
4891
4892
4893
4894
4895
4896
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 4889

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