/AWS1/CL_IOT=>ADDTHINGTOTHINGGROUP()
¶
About AddThingToThingGroup¶
Adds a thing to a thing group.
Requires permission to access the AddThingToThingGroup action.
Method Signature¶
IMPORTING¶
Optional arguments:¶
iv_thinggroupname
TYPE /AWS1/IOTTHINGGROUPNAME
/AWS1/IOTTHINGGROUPNAME
¶
The name of the group to which you are adding a thing.
iv_thinggrouparn
TYPE /AWS1/IOTTHINGGROUPARN
/AWS1/IOTTHINGGROUPARN
¶
The ARN of the group to which you are adding a thing.
iv_thingname
TYPE /AWS1/IOTTHINGNAME
/AWS1/IOTTHINGNAME
¶
The name of the thing to add to a group.
iv_thingarn
TYPE /AWS1/IOTTHINGARN
/AWS1/IOTTHINGARN
¶
The ARN of the thing to add to a group.
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_iotaddthgtothggrprsp
/AWS1/CL_IOTADDTHGTOTHGGRPRSP
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_iot~addthingtothinggroup(
iv_overridedynamicgroups = ABAP_TRUE
iv_thingarn = |string|
iv_thinggrouparn = |string|
iv_thinggroupname = |string|
iv_thingname = |string|
).
This is an example of reading all possible response values