/AWS1/IF_MEM=>DESCRIBESERVICEUPDATES()¶
About DescribeServiceUpdates¶
Returns details of the service updates.
Method Signature¶
METHODS /AWS1/IF_MEM~DESCRIBESERVICEUPDATES
IMPORTING
!IV_SERVICEUPDATENAME TYPE /AWS1/MEMSTRING OPTIONAL
!IT_CLUSTERNAMES TYPE /AWS1/CL_MEMCLUSTERNAMELIST_W=>TT_CLUSTERNAMELIST OPTIONAL
!IT_STATUS TYPE /AWS1/CL_MEMSVCUPDSTATUSLIST_W=>TT_SERVICEUPDATESTATUSLIST OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/MEMINTEGEROPTIONAL OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/MEMSTRING OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_memdescrsvcupdatesrsp
RAISING
/AWS1/CX_MEMINVPRMCOMBINATIO00
/AWS1/CX_MEMINVPARAMVALUEEX
/AWS1/CX_MEMCLIENTEXC
/AWS1/CX_MEMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_serviceupdatename TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING¶
The unique ID of the service update to describe.
it_clusternames TYPE /AWS1/CL_MEMCLUSTERNAMELIST_W=>TT_CLUSTERNAMELIST TT_CLUSTERNAMELIST¶
The list of cluster names to identify service updates to apply.
it_status TYPE /AWS1/CL_MEMSVCUPDSTATUSLIST_W=>TT_SERVICEUPDATESTATUSLIST TT_SERVICEUPDATESTATUSLIST¶
The status(es) of the service updates to filter on.
iv_maxresults TYPE /AWS1/MEMINTEGEROPTIONAL /AWS1/MEMINTEGEROPTIONAL¶
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
iv_nexttoken TYPE /AWS1/MEMSTRING /AWS1/MEMSTRING¶
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_memdescrsvcupdatesrsp /AWS1/CL_MEMDESCRSVCUPDATESRSP¶
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->describeserviceupdates(
it_clusternames = VALUE /aws1/cl_memclusternamelist_w=>tt_clusternamelist(
( new /aws1/cl_memclusternamelist_w( |string| ) )
)
it_status = VALUE /aws1/cl_memsvcupdstatuslist_w=>tt_serviceupdatestatuslist(
( new /aws1/cl_memsvcupdstatuslist_w( |string| ) )
)
iv_maxresults = 123
iv_nexttoken = |string|
iv_serviceupdatename = |string|
).
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_nexttoken( ).
LOOP AT lo_result->get_serviceupdates( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_clustername( ).
lv_string = lo_row_1->get_serviceupdatename( ).
lv_tstamp = lo_row_1->get_releasedate( ).
lv_string = lo_row_1->get_description( ).
lv_serviceupdatestatus = lo_row_1->get_status( ).
lv_serviceupdatetype = lo_row_1->get_type( ).
lv_string = lo_row_1->get_engine( ).
lv_string = lo_row_1->get_nodesupdated( ).
lv_tstamp = lo_row_1->get_autoupdatestartdate( ).
ENDIF.
ENDLOOP.
ENDIF.