NetworkInterface / Action / unassign_private_ip_addresses
unassign_private_ip_addresses#
- EC2.NetworkInterface.unassign_private_ip_addresses(**kwargs)#
Unassigns one or more secondary private IP addresses, or IPv4 Prefix Delegation prefixes from a network interface.
See also: AWS API Documentation
Request Syntax
response = network_interface.unassign_private_ip_addresses( Ipv4Prefixes=[ 'string', ], PrivateIpAddresses=[ 'string', ] )
- Parameters:
Ipv4Prefixes (list) –
The IPv4 prefixes to unassign from the network interface.
(string) –
PrivateIpAddresses (list) –
The secondary private IP addresses to unassign from the network interface. You can specify this option multiple times to unassign more than one IP address.
(string) –
- Returns:
None