Smaws_Client_ElasticLoadBalancingv2.SetSubnetsEnables the Availability Zones for the specified public subnets for the specified Application Load Balancer, Network Load Balancer or Gateway Load Balancer. The specified subnets replace the previously enabled subnets.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AllocationIdNotFoundException of Types.allocation_id_not_found_exception
| `AvailabilityZoneNotSupportedException of
Types.availability_zone_not_supported_exception
| `CapacityReservationPendingException of
Types.capacity_reservation_pending_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `InvalidSubnetException of Types.invalid_subnet_exception
| `LoadBalancerNotFoundException of Types.load_balancer_not_found_exception
| `SubnetNotFoundException of Types.subnet_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.set_subnets_input ->
(Types.set_subnets_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AllocationIdNotFoundException of Types.allocation_id_not_found_exception
| `AvailabilityZoneNotSupportedException of
Types.availability_zone_not_supported_exception
| `CapacityReservationPendingException of
Types.capacity_reservation_pending_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `InvalidSubnetException of Types.invalid_subnet_exception
| `LoadBalancerNotFoundException of Types.load_balancer_not_found_exception
| `SubnetNotFoundException of Types.subnet_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.set_subnets_input ->
(Types.set_subnets_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AllocationIdNotFoundException of Types.allocation_id_not_found_exception
| `AvailabilityZoneNotSupportedException of
Types.availability_zone_not_supported_exception
| `CapacityReservationPendingException of
Types.capacity_reservation_pending_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `InvalidSubnetException of Types.invalid_subnet_exception
| `LoadBalancerNotFoundException of Types.load_balancer_not_found_exception
| `SubnetNotFoundException of Types.subnet_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result