Copyright | (c) 2013-2021 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 |
Sets the type of IP addresses used by the subnets of the specified Application Load Balancer or Network 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.
SetIpAddressType' | |
|
Instances
:: 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:
$sel:loadBalancerArn:SetIpAddressType'
, setIpAddressType_loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.
$sel:ipAddressType:SetIpAddressType'
, setIpAddressType_ipAddressType
- 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
. 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). Internal load balancers
must use ipv4
. 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.
SetIpAddressTypeResponse' | |
|
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:
$sel:ipAddressType: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.