Deletes a carrier gateway.
If you do not delete the route that contains the carrier gateway as the
Target, the route is a blackhole route. For information about how to
delete a route, see delete_route
.
ec2_delete_carrier_gateway(CarrierGatewayId, DryRun)
A list with the following syntax:
list(
CarrierGateway = list(
CarrierGatewayId = "string",
VpcId = "string",
State = "pending"|"available"|"deleting"|"deleted",
OwnerId = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
)
[required] The ID of the carrier gateway.
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
.
svc$delete_carrier_gateway(
CarrierGatewayId = "string",
DryRun = TRUE|FALSE
)