| 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.EC2.UnassignIpv6Addresses
Description
Unassigns one or more IPv6 addresses IPv4 Prefix Delegation prefixes from a network interface.
Synopsis
- data UnassignIpv6Addresses = UnassignIpv6Addresses' {
- ipv6Addresses :: Maybe [Text]
- ipv6Prefixes :: Maybe [Text]
- networkInterfaceId :: Text
- newUnassignIpv6Addresses :: Text -> UnassignIpv6Addresses
- unassignIpv6Addresses_ipv6Addresses :: Lens' UnassignIpv6Addresses (Maybe [Text])
- unassignIpv6Addresses_ipv6Prefixes :: Lens' UnassignIpv6Addresses (Maybe [Text])
- unassignIpv6Addresses_networkInterfaceId :: Lens' UnassignIpv6Addresses Text
- data UnassignIpv6AddressesResponse = UnassignIpv6AddressesResponse' {}
- newUnassignIpv6AddressesResponse :: Int -> UnassignIpv6AddressesResponse
- unassignIpv6AddressesResponse_networkInterfaceId :: Lens' UnassignIpv6AddressesResponse (Maybe Text)
- unassignIpv6AddressesResponse_unassignedIpv6Addresses :: Lens' UnassignIpv6AddressesResponse (Maybe [Text])
- unassignIpv6AddressesResponse_unassignedIpv6Prefixes :: Lens' UnassignIpv6AddressesResponse (Maybe [Text])
- unassignIpv6AddressesResponse_httpStatus :: Lens' UnassignIpv6AddressesResponse Int
Creating a Request
data UnassignIpv6Addresses Source #
See: newUnassignIpv6Addresses smart constructor.
Constructors
| UnassignIpv6Addresses' | |
Fields
| |
Instances
newUnassignIpv6Addresses Source #
Arguments
| :: Text | |
| -> UnassignIpv6Addresses |
Create a value of UnassignIpv6Addresses 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:
UnassignIpv6Addresses, unassignIpv6Addresses_ipv6Addresses - The IPv6 addresses to unassign from the network interface.
UnassignIpv6Addresses, unassignIpv6Addresses_ipv6Prefixes - The IPv6 prefixes to unassign from the network interface.
UnassignIpv6Addresses, unassignIpv6Addresses_networkInterfaceId - The ID of the network interface.
Request Lenses
unassignIpv6Addresses_ipv6Addresses :: Lens' UnassignIpv6Addresses (Maybe [Text]) Source #
The IPv6 addresses to unassign from the network interface.
unassignIpv6Addresses_ipv6Prefixes :: Lens' UnassignIpv6Addresses (Maybe [Text]) Source #
The IPv6 prefixes to unassign from the network interface.
unassignIpv6Addresses_networkInterfaceId :: Lens' UnassignIpv6Addresses Text Source #
The ID of the network interface.
Destructuring the Response
data UnassignIpv6AddressesResponse Source #
See: newUnassignIpv6AddressesResponse smart constructor.
Constructors
| UnassignIpv6AddressesResponse' | |
Fields
| |
Instances
newUnassignIpv6AddressesResponse Source #
Create a value of UnassignIpv6AddressesResponse 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:
UnassignIpv6Addresses, unassignIpv6AddressesResponse_networkInterfaceId - The ID of the network interface.
$sel:unassignedIpv6Addresses:UnassignIpv6AddressesResponse', unassignIpv6AddressesResponse_unassignedIpv6Addresses - The IPv6 addresses that have been unassigned from the network interface.
$sel:unassignedIpv6Prefixes:UnassignIpv6AddressesResponse', unassignIpv6AddressesResponse_unassignedIpv6Prefixes - The IPv4 prefixes that have been unassigned from the network interface.
$sel:httpStatus:UnassignIpv6AddressesResponse', unassignIpv6AddressesResponse_httpStatus - The response's http status code.
Response Lenses
unassignIpv6AddressesResponse_networkInterfaceId :: Lens' UnassignIpv6AddressesResponse (Maybe Text) Source #
The ID of the network interface.
unassignIpv6AddressesResponse_unassignedIpv6Addresses :: Lens' UnassignIpv6AddressesResponse (Maybe [Text]) Source #
The IPv6 addresses that have been unassigned from the network interface.
unassignIpv6AddressesResponse_unassignedIpv6Prefixes :: Lens' UnassignIpv6AddressesResponse (Maybe [Text]) Source #
The IPv4 prefixes that have been unassigned from the network interface.
unassignIpv6AddressesResponse_httpStatus :: Lens' UnassignIpv6AddressesResponse Int Source #
The response's http status code.