Skip to content

/AWS1/CL_CL9=>DELETEENVIRONMENTMEMBERSHIP()

About DeleteEnvironmentMembership

Deletes an environment member from a 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

IMPORTING

Required arguments:

iv_environmentid TYPE /AWS1/CL9ENVIRONMENTID /AWS1/CL9ENVIRONMENTID

The ID of the environment to delete the environment member from.

iv_userarn TYPE /AWS1/CL9USERARN /AWS1/CL9USERARN

The Amazon Resource Name (ARN) of the environment member to delete from the environment.

RETURNING

oo_output TYPE REF TO /aws1/cl_cl9delenvironmentme01 /AWS1/CL_CL9DELENVIRONMENTME01

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->/aws1/if_cl9~deleteenvironmentmembership(
  iv_environmentid = |string|
  iv_userarn = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.

DeleteEnvironmentMembership

DATA(lo_result) = lo_client->/aws1/if_cl9~deleteenvironmentmembership(
  iv_environmentid = |8d9967e2f0624182b74e7690ad69ebEX|
  iv_userarn = |arn:aws:iam::123456789012:user/AnotherDemoUser|
).