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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#override_dynamic_groupsBoolean

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.

Returns:

  • (Boolean)

    Override dynamic thing groups with static thing groups when 10-group limit is reached.

#thing_groups_to_addArray<String>

The groups to which the thing will be added.

Returns:

  • (Array<String>)

    The groups to which the thing will be added.

#thing_groups_to_removeArray<String>

The groups from which the thing will be removed.

Returns:

  • (Array<String>)

    The groups from which the thing will be removed.

#thing_nameString

The thing whose group memberships will be updated.

Returns:

  • (String)

    The thing whose group memberships will be updated.