Skip to content

/AWS1/CL_IOT=>UPDATETHINGGROUPSFORTHING()

About UpdateThingGroupsForThing

Updates the groups to which the thing belongs.

Requires permission to access the UpdateThingGroupsForThing action.

Method Signature

IMPORTING

Optional arguments:

IV_THINGNAME TYPE /AWS1/IOTTHINGNAME /AWS1/IOTTHINGNAME

The thing whose group memberships will be updated.

IT_THINGGROUPSTOADD TYPE /AWS1/CL_IOTTHINGGROUPLIST_W=>TT_THINGGROUPLIST TT_THINGGROUPLIST

The groups to which the thing will be added.

IT_THINGGROUPSTOREMOVE TYPE /AWS1/CL_IOTTHINGGROUPLIST_W=>TT_THINGGROUPLIST TT_THINGGROUPLIST

The groups from which the thing will be removed.

IV_OVERRIDEDYNAMICGROUPS TYPE /AWS1/IOTOVERRIDEDYNAMICGROUPS /AWS1/IOTOVERRIDEDYNAMICGROUPS

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTUPTHGGRSFORTHGRSP /AWS1/CL_IOTUPTHGGRSFORTHGRSP