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

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

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)


11434
11435
11436
11437
11438
11439
# File 'lib/aws-sdk-iot/types.rb', line 11434

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

#thing_group_nameString

The thing group to update.

Returns:

  • (String)


11434
11435
11436
11437
11438
11439
# File 'lib/aws-sdk-iot/types.rb', line 11434

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

#thing_group_propertiesTypes::ThingGroupProperties

The thing group properties.



11434
11435
11436
11437
11438
11439
# File 'lib/aws-sdk-iot/types.rb', line 11434

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