Learn R Programming

paws.compute (version 0.1.0)

ec2_delete_internet_gateway: Deletes the specified internet gateway

Description

Deletes the specified internet gateway. You must detach the internet gateway from the VPC before you can delete it.

Usage

ec2_delete_internet_gateway(DryRun, InternetGatewayId)

Arguments

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.

InternetGatewayId

[required] The ID of the internet gateway.

Request syntax

svc$delete_internet_gateway(
  DryRun = TRUE|FALSE,
  InternetGatewayId = "string"
)

Examples

Run this code
# NOT RUN {
# This example deletes the specified Internet gateway.
# }
# NOT RUN {
svc$delete_internet_gateway(
  InternetGatewayId = "igw-c0a643a9"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab