Skip to content

/AWS1/CL_EL2=>DEREGISTERTARGETS()

About DeregisterTargets

Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.

The load balancer stops sending requests to targets that are deregistering, but uses connection draining to ensure that in-flight traffic completes on the existing connections. This deregistration delay is configured by default but can be updated for each target group.

For more information, see the following:

Note: If the specified target does not exist, the action returns successfully.

Method Signature

IMPORTING

Required arguments:

IV_TARGETGROUPARN TYPE /AWS1/EL2TARGETGROUPARN /AWS1/EL2TARGETGROUPARN

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

IT_TARGETS TYPE /AWS1/CL_EL2TARGETDESCRIPTION=>TT_TARGETDESCRIPTIONS TT_TARGETDESCRIPTIONS

The targets. If you specified a port override when you registered a target, you must specify both the target ID and the port when you deregister it.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EL2DEREGTARGETSOUTPUT /AWS1/CL_EL2DEREGTARGETSOUTPUT