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"],
  override_dynamic_groups: false,
}

Constant Summary collapse

SENSITIVE =
[]

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)


20071
20072
20073
20074
20075
20076
20077
20078
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 20071

class UpdateThingGroupsForThingRequest < Struct.new(
  :thing_name,
  :thing_groups_to_add,
  :thing_groups_to_remove,
  :override_dynamic_groups)
  SENSITIVE = []
  include Aws::Structure
end

#thing_groups_to_addArray<String>

The groups to which the thing will be added.

Returns:

  • (Array<String>)


20071
20072
20073
20074
20075
20076
20077
20078
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 20071

class UpdateThingGroupsForThingRequest < Struct.new(
  :thing_name,
  :thing_groups_to_add,
  :thing_groups_to_remove,
  :override_dynamic_groups)
  SENSITIVE = []
  include Aws::Structure
end

#thing_groups_to_removeArray<String>

The groups from which the thing will be removed.

Returns:

  • (Array<String>)


20071
20072
20073
20074
20075
20076
20077
20078
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 20071

class UpdateThingGroupsForThingRequest < Struct.new(
  :thing_name,
  :thing_groups_to_add,
  :thing_groups_to_remove,
  :override_dynamic_groups)
  SENSITIVE = []
  include Aws::Structure
end

#thing_nameString

The thing whose group memberships will be updated.

Returns:

  • (String)


20071
20072
20073
20074
20075
20076
20077
20078
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 20071

class UpdateThingGroupsForThingRequest < Struct.new(
  :thing_name,
  :thing_groups_to_add,
  :thing_groups_to_remove,
  :override_dynamic_groups)
  SENSITIVE = []
  include Aws::Structure
end