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 |
Assigns one or more IPv6 addresses to the specified network interface. You can specify one or more specific IPv6 addresses, or you can specify the number of IPv6 addresses to be automatically assigned from within the subnet's IPv6 CIDR block range. You can assign as many IPv6 addresses to a network interface as you can assign private IPv4 addresses, and the limit varies per instance type. For information, see IP Addresses Per Network Interface Per Instance Type in the Amazon Elastic Compute Cloud User Guide .
- assignIPv6Addresses :: Text -> AssignIPv6Addresses
- data AssignIPv6Addresses
- aiaIPv6AddressCount :: Lens' AssignIPv6Addresses (Maybe Int)
- aiaIPv6Addresses :: Lens' AssignIPv6Addresses [Text]
- aiaNetworkInterfaceId :: Lens' AssignIPv6Addresses Text
- assignIPv6AddressesResponse :: Int -> AssignIPv6AddressesResponse
- data AssignIPv6AddressesResponse
- aiarsNetworkInterfaceId :: Lens' AssignIPv6AddressesResponse (Maybe Text)
- aiarsAssignedIPv6Addresses :: Lens' AssignIPv6AddressesResponse [Text]
- aiarsResponseStatus :: Lens' AssignIPv6AddressesResponse Int
Creating a Request
Creates a value of AssignIPv6Addresses
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aiaIPv6AddressCount
- The number of IPv6 addresses to assign to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.aiaIPv6Addresses
- One or more specific IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.aiaNetworkInterfaceId
- The ID of the network interface.
data AssignIPv6Addresses Source #
See: assignIPv6Addresses
smart constructor.
Request Lenses
aiaIPv6AddressCount :: Lens' AssignIPv6Addresses (Maybe Int) Source #
The number of IPv6 addresses to assign to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
aiaIPv6Addresses :: Lens' AssignIPv6Addresses [Text] Source #
One or more specific IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.
aiaNetworkInterfaceId :: Lens' AssignIPv6Addresses Text Source #
The ID of the network interface.
Destructuring the Response
assignIPv6AddressesResponse Source #
Creates a value of AssignIPv6AddressesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aiarsNetworkInterfaceId
- The ID of the network interface.aiarsAssignedIPv6Addresses
- The IPv6 addresses assigned to the network interface.aiarsResponseStatus
- -- | The response status code.
data AssignIPv6AddressesResponse Source #
See: assignIPv6AddressesResponse
smart constructor.
Response Lenses
aiarsNetworkInterfaceId :: Lens' AssignIPv6AddressesResponse (Maybe Text) Source #
The ID of the network interface.
aiarsAssignedIPv6Addresses :: Lens' AssignIPv6AddressesResponse [Text] Source #
The IPv6 addresses assigned to the network interface.
aiarsResponseStatus :: Lens' AssignIPv6AddressesResponse Int Source #
- - | The response status code.