/AWS1/IF_IOT=>UPDATEINDEXINGCONFIGURATION()¶
About UpdateIndexingConfiguration¶
Updates the search configuration.
Requires permission to access the UpdateIndexingConfiguration action.
Method Signature¶
METHODS /AWS1/IF_IOT~UPDATEINDEXINGCONFIGURATION
IMPORTING
!IO_THINGINDEXINGCONF TYPE REF TO /AWS1/CL_IOTTHINGINDEXINGCONF OPTIONAL
!IO_THINGGROUPINDEXINGCONF TYPE REF TO /AWS1/CL_IOTTHGGROUPIDXINGCONF OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iotupdindexingconfrsp
RAISING
/AWS1/CX_IOTINTERNALFAILUREEX
/AWS1/CX_IOTINVALIDREQUESTEX
/AWS1/CX_IOTSERVICEUNAVAILEX
/AWS1/CX_IOTTHROTTLINGEX
/AWS1/CX_IOTUNAUTHORIZEDEX
/AWS1/CX_IOTCLIENTEXC
/AWS1/CX_IOTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
io_thingindexingconf TYPE REF TO /AWS1/CL_IOTTHINGINDEXINGCONF /AWS1/CL_IOTTHINGINDEXINGCONF¶
Thing indexing configuration.
io_thinggroupindexingconf TYPE REF TO /AWS1/CL_IOTTHGGROUPIDXINGCONF /AWS1/CL_IOTTHGGROUPIDXINGCONF¶
Thing group indexing configuration.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_iotupdindexingconfrsp /AWS1/CL_IOTUPDINDEXINGCONFRSP¶
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->updateindexingconfiguration(
io_thinggroupindexingconf = new /aws1/cl_iotthggroupidxingconf(
it_customfields = VALUE /aws1/cl_iotfield=>tt_fields(
(
new /aws1/cl_iotfield(
iv_name = |string|
iv_type = |string|
)
)
)
it_managedfields = VALUE /aws1/cl_iotfield=>tt_fields(
(
new /aws1/cl_iotfield(
iv_name = |string|
iv_type = |string|
)
)
)
iv_thinggroupindexingmode = |string|
)
io_thingindexingconf = new /aws1/cl_iotthingindexingconf(
io_filter = new /aws1/cl_iotindexingfilter(
it_geolocations = VALUE /aws1/cl_iotgeolocationtarget=>tt_geolocationsfilter(
(
new /aws1/cl_iotgeolocationtarget(
iv_name = |string|
iv_order = |string|
)
)
)
it_namedshadownames = VALUE /aws1/cl_iotnamedshadownames00=>tt_namedshadownamesfilter(
( new /aws1/cl_iotnamedshadownames00( |string| ) )
)
)
it_customfields = VALUE /aws1/cl_iotfield=>tt_fields(
(
new /aws1/cl_iotfield(
iv_name = |string|
iv_type = |string|
)
)
)
it_managedfields = VALUE /aws1/cl_iotfield=>tt_fields(
(
new /aws1/cl_iotfield(
iv_name = |string|
iv_type = |string|
)
)
)
iv_devdefenderindexingmode = |string|
iv_namedshadowindexingmode = |string|
iv_thingcnnctvyindexingmode = |string|
iv_thingindexingmode = |string|
)
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.