Class: Aws::IoT::Types::UpdateThingGroupsForThingRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::UpdateThingGroupsForThingRequest
- Includes:
- Structure
- Defined in:
- 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"],
override_dynamic_groups: false,
}
Instance Attribute Summary collapse
-
#override_dynamic_groups ⇒ Boolean
Override dynamic thing groups with static thing groups when 10-group limit is reached.
-
#thing_groups_to_add ⇒ Array<String>
The groups to which the thing will be added.
-
#thing_groups_to_remove ⇒ Array<String>
The groups from which the thing will be removed.
-
#thing_name ⇒ String
The thing whose group memberships will be updated.
Instance Attribute Details
#override_dynamic_groups ⇒ Boolean
Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.
11479 11480 11481 11482 11483 11484 11485 |
# File 'lib/aws-sdk-iot/types.rb', line 11479 class UpdateThingGroupsForThingRequest < Struct.new( :thing_name, :thing_groups_to_add, :thing_groups_to_remove, :override_dynamic_groups) include Aws::Structure end |
#thing_groups_to_add ⇒ Array<String>
The groups to which the thing will be added.
11479 11480 11481 11482 11483 11484 11485 |
# File 'lib/aws-sdk-iot/types.rb', line 11479 class UpdateThingGroupsForThingRequest < Struct.new( :thing_name, :thing_groups_to_add, :thing_groups_to_remove, :override_dynamic_groups) include Aws::Structure end |
#thing_groups_to_remove ⇒ Array<String>
The groups from which the thing will be removed.
11479 11480 11481 11482 11483 11484 11485 |
# File 'lib/aws-sdk-iot/types.rb', line 11479 class UpdateThingGroupsForThingRequest < Struct.new( :thing_name, :thing_groups_to_add, :thing_groups_to_remove, :override_dynamic_groups) include Aws::Structure end |
#thing_name ⇒ String
The thing whose group memberships will be updated.
11479 11480 11481 11482 11483 11484 11485 |
# File 'lib/aws-sdk-iot/types.rb', line 11479 class UpdateThingGroupsForThingRequest < Struct.new( :thing_name, :thing_groups_to_add, :thing_groups_to_remove, :override_dynamic_groups) include Aws::Structure end |