unassignPrivateIpAddresses
abstract suspend fun unassignPrivateIpAddresses(input: UnassignPrivateIpAddressesRequest): UnassignPrivateIpAddressesResponse
Unassigns the specified secondary private IP addresses or IPv4 Prefix Delegation prefixes from a network interface.
Samples
// This example unassigns the specified private IP address from the specified network interface.
ec2Client.unassignPrivateIpAddresses {
networkInterfaceId = "eni-e5aa89a3"
privateIpAddresses = listOf<String>(
"10.0.0.82"
)
}Content copied to clipboard