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

View source: R/ec2_operations.R

ec2_unassign_private_nat_gateway_addressR Documentation

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.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.