/AWS1/IF_EBN=>DESCRENVIRONMENTMANAGEDACTS()¶
About DescribeEnvironmentManagedActions¶
Lists an environment's upcoming and in-progress managed actions.
This action only returns information about environments that the calling principle has IAM permissions to access. For example, consider a case where a user only has permission to access one of three environments. When the user calls this action, the response will only include the one environment that the user has permission to access instead of all three environments. If the user doesn’t have access to any of the environments an empty result is returned.
The AWSElasticBeanstalkReadOnly managed policy allows operators to view information about resources related to Elastic Beanstalk environments. For more information, see Managing Elastic Beanstalk user policies in the Elastic Beanstalk Developer Guide. For detailed instructions to attach a policy to a user or group, see the section Controlling access with managed policies in the same topic.
Method Signature¶
METHODS /AWS1/IF_EBN~DESCRENVIRONMENTMANAGEDACTS
IMPORTING
!IV_ENVIRONMENTNAME TYPE /AWS1/EBNSTRING OPTIONAL
!IV_ENVIRONMENTID TYPE /AWS1/EBNSTRING OPTIONAL
!IV_STATUS TYPE /AWS1/EBNACTIONSTATUS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ebndscenvironmentma03
RAISING
/AWS1/CX_EBNELASTICBEANSTALK00
/AWS1/CX_EBNCLIENTEXC
/AWS1/CX_EBNSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_environmentname TYPE /AWS1/EBNSTRING /AWS1/EBNSTRING¶
The name of the target environment.
iv_environmentid TYPE /AWS1/EBNSTRING /AWS1/EBNSTRING¶
The environment ID of the target environment.
iv_status TYPE /AWS1/EBNACTIONSTATUS /AWS1/EBNACTIONSTATUS¶
To show only actions with a particular status, specify a status.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ebndscenvironmentma03 /AWS1/CL_EBNDSCENVIRONMENTMA03¶
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->descrenvironmentmanagedacts(
iv_environmentid = |string|
iv_environmentname = |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_managedactions( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_actionid( ).
lv_string = lo_row_1->get_actiondescription( ).
lv_actiontype = lo_row_1->get_actiontype( ).
lv_actionstatus = lo_row_1->get_status( ).
lv_timestamp = lo_row_1->get_windowstarttime( ).
ENDIF.
ENDLOOP.
ENDIF.