/AWS1/IF_OSR=>LISTDOMAINMAINTENANCES()¶
About ListDomainMaintenances¶
A list of maintenance actions for the domain.
Method Signature¶
METHODS /AWS1/IF_OSR~LISTDOMAINMAINTENANCES
IMPORTING
!IV_DOMAINNAME TYPE /AWS1/OSRDOMAINNAME OPTIONAL
!IV_ACTION TYPE /AWS1/OSRMAINTENANCETYPE OPTIONAL
!IV_STATUS TYPE /AWS1/OSRMAINTENANCESTATUS OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/OSRMAXRESULTS OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/OSRNEXTTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_osrlstdommaintenanc01
RAISING
/AWS1/CX_OSRBASEEXCEPTION
/AWS1/CX_OSRDISABLEDOPEX
/AWS1/CX_OSRINTERNALEXCEPTION
/AWS1/CX_OSRRESOURCENOTFOUNDEX
/AWS1/CX_OSRVALIDATIONEX
/AWS1/CX_OSRCLIENTEXC
/AWS1/CX_OSRSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_domainname TYPE /AWS1/OSRDOMAINNAME /AWS1/OSRDOMAINNAME¶
The name of the domain.
Optional arguments:¶
iv_action TYPE /AWS1/OSRMAINTENANCETYPE /AWS1/OSRMAINTENANCETYPE¶
The name of the action.
iv_status TYPE /AWS1/OSRMAINTENANCESTATUS /AWS1/OSRMAINTENANCESTATUS¶
The status of the action.
iv_maxresults TYPE /AWS1/OSRMAXRESULTS /AWS1/OSRMAXRESULTS¶
An optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results.
iv_nexttoken TYPE /AWS1/OSRNEXTTOKEN /AWS1/OSRNEXTTOKEN¶
If your initial
ListDomainMaintenancesoperation returns anextToken, include the returnednextTokenin subsequentListDomainMaintenancesoperations, which returns results in the next page.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_osrlstdommaintenanc01 /AWS1/CL_OSRLSTDOMMAINTENANC01¶
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->listdomainmaintenances(
iv_action = |string|
iv_domainname = |string|
iv_maxresults = 123
iv_nexttoken = |string|
iv_status = |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_domainmaintenances( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_requestid = lo_row_1->get_maintenanceid( ).
lv_domainname = lo_row_1->get_domainname( ).
lv_maintenancetype = lo_row_1->get_action( ).
lv_nodeid = lo_row_1->get_nodeid( ).
lv_maintenancestatus = lo_row_1->get_status( ).
lv_maintenancestatusmessag = lo_row_1->get_statusmessage( ).
lv_updatetimestamp = lo_row_1->get_createdat( ).
lv_updatetimestamp = lo_row_1->get_updatedat( ).
ENDIF.
ENDLOOP.
lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.