Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer.
There must be at least one Availability Zone registered with a load
balancer at all times. After an Availability Zone is removed, all
instances registered with the load balancer that are in the removed
Availability Zone go into the OutOfService
state. Then, the load
balancer attempts to equally balance the traffic among its remaining
Availability Zones.
For more information, see Disable an Availability Zone from a Load-Balanced Application in the Elastic Load Balancing Developer Guide.
See: AWS API Reference for DisableAvailabilityZonesForLoadBalancer.
- disableAvailabilityZonesForLoadBalancer :: Text -> DisableAvailabilityZonesForLoadBalancer
- data DisableAvailabilityZonesForLoadBalancer
- dazflbLoadBalancerName :: Lens' DisableAvailabilityZonesForLoadBalancer Text
- dazflbAvailabilityZones :: Lens' DisableAvailabilityZonesForLoadBalancer [Text]
- disableAvailabilityZonesForLoadBalancerResponse :: Int -> DisableAvailabilityZonesForLoadBalancerResponse
- data DisableAvailabilityZonesForLoadBalancerResponse
- dazflbrsAvailabilityZones :: Lens' DisableAvailabilityZonesForLoadBalancerResponse [Text]
- dazflbrsStatus :: Lens' DisableAvailabilityZonesForLoadBalancerResponse Int
Creating a Request
disableAvailabilityZonesForLoadBalancer Source
Creates a value of DisableAvailabilityZonesForLoadBalancer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DisableAvailabilityZonesForLoadBalancer Source
See: disableAvailabilityZonesForLoadBalancer
smart constructor.
Request Lenses
dazflbLoadBalancerName :: Lens' DisableAvailabilityZonesForLoadBalancer Text Source
The name of the load balancer.
dazflbAvailabilityZones :: Lens' DisableAvailabilityZonesForLoadBalancer [Text] Source
The Availability Zones.
Destructuring the Response
disableAvailabilityZonesForLoadBalancerResponse Source
Creates a value of DisableAvailabilityZonesForLoadBalancerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DisableAvailabilityZonesForLoadBalancerResponse Source
See: disableAvailabilityZonesForLoadBalancerResponse
smart constructor.
Response Lenses
dazflbrsAvailabilityZones :: Lens' DisableAvailabilityZonesForLoadBalancerResponse [Text] Source
The remaining Availability Zones for the load balancer.
dazflbrsStatus :: Lens' DisableAvailabilityZonesForLoadBalancerResponse Int Source
The response status code.