/AWS1/IF_R5D=>LISTOPERATIONS()¶
About ListOperations¶
Returns information about all of the operations that return an operation ID and that have ever been performed on domains that were registered by the current account.
This command runs only in the us-east-1 Region.
Method Signature¶
METHODS /AWS1/IF_R5D~LISTOPERATIONS
IMPORTING
!IV_SUBMITTEDSINCE TYPE /AWS1/R5DTIMESTAMP OPTIONAL
!IV_MARKER TYPE /AWS1/R5DPAGEMARKER OPTIONAL
!IV_MAXITEMS TYPE /AWS1/R5DPAGEMAXITEMS OPTIONAL
!IT_STATUS TYPE /AWS1/CL_R5DOPSTATUSLIST_W=>TT_OPERATIONSTATUSLIST OPTIONAL
!IT_TYPE TYPE /AWS1/CL_R5DOPTYPELIST_W=>TT_OPERATIONTYPELIST OPTIONAL
!IV_SORTBY TYPE /AWS1/R5DLISTOPSSORTATTRNAME OPTIONAL
!IV_SORTORDER TYPE /AWS1/R5DSORTORDER OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5dlistopsresponse
RAISING
/AWS1/CX_R5DINVALIDINPUT
/AWS1/CX_R5DCLIENTEXC
/AWS1/CX_R5DSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_submittedsince TYPE /AWS1/R5DTIMESTAMP /AWS1/R5DTIMESTAMP¶
An optional parameter that lets you get information about all the operations that you submitted after a specified date and time. Specify the date and time in Unix time format and Coordinated Universal time (UTC).
iv_marker TYPE /AWS1/R5DPAGEMARKER /AWS1/R5DPAGEMARKER¶
For an initial request for a list of operations, omit this element. If the number of operations that are not yet complete is greater than the value that you specified for
MaxItems, you can useMarkerto return additional operations. Get the value ofNextPageMarkerfrom the previous response, and submit another request that includes the value ofNextPageMarkerin theMarkerelement.
iv_maxitems TYPE /AWS1/R5DPAGEMAXITEMS /AWS1/R5DPAGEMAXITEMS¶
Number of domains to be returned.
Default: 20
it_status TYPE /AWS1/CL_R5DOPSTATUSLIST_W=>TT_OPERATIONSTATUSLIST TT_OPERATIONSTATUSLIST¶
The status of the operations.
it_type TYPE /AWS1/CL_R5DOPTYPELIST_W=>TT_OPERATIONTYPELIST TT_OPERATIONTYPELIST¶
An arrays of the domains operation types.
iv_sortby TYPE /AWS1/R5DLISTOPSSORTATTRNAME /AWS1/R5DLISTOPSSORTATTRNAME¶
The sort type for returned values.
iv_sortorder TYPE /AWS1/R5DSORTORDER /AWS1/R5DSORTORDER¶
The sort order for returned values, either ascending or descending.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5dlistopsresponse /AWS1/CL_R5DLISTOPSRESPONSE¶
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->listoperations(
it_status = VALUE /aws1/cl_r5dopstatuslist_w=>tt_operationstatuslist(
( new /aws1/cl_r5dopstatuslist_w( |string| ) )
)
it_type = VALUE /aws1/cl_r5doptypelist_w=>tt_operationtypelist(
( new /aws1/cl_r5doptypelist_w( |string| ) )
)
iv_marker = |string|
iv_maxitems = 123
iv_sortby = |string|
iv_sortorder = |string|
iv_submittedsince = '20150101000000.0000000'
).
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_operations( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_operationid = lo_row_1->get_operationid( ).
lv_operationstatus = lo_row_1->get_status( ).
lv_operationtype = lo_row_1->get_type( ).
lv_timestamp = lo_row_1->get_submitteddate( ).
lv_domainname = lo_row_1->get_domainname( ).
lv_errormessage = lo_row_1->get_message( ).
lv_statusflag = lo_row_1->get_statusflag( ).
lv_timestamp = lo_row_1->get_lastupdateddate( ).
ENDIF.
ENDLOOP.
lv_pagemarker = lo_result->get_nextpagemarker( ).
ENDIF.