Learn R Programming

paws.compute (version 0.7.0)

ec2_detach_vpn_gateway: Detaches a virtual private gateway from a VPC

Description

Detaches a virtual private gateway from a VPC. You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a virtual private gateway has been completely detached from a VPC by describing the virtual private gateway (any attachments to the virtual private gateway are also described).

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

Usage

ec2_detach_vpn_gateway(VpcId, VpnGatewayId, DryRun = NULL)

Arguments

VpcId

[required] The ID of the VPC.

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.