Class: Aws::IoT::Types::UpdateThingGroupRequest

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

{
  thing_group_name: "ThingGroupName", # required
  thing_group_properties: { # required
    thing_group_description: "ThingGroupDescription",
    attribute_payload: {
      attributes: {
        "AttributeName" => "AttributeValue",
      },
      merge: false,
    },
  },
  expected_version: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#expected_versionInteger

The expected version of the thing group. If this does not match the version of the thing group being updated, the update will fail.

Returns:

  • (Integer)


20024
20025
20026
20027
20028
20029
20030
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 20024

class UpdateThingGroupRequest < Struct.new(
  :thing_group_name,
  :thing_group_properties,
  :expected_version)
  SENSITIVE = []
  include Aws::Structure
end

#thing_group_nameString

The thing group to update.

Returns:

  • (String)


20024
20025
20026
20027
20028
20029
20030
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 20024

class UpdateThingGroupRequest < Struct.new(
  :thing_group_name,
  :thing_group_properties,
  :expected_version)
  SENSITIVE = []
  include Aws::Structure
end

#thing_group_propertiesTypes::ThingGroupProperties

The thing group properties.



20024
20025
20026
20027
20028
20029
20030
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 20024

class UpdateThingGroupRequest < Struct.new(
  :thing_group_name,
  :thing_group_properties,
  :expected_version)
  SENSITIVE = []
  include Aws::Structure
end