paws.compute (version 0.1.0)

ec2_delete_customer_gateway: Deletes the specified customer gateway

Description

Deletes the specified customer gateway. You must delete the VPN connection before you can delete the customer gateway.

Usage

ec2_delete_customer_gateway(CustomerGatewayId, DryRun)

Arguments

CustomerGatewayId

[required] The ID of the customer 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_customer_gateway(
  CustomerGatewayId = "string",
  DryRun = TRUE|FALSE
)

Examples

Run this code
# NOT RUN {
# This example deletes the specified customer gateway.
# }
# NOT RUN {
svc$delete_customer_gateway(
  CustomerGatewayId = "cgw-0e11f167"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab