Learn R Programming

paws.compute (version 0.7.0)

ec2_disassociate_nat_gateway_address: Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway

Description

Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway. You cannot disassociate your primary EIP. For more information, see Edit secondary IP address associations in the Amazon VPC User Guide.

See https://www.paws-r-sdk.com/docs/ec2_disassociate_nat_gateway_address/ for full documentation.

Usage

ec2_disassociate_nat_gateway_address(
  NatGatewayId,
  AssociationIds,
  MaxDrainDurationSeconds = NULL,
  DryRun = NULL
)

Arguments

NatGatewayId

[required] The ID of the NAT gateway.

AssociationIds

[required] The association IDs of EIPs that have been associated with the NAT gateway.

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.