| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ELBV2.SetIpAddressType
Description
Sets the type of IP addresses used by the subnets of the specified load balancer.
Synopsis
- data SetIpAddressType = SetIpAddressType' {}
- newSetIpAddressType :: Text -> IpAddressType -> SetIpAddressType
- setIpAddressType_loadBalancerArn :: Lens' SetIpAddressType Text
- setIpAddressType_ipAddressType :: Lens' SetIpAddressType IpAddressType
- data SetIpAddressTypeResponse = SetIpAddressTypeResponse' {}
- newSetIpAddressTypeResponse :: Int -> SetIpAddressTypeResponse
- setIpAddressTypeResponse_ipAddressType :: Lens' SetIpAddressTypeResponse (Maybe IpAddressType)
- setIpAddressTypeResponse_httpStatus :: Lens' SetIpAddressTypeResponse Int
Creating a Request
data SetIpAddressType Source #
See: newSetIpAddressType smart constructor.
Constructors
| SetIpAddressType' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> IpAddressType | |
| -> SetIpAddressType |
Create a value of SetIpAddressType with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
SetIpAddressType, setIpAddressType_loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.
SetIpAddressType, setIpAddressType_ipAddressType - The IP address type. The possible values are ipv4 (for IPv4 addresses)
and dualstack (for IPv4 and IPv6 addresses). You can’t specify
dualstack for a load balancer with a UDP or TCP_UDP listener.
Request Lenses
setIpAddressType_loadBalancerArn :: Lens' SetIpAddressType Text Source #
The Amazon Resource Name (ARN) of the load balancer.
setIpAddressType_ipAddressType :: Lens' SetIpAddressType IpAddressType Source #
The IP address type. The possible values are ipv4 (for IPv4 addresses)
and dualstack (for IPv4 and IPv6 addresses). You can’t specify
dualstack for a load balancer with a UDP or TCP_UDP listener.
Destructuring the Response
data SetIpAddressTypeResponse Source #
See: newSetIpAddressTypeResponse smart constructor.
Constructors
| SetIpAddressTypeResponse' | |
Fields
| |
Instances
newSetIpAddressTypeResponse Source #
Create a value of SetIpAddressTypeResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
SetIpAddressType, setIpAddressTypeResponse_ipAddressType - The IP address type.
$sel:httpStatus:SetIpAddressTypeResponse', setIpAddressTypeResponse_httpStatus - The response's http status code.
Response Lenses
setIpAddressTypeResponse_ipAddressType :: Lens' SetIpAddressTypeResponse (Maybe IpAddressType) Source #
The IP address type.
setIpAddressTypeResponse_httpStatus :: Lens' SetIpAddressTypeResponse Int Source #
The response's http status code.