Smaws_Client_ElasticLoadBalancingv2.DeregisterTargetsDeregisters 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `InvalidTargetException of Types.invalid_target_exception
| `TargetGroupNotFoundException of Types.target_group_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.deregister_targets_input ->
(Types.deregister_targets_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidTargetException of Types.invalid_target_exception
| `TargetGroupNotFoundException of Types.target_group_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.deregister_targets_input ->
(Types.deregister_targets_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidTargetException of Types.invalid_target_exception
| `TargetGroupNotFoundException of Types.target_group_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result