/AWS1/IF_CL9=>DELETEENVIRONMENT()¶
About DeleteEnvironment¶
Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.
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~DELETEENVIRONMENT
IMPORTING
!IV_ENVIRONMENTID TYPE /AWS1/CL9ENVIRONMENTID OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_cl9delenvironmentrslt
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 delete.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_cl9delenvironmentrslt /AWS1/CL_CL9DELENVIRONMENTRSLT¶
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->deleteenvironment( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.
DeleteEnvironment¶
DATA(lo_result) = lo_client->deleteenvironment( |8d9967e2f0624182b74e7690ad69ebEX| ).