EC2 / Client / unassign_ipv6_addresses

unassign_ipv6_addresses#

EC2.Client.unassign_ipv6_addresses(**kwargs)#

Unassigns one or more IPv6 addresses IPv4 Prefix Delegation prefixes from a network interface.

See also: AWS API Documentation

Request Syntax

response = client.unassign_ipv6_addresses(
    Ipv6Prefixes=[
        'string',
    ],
    NetworkInterfaceId='string',
    Ipv6Addresses=[
        'string',
    ]
)
Parameters:
  • Ipv6Prefixes (list) –

    The IPv6 prefixes to unassign from the network interface.

    • (string) –

  • NetworkInterfaceId (string) –

    [REQUIRED]

    The ID of the network interface.

  • Ipv6Addresses (list) –

    The IPv6 addresses to unassign from the network interface.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'NetworkInterfaceId': 'string',
    'UnassignedIpv6Addresses': [
        'string',
    ],
    'UnassignedIpv6Prefixes': [
        'string',
    ]
}

Response Structure

  • (dict) –

    • NetworkInterfaceId (string) –

      The ID of the network interface.

    • UnassignedIpv6Addresses (list) –

      The IPv6 addresses that have been unassigned from the network interface.

      • (string) –

    • UnassignedIpv6Prefixes (list) –

      The IPv4 prefixes that have been unassigned from the network interface.

      • (string) –