/AWS1/IF_EBN=>DSCENVIRONMENTMANAGEDACTHI00()¶
About DescribeEnvironmentManagedActionHistory¶
Lists an environment's completed and failed managed actions.
Method Signature¶
METHODS /AWS1/IF_EBN~DSCENVIRONMENTMANAGEDACTHI00
IMPORTING
!IV_ENVIRONMENTID TYPE /AWS1/EBNENVIRONMENTID OPTIONAL
!IV_ENVIRONMENTNAME TYPE /AWS1/EBNENVIRONMENTNAME OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/EBNSTRING OPTIONAL
!IV_MAXITEMS TYPE /AWS1/EBNMANAGEDACTHISTORYMA00 OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ebndscenvironmentma01
RAISING
/AWS1/CX_EBNELASTICBEANSTALK00
/AWS1/CX_EBNCLIENTEXC
/AWS1/CX_EBNSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_environmentid TYPE /AWS1/EBNENVIRONMENTID /AWS1/EBNENVIRONMENTID¶
The environment ID of the target environment.
iv_environmentname TYPE /AWS1/EBNENVIRONMENTNAME /AWS1/EBNENVIRONMENTNAME¶
The name of the target environment.
iv_nexttoken TYPE /AWS1/EBNSTRING /AWS1/EBNSTRING¶
The pagination token returned by a previous request.
iv_maxitems TYPE /AWS1/EBNMANAGEDACTHISTORYMA00 /AWS1/EBNMANAGEDACTHISTORYMA00¶
The maximum number of items to return for a single request.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ebndscenvironmentma01 /AWS1/CL_EBNDSCENVIRONMENTMA01¶
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->dscenvironmentmanagedacthi00(
iv_environmentid = |string|
iv_environmentname = |string|
iv_maxitems = 123
iv_nexttoken = |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_managedacthistoryitems( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_actionid( ).
lv_actiontype = lo_row_1->get_actiontype( ).
lv_string = lo_row_1->get_actiondescription( ).
lv_failuretype = lo_row_1->get_failuretype( ).
lv_actionhistorystatus = lo_row_1->get_status( ).
lv_string = lo_row_1->get_failuredescription( ).
lv_timestamp = lo_row_1->get_executedtime( ).
lv_timestamp = lo_row_1->get_finishedtime( ).
ENDIF.
ENDLOOP.
lv_string = lo_result->get_nexttoken( ).
ENDIF.