Skip to content

/AWS1/IF_GAC=>REMOVEENDPOINTS()

About RemoveEndpoints

Remove endpoints from an endpoint group.

The RemoveEndpoints API operation is the recommended option for removing endpoints. The alternative is to remove endpoints by updating an endpoint group by using the UpdateEndpointGroup API operation. There are two advantages to using AddEndpoints to remove endpoints instead:

  • It's more convenient, because you only need to specify the endpoints that you want to remove. With the UpdateEndpointGroup API operation, you must specify all of the endpoints in the endpoint group except the ones that you want to remove from the group.

  • It's faster, because Global Accelerator doesn't need to resolve any endpoints. With the UpdateEndpointGroup API operation, Global Accelerator must resolve all of the endpoints that remain in the group.

Method Signature

IMPORTING

Required arguments:

it_endpointidentifiers TYPE /AWS1/CL_GACENDPOINTIDENTIFIER=>TT_ENDPOINTIDENTIFIERS TT_ENDPOINTIDENTIFIERS

The identifiers of the endpoints that you want to remove.

iv_endpointgrouparn TYPE /AWS1/GACGENERICSTRING /AWS1/GACGENERICSTRING

The Amazon Resource Name (ARN) of the endpoint group.

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.

lo_client->/aws1/if_gac~removeendpoints(
  it_endpointidentifiers = VALUE /aws1/cl_gacendpointidentifier=>tt_endpointidentifiers(
    (
      new /aws1/cl_gacendpointidentifier(
        iv_cliippreservationenabled = ABAP_TRUE
        iv_endpointid = |string|
      )
    )
  )
  iv_endpointgrouparn = |string|
).