aws ec2 unassign-private-nat-gateway-address
Unassigns secondary private IPv4 addresses from a private NAT gateway. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--max-drain-duration-secondsThe maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress.--nat-gateway-idThe ID of the NAT gateway.--private-ip-addressesThe private IPv4 addresses you want to unassign.