paws.compute (version 0.1.0)

ec2_delete_vpn_gateway: Deletes the specified virtual private gateway

Description

Deletes the specified virtual private gateway. We recommend that before you delete a virtual private gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the virtual private gateway if you plan to delete and recreate the VPN connection between your VPC and your network.

Usage

ec2_delete_vpn_gateway(VpnGatewayId, DryRun)

Arguments

VpnGatewayId

[required] The ID of the virtual private gateway.

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.

Request syntax

svc$delete_vpn_gateway(
  VpnGatewayId = "string",
  DryRun = TRUE|FALSE
)