Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Enables the Availability Zone for the specified public subnets for the specified Application Load Balancer. The specified subnets replace the previously enabled subnets.
Note that you can't change the subnets for a Network Load Balancer.
Synopsis
- setSubnets :: Text -> SetSubnets
- data SetSubnets
- ssSubnetMappings :: Lens' SetSubnets [SubnetMapping]
- 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:
ssSubnetMappings
- The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings. You cannot specify Elastic IP addresses for your subnets.ssLoadBalancerARN
- The Amazon Resource Name (ARN) of the load balancer.ssSubnets
- The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
data SetSubnets Source #
See: setSubnets
smart constructor.
Instances
Request Lenses
ssSubnetMappings :: Lens' SetSubnets [SubnetMapping] Source #
The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings. You cannot specify Elastic IP addresses for your subnets.
ssLoadBalancerARN :: Lens' SetSubnets Text Source #
The Amazon Resource Name (ARN) of the load balancer.
ssSubnets :: Lens' SetSubnets [Text] Source #
The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
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 #
See: setSubnetsResponse
smart constructor.
Instances
Response Lenses
ssrsAvailabilityZones :: Lens' SetSubnetsResponse [AvailabilityZone] Source #
Information about the subnet and Availability Zone.
ssrsResponseStatus :: Lens' SetSubnetsResponse Int Source #
- - | The response status code.