/AWS1/IF_IOT=>REMOVETHINGFROMTHINGGROUP()¶
About RemoveThingFromThingGroup¶
Remove the specified thing from the specified group.
You must specify either a thingGroupArn or a
thingGroupName to identify the thing group and
either a thingArn or a thingName to
identify the thing to remove from the thing group.
Requires permission to access the RemoveThingFromThingGroup action.
Method Signature¶
METHODS /AWS1/IF_IOT~REMOVETHINGFROMTHINGGROUP
IMPORTING
!IV_THINGGROUPNAME TYPE /AWS1/IOTTHINGGROUPNAME OPTIONAL
!IV_THINGGROUPARN TYPE /AWS1/IOTTHINGGROUPARN OPTIONAL
!IV_THINGNAME TYPE /AWS1/IOTTHINGNAME OPTIONAL
!IV_THINGARN TYPE /AWS1/IOTTHINGARN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iotremthgfrmthggrprsp
RAISING
/AWS1/CX_IOTINTERNALFAILUREEX
/AWS1/CX_IOTINVALIDREQUESTEX
/AWS1/CX_IOTRESOURCENOTFOUNDEX
/AWS1/CX_IOTTHROTTLINGEX
/AWS1/CX_IOTCLIENTEXC
/AWS1/CX_IOTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_thinggroupname TYPE /AWS1/IOTTHINGGROUPNAME /AWS1/IOTTHINGGROUPNAME¶
The group name.
iv_thinggrouparn TYPE /AWS1/IOTTHINGGROUPARN /AWS1/IOTTHINGGROUPARN¶
The group ARN.
iv_thingname TYPE /AWS1/IOTTHINGNAME /AWS1/IOTTHINGNAME¶
The name of the thing to remove from the group.
iv_thingarn TYPE /AWS1/IOTTHINGARN /AWS1/IOTTHINGARN¶
The ARN of the thing to remove from the group.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_iotremthgfrmthggrprsp /AWS1/CL_IOTREMTHGFRMTHGGRPRSP¶
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->removethingfromthinggroup(
iv_thingarn = |string|
iv_thinggrouparn = |string|
iv_thinggroupname = |string|
iv_thingname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.