Unassigns secondary private IPv4 addresses from a private NAT gateway. You cannot unassign your primary private IP. For more information, see Edit secondary IP address associations in the Amazon VPC User Guide.
See https://www.paws-r-sdk.com/docs/ec2_unassign_private_nat_gateway_address/ for full documentation.
ec2_unassign_private_nat_gateway_address(
NatGatewayId,
PrivateIpAddresses,
MaxDrainDurationSeconds = NULL,
DryRun = NULL
)
[required] The ID of the NAT gateway.
[required] The private IPv4 addresses you want to unassign.
The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.