/AWS1/IF_MHR=>DELETEROUTE()¶
About DeleteRoute¶
Deletes an Amazon Web Services Migration Hub Refactor Spaces route.
Method Signature¶
METHODS /AWS1/IF_MHR~DELETEROUTE
IMPORTING
!IV_ENVIRONMENTIDENTIFIER TYPE /AWS1/MHRENVIRONMENTID OPTIONAL
!IV_APPLICATIONIDENTIFIER TYPE /AWS1/MHRAPPLICATIONID OPTIONAL
!IV_ROUTEIDENTIFIER TYPE /AWS1/MHRROUTEID OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_mhrdeleteroutersp
RAISING
/AWS1/CX_MHRACCESSDENIEDEX
/AWS1/CX_MHRCONFLICTEXCEPTION
/AWS1/CX_MHRINTERNALSERVEREX
/AWS1/CX_MHRRESOURCENOTFOUNDEX
/AWS1/CX_MHRTHROTTLINGEX
/AWS1/CX_MHRVALIDATIONEX
/AWS1/CX_MHRCLIENTEXC
/AWS1/CX_MHRSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_environmentidentifier TYPE /AWS1/MHRENVIRONMENTID /AWS1/MHRENVIRONMENTID¶
The ID of the environment to delete the route from.
iv_applicationidentifier TYPE /AWS1/MHRAPPLICATIONID /AWS1/MHRAPPLICATIONID¶
The ID of the application to delete the route from.
iv_routeidentifier TYPE /AWS1/MHRROUTEID /AWS1/MHRROUTEID¶
The ID of the route to delete.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_mhrdeleteroutersp /AWS1/CL_MHRDELETEROUTERSP¶
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->deleteroute(
iv_applicationidentifier = |string|
iv_environmentidentifier = |string|
iv_routeidentifier = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_routeid = lo_result->get_routeid( ).
lv_resourcearn = lo_result->get_arn( ).
lv_serviceid = lo_result->get_serviceid( ).
lv_applicationid = lo_result->get_applicationid( ).
lv_routestate = lo_result->get_state( ).
lv_timestamp = lo_result->get_lastupdatedtime( ).
ENDIF.