/AWS1/IF_RE2=>DELETERESOURCEEXPLORERSETUP()¶
About DeleteResourceExplorerSetup¶
Deletes a Resource Explorer setup configuration. This operation removes indexes and views from the specified Regions or all Regions where Resource Explorer is configured.
Method Signature¶
METHODS /AWS1/IF_RE2~DELETERESOURCEEXPLORERSETUP
IMPORTING
!IT_REGIONLIST TYPE /AWS1/CL_RE2REGIONLIST_W=>TT_REGIONLIST OPTIONAL
!IV_DELETEINALLREGIONS TYPE /AWS1/RE2BOOLEAN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_re2delresexplorerse01
RAISING
/AWS1/CX_RE2ACCESSDENIEDEX
/AWS1/CX_RE2CONFLICTEXCEPTION
/AWS1/CX_RE2INTERNALSERVEREX
/AWS1/CX_RE2THROTTLINGEX
/AWS1/CX_RE2VALIDATIONEX
/AWS1/CX_RE2CLIENTEXC
/AWS1/CX_RE2SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
it_regionlist TYPE /AWS1/CL_RE2REGIONLIST_W=>TT_REGIONLIST TT_REGIONLIST¶
A list of Amazon Web Services Regions from which to delete the Resource Explorer configuration. If not specified, the operation uses the
DeleteInAllRegionsparameter to determine scope.
iv_deleteinallregions TYPE /AWS1/RE2BOOLEAN /AWS1/RE2BOOLEAN¶
Specifies whether to delete Resource Explorer configuration from all Regions where it is currently enabled. If this parameter is set to
true, a value forRegionListmust not be provided. Otherwise, the operation fails with aValidationExceptionerror.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_re2delresexplorerse01 /AWS1/CL_RE2DELRESEXPLORERSE01¶
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->deleteresourceexplorersetup(
it_regionlist = VALUE /aws1/cl_re2regionlist_w=>tt_regionlist(
( new /aws1/cl_re2regionlist_w( |string| ) )
)
iv_deleteinallregions = ABAP_TRUE
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_string = lo_result->get_taskid( ).
ENDIF.