Modifies the customer gateway or the target gateway of an Amazon Web Services Site-to-Site VPN connection. To modify the target gateway, the following migration options are available:
See https://www.paws-r-sdk.com/docs/ec2_modify_vpn_connection/ for full documentation.
ec2_modify_vpn_connection(
VpnConnectionId,
TransitGatewayId = NULL,
CustomerGatewayId = NULL,
VpnGatewayId = NULL,
DryRun = NULL
)
[required] The ID of the VPN connection.
The ID of the transit gateway.
The ID of the customer gateway at your end of the VPN connection.
The ID of the virtual private gateway at the Amazon Web Services side of the VPN connection.
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
.