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

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

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)


8072
8073
8074
8075
8076
8077
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 8072

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)


8072
8073
8074
8075
8076
8077
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 8072

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

#thing_group_propertiesTypes::ThingGroupProperties

The thing group properties.



8072
8073
8074
8075
8076
8077
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 8072

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