/AWS1/IF_CL9=>UPDATEENVIRONMENT()¶
About UpdateEnvironment¶
Changes the settings of an existing Cloud9 development environment.
Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"
Method Signature¶
METHODS /AWS1/IF_CL9~UPDATEENVIRONMENT
IMPORTING
!IV_ENVIRONMENTID TYPE /AWS1/CL9ENVIRONMENTID OPTIONAL
!IV_NAME TYPE /AWS1/CL9ENVIRONMENTNAME OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/CL9ENVIRONMENTDESC OPTIONAL
!IV_MANAGEDCREDENTIALSACTION TYPE /AWS1/CL9MANAGEDCREDSACTION OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_cl9updenvironmentrslt
RAISING
/AWS1/CX_CL9BADREQUESTEX
/AWS1/CX_CL9CONFLICTEXCEPTION
/AWS1/CX_CL9FORBIDDENEXCEPTION
/AWS1/CX_CL9INTERNALSERVERER00
/AWS1/CX_CL9LIMITEXCEEDEDEX
/AWS1/CX_CL9NOTFOUNDEXCEPTION
/AWS1/CX_CL9TOOMANYREQUESTSEX
/AWS1/CX_CL9CLIENTEXC
/AWS1/CX_CL9SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_environmentid TYPE /AWS1/CL9ENVIRONMENTID /AWS1/CL9ENVIRONMENTID¶
The ID of the environment to change settings.
Optional arguments:¶
iv_name TYPE /AWS1/CL9ENVIRONMENTNAME /AWS1/CL9ENVIRONMENTNAME¶
A replacement name for the environment.
iv_description TYPE /AWS1/CL9ENVIRONMENTDESC /AWS1/CL9ENVIRONMENTDESC¶
Any new or replacement description for the environment.
iv_managedcredentialsaction TYPE /AWS1/CL9MANAGEDCREDSACTION /AWS1/CL9MANAGEDCREDSACTION¶
Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials for an Cloud9 environment by using one of the following values:
ENABLE
DISABLEOnly the environment owner can change the status of managed temporary credentials. An
AccessDeniedExceptionis thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment owner.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_cl9updenvironmentrslt /AWS1/CL_CL9UPDENVIRONMENTRSLT¶
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->updateenvironment(
iv_description = |string|
iv_environmentid = |string|
iv_managedcredentialsaction = |string|
iv_name = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.
UpdateEnvironment¶
DATA(lo_result) = lo_client->updateenvironment(
iv_description = |This is my changed demonstration environment.|
iv_environmentid = |8d9967e2f0624182b74e7690ad69ebEX|
iv_name = |my-changed-demo-environment|
).