Class: Aws::IoT::Types::CreateDynamicThingGroupRequest

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 CreateDynamicThingGroupRequest data as a hash:

{
  thing_group_name: "ThingGroupName", # required
  thing_group_properties: {
    thing_group_description: "ThingGroupDescription",
    attribute_payload: {
      attributes: {
        "AttributeName" => "AttributeValue",
      },
      merge: false,
    },
  },
  index_name: "IndexName",
  query_string: "QueryString", # required
  query_version: "QueryVersion",
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#index_nameString

The dynamic thing group index name.

<note markdown=“1”> Currently one index is supported: “AWS_Things”.

</note>


1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/aws-sdk-iot/types.rb', line 1855

class CreateDynamicThingGroupRequest < Struct.new(
  :thing_group_name,
  :thing_group_properties,
  :index_name,
  :query_string,
  :query_version,
  :tags)
  include Aws::Structure
end

#query_stringString

The dynamic thing group search query string.

See [Query Syntax] for information about query string syntax.

[1]: docs.aws.amazon.com/iot/latest/developerguide/query-syntax.html



1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/aws-sdk-iot/types.rb', line 1855

class CreateDynamicThingGroupRequest < Struct.new(
  :thing_group_name,
  :thing_group_properties,
  :index_name,
  :query_string,
  :query_version,
  :tags)
  include Aws::Structure
end

#query_versionString

The dynamic thing group query version.

<note markdown=“1”> Currently one query version is supported: “2017-09-30”. If not specified, the query version defaults to this value.

</note>


1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/aws-sdk-iot/types.rb', line 1855

class CreateDynamicThingGroupRequest < Struct.new(
  :thing_group_name,
  :thing_group_properties,
  :index_name,
  :query_string,
  :query_version,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Metadata which can be used to manage the dynamic thing group.



1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/aws-sdk-iot/types.rb', line 1855

class CreateDynamicThingGroupRequest < Struct.new(
  :thing_group_name,
  :thing_group_properties,
  :index_name,
  :query_string,
  :query_version,
  :tags)
  include Aws::Structure
end

#thing_group_nameString

The dynamic thing group name to create.



1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/aws-sdk-iot/types.rb', line 1855

class CreateDynamicThingGroupRequest < Struct.new(
  :thing_group_name,
  :thing_group_properties,
  :index_name,
  :query_string,
  :query_version,
  :tags)
  include Aws::Structure
end

#thing_group_propertiesTypes::ThingGroupProperties

The dynamic thing group properties.



1855
1856
1857
1858
1859
1860
1861
1862
1863
# File 'lib/aws-sdk-iot/types.rb', line 1855

class CreateDynamicThingGroupRequest < Struct.new(
  :thing_group_name,
  :thing_group_properties,
  :index_name,
  :query_string,
  :query_version,
  :tags)
  include Aws::Structure
end