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

Class: Aws::IoT::Types::UpdateThingGroupsForThingRequest

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

{
  thing_name: "ThingName",
  thing_groups_to_add: ["ThingGroupName"],
  thing_groups_to_remove: ["ThingGroupName"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#thing_groups_to_addArray<String>

The groups to which the thing will be added.

Returns:

  • (Array<String>)


7775
7776
7777
7778
7779
7780
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7775

class UpdateThingGroupsForThingRequest < Struct.new(
  :thing_name,
  :thing_groups_to_add,
  :thing_groups_to_remove)
  include Aws::Structure
end

#thing_groups_to_removeArray<String>

The groups from which the thing will be removed.

Returns:

  • (Array<String>)


7775
7776
7777
7778
7779
7780
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7775

class UpdateThingGroupsForThingRequest < Struct.new(
  :thing_name,
  :thing_groups_to_add,
  :thing_groups_to_remove)
  include Aws::Structure
end

#thing_nameString

The thing whose group memberships will be updated.

Returns:

  • (String)


7775
7776
7777
7778
7779
7780
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7775

class UpdateThingGroupsForThingRequest < Struct.new(
  :thing_name,
  :thing_groups_to_add,
  :thing_groups_to_remove)
  include Aws::Structure
end