paws.compute (version 0.1.0)

ec2_delete_nat_gateway: Deletes the specified NAT gateway

Description

Deletes the specified NAT gateway. Deleting a 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.

Usage

ec2_delete_nat_gateway(NatGatewayId)

Arguments

NatGatewayId

[required] The ID of the NAT gateway.

Request syntax

svc$delete_nat_gateway(
  NatGatewayId = "string"
)

Examples

Run this code
# NOT RUN {
# This example deletes the specified NAT gateway.
# }
# NOT RUN {
svc$delete_nat_gateway(
  NatGatewayId = "nat-04ae55e711cec5680"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace