Smaws_Client_ElasticLoadBalancing.AttachLoadBalancerToSubnetsAdds one or more subnets to the set of configured subnets for the specified load balancer.
The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Classic Load Balancers Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AccessPointNotFoundException of Types.access_point_not_found_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `InvalidSubnetException of Types.invalid_subnet_exception
| `SubnetNotFoundException of Types.subnet_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.attach_load_balancer_to_subnets_input ->
(Types.attach_load_balancer_to_subnets_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AccessPointNotFoundException of Types.access_point_not_found_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `InvalidSubnetException of Types.invalid_subnet_exception
| `SubnetNotFoundException of Types.subnet_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.attach_load_balancer_to_subnets_input ->
(Types.attach_load_balancer_to_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
| `InvalidSubnetException of Types.invalid_subnet_exception
| `SubnetNotFoundException of Types.subnet_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result