Copyright | (c) 2013-2016 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 |
Enables the Availability Zone for the specified subnets for the specified load balancer. The specified subnets replace the previously enabled subnets.
- setSubnets :: Text -> SetSubnets
- data SetSubnets
- ssLoadBalancerARN :: Lens' SetSubnets Text
- ssSubnets :: Lens' SetSubnets [Text]
- setSubnetsResponse :: Int -> SetSubnetsResponse
- data SetSubnetsResponse
- ssrsAvailabilityZones :: Lens' SetSubnetsResponse [AvailabilityZone]
- ssrsResponseStatus :: Lens' SetSubnetsResponse Int
Creating a Request
Creates a value of SetSubnets
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssLoadBalancerARN
- The Amazon Resource Name (ARN) of the load balancer.ssSubnets
- The IDs of the subnets. You must specify at least two subnets. You can add only one subnet per Availability Zone.
data SetSubnets Source #
Contains the parameters for SetSubnets.
See: setSubnets
smart constructor.
Request Lenses
ssLoadBalancerARN :: Lens' SetSubnets Text Source #
The Amazon Resource Name (ARN) of the load balancer.
ssSubnets :: Lens' SetSubnets [Text] Source #
The IDs of the subnets. You must specify at least two subnets. You can add only one subnet per Availability Zone.
Destructuring the Response
Creates a value of SetSubnetsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssrsAvailabilityZones
- Information about the subnet and Availability Zone.ssrsResponseStatus
- -- | The response status code.
data SetSubnetsResponse Source #
Contains the output of SetSubnets.
See: setSubnetsResponse
smart constructor.
Response Lenses
ssrsAvailabilityZones :: Lens' SetSubnetsResponse [AvailabilityZone] Source #
Information about the subnet and Availability Zone.
ssrsResponseStatus :: Lens' SetSubnetsResponse Int Source #
- - | The response status code.