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 |
Network.AWS.ELBv2.SetSubnets
Description
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
Arguments
:: Text | |
-> SetSubnets |
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.
Request Lenses
ssLoadBalancerARN :: Lens' SetSubnets Text #
The Amazon Resource Name (ARN) of the load balancer.
ssSubnets :: Lens' SetSubnets [Text] #
The IDs of the subnets. You must specify at least two subnets. You can add only one subnet per Availability Zone.
Destructuring the Response
Arguments
:: Int | |
-> SetSubnetsResponse |
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 #
Contains the output of SetSubnets.
See: setSubnetsResponse
smart constructor.
Response Lenses
ssrsAvailabilityZones :: Lens' SetSubnetsResponse [AvailabilityZone] #
Information about the subnet and Availability Zone.
ssrsResponseStatus :: Lens' SetSubnetsResponse Int #
- - | The response status code.