You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::UpdateThingGroupsForThingRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::UpdateThingGroupsForThingRequest
- Defined in:
- (unknown)
Overview
When passing UpdateThingGroupsForThingRequest as input to an Aws::Client method, you can use a vanilla 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.
#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.