Learn R Programming

paws.compute (version 0.7.0)

ec2_delete_nat_gateway: Deletes the specified NAT gateway

Description

Deletes the specified NAT gateway. Deleting a public NAT gateway disassociates its Elastic IP address, but does not release the address from your account. Deleting a NAT gateway does not delete any NAT gateway routes in your route tables.

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

Usage

ec2_delete_nat_gateway(DryRun = NULL, NatGatewayId)

Arguments

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.

NatGatewayId

[required] The ID of the NAT gateway.