| 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 |
Network.AWS.ELBv2.SetIPAddressType
Description
Sets the type of IP addresses used by the subnets of the specified Application Load Balancer or Network Load Balancer.
Note that Network Load Balancers must use ipv4 .
Synopsis
- setIPAddressType :: Text -> IPAddressType -> SetIPAddressType
- data SetIPAddressType
- siatLoadBalancerARN :: Lens' SetIPAddressType Text
- siatIPAddressType :: Lens' SetIPAddressType IPAddressType
- setIPAddressTypeResponse :: Int -> SetIPAddressTypeResponse
- data SetIPAddressTypeResponse
- siatrsIPAddressType :: Lens' SetIPAddressTypeResponse (Maybe IPAddressType)
- siatrsResponseStatus :: Lens' SetIPAddressTypeResponse Int
Creating a Request
Arguments
| :: Text | |
| -> IPAddressType | |
| -> SetIPAddressType |
Creates a value of SetIPAddressType with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
siatLoadBalancerARN- The Amazon Resource Name (ARN) of the load balancer.siatIPAddressType- The IP address type. The possible values areipv4(for IPv4 addresses) anddualstack(for IPv4 and IPv6 addresses). Internal load balancers must useipv4.
data SetIPAddressType Source #
See: setIPAddressType smart constructor.
Instances
Request Lenses
siatLoadBalancerARN :: Lens' SetIPAddressType Text Source #
The Amazon Resource Name (ARN) of the load balancer.
siatIPAddressType :: Lens' SetIPAddressType IPAddressType Source #
The IP address type. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use ipv4 .
Destructuring the Response
setIPAddressTypeResponse Source #
Arguments
| :: Int | |
| -> SetIPAddressTypeResponse |
Creates a value of SetIPAddressTypeResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
siatrsIPAddressType- The IP address type.siatrsResponseStatus- -- | The response status code.
data SetIPAddressTypeResponse Source #
See: setIPAddressTypeResponse smart constructor.
Instances
Response Lenses
siatrsIPAddressType :: Lens' SetIPAddressTypeResponse (Maybe IPAddressType) Source #
The IP address type.
siatrsResponseStatus :: Lens' SetIPAddressTypeResponse Int Source #
- - | The response status code.