Smaws_Client_ElasticLoadBalancing.DetachLoadBalancerFromSubnetsRemoves the specified subnets from the set of configured subnets for the load balancer.
After a subnet is removed, all EC2 instances registered with the load balancer in the removed subnet go into the OutOfService state. Then, the load balancer balances the traffic among the remaining routable subnets.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AccessPointNotFoundException of Types.access_point_not_found_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.detach_load_balancer_from_subnets_input ->
(Types.detach_load_balancer_from_subnets_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AccessPointNotFoundException of Types.access_point_not_found_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.detach_load_balancer_from_subnets_input ->
(Types.detach_load_balancer_from_subnets_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AccessPointNotFoundException of Types.access_point_not_found_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result