amazonka-ec2-1.6.1: Amazon Elastic Compute Cloud SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

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 .

Synopsis

Creating a Request

Arguments

 :: Text aiaNetworkInterfaceId -> AssignIPv6Addresses

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.

See: assignIPv6Addresses smart constructor.

Instances

Request Lenses

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.

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.

The ID of the network interface.

Destructuring the Response

Arguments

 :: Int aiarsResponseStatus -> AssignIPv6AddressesResponse

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.

See: assignIPv6AddressesResponse smart constructor.

Instances