Learn R Programming

paws.compute (version 0.7.0)

ec2_unassign_private_nat_gateway_address: Unassigns secondary private IPv4 addresses from a private NAT gateway

Description

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.

Usage

ec2_unassign_private_nat_gateway_address(
  NatGatewayId,
  PrivateIpAddresses,
  MaxDrainDurationSeconds = NULL,
  DryRun = NULL
)

Arguments

NatGatewayId

[required] The ID of the NAT gateway.

PrivateIpAddresses

[required] The private IPv4 addresses you want to unassign.

MaxDrainDurationSeconds

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.

DryRun

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.