Smaws_Client_ElasticLoadBalancingv2.DeleteTargetGroupDeletes the specified target group.
You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks. Deleting a target group does not affect its registered targets. For example, any EC2 instances continue to run until you stop or terminate them.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ResourceInUseException of Types.resource_in_use_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_target_group_input ->
(Types.delete_target_group_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ResourceInUseException of Types.resource_in_use_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_target_group_input ->
(Types.delete_target_group_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ResourceInUseException of Types.resource_in_use_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result