/AWS1/IF_ECA=>BATCHSTOPUPDATEACTION()¶
About BatchStopUpdateAction¶
Stop the service update. For more information on service updates and stopping them, see Stopping Service Updates.
Method Signature¶
METHODS /AWS1/IF_ECA~BATCHSTOPUPDATEACTION
IMPORTING
!IT_REPLICATIONGROUPIDS TYPE /AWS1/CL_ECAREPLGROUPIDLIST_W=>TT_REPLICATIONGROUPIDLIST OPTIONAL
!IT_CACHECLUSTERIDS TYPE /AWS1/CL_ECACACHECLUSTIDLIST_W=>TT_CACHECLUSTERIDLIST OPTIONAL
!IV_SERVICEUPDATENAME TYPE /AWS1/ECASTRING OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ecaupdactionrsltsmsg
RAISING
/AWS1/CX_ECAINVPARAMVALUEEX
/AWS1/CX_ECASVCUPDNOTFNDFAULT
/AWS1/CX_ECACLIENTEXC
/AWS1/CX_ECASERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_serviceupdatename TYPE /AWS1/ECASTRING /AWS1/ECASTRING¶
The unique ID of the service update
Optional arguments:¶
it_replicationgroupids TYPE /AWS1/CL_ECAREPLGROUPIDLIST_W=>TT_REPLICATIONGROUPIDLIST TT_REPLICATIONGROUPIDLIST¶
The replication group IDs
it_cacheclusterids TYPE /AWS1/CL_ECACACHECLUSTIDLIST_W=>TT_CACHECLUSTERIDLIST TT_CACHECLUSTERIDLIST¶
The cache cluster IDs
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ecaupdactionrsltsmsg /AWS1/CL_ECAUPDACTIONRSLTSMSG¶
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->batchstopupdateaction(
it_cacheclusterids = VALUE /aws1/cl_ecacacheclustidlist_w=>tt_cacheclusteridlist(
( new /aws1/cl_ecacacheclustidlist_w( |string| ) )
)
it_replicationgroupids = VALUE /aws1/cl_ecareplgroupidlist_w=>tt_replicationgroupidlist(
( new /aws1/cl_ecareplgroupidlist_w( |string| ) )
)
iv_serviceupdatename = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_processedupdateactions( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_replicationgroupid( ).
lv_string = lo_row_1->get_cacheclusterid( ).
lv_string = lo_row_1->get_serviceupdatename( ).
lv_updateactionstatus = lo_row_1->get_updateactionstatus( ).
ENDIF.
ENDLOOP.
LOOP AT lo_result->get_unprocessedupdateactions( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_string = lo_row_3->get_replicationgroupid( ).
lv_string = lo_row_3->get_cacheclusterid( ).
lv_string = lo_row_3->get_serviceupdatename( ).
lv_string = lo_row_3->get_errortype( ).
lv_string = lo_row_3->get_errormessage( ).
ENDIF.
ENDLOOP.
ENDIF.