EC2.InternetGateway.
delete
(**kwargs)¶Deletes the specified internet gateway. You must detach the internet gateway from the VPC before you can delete it.
See also: AWS API Documentation
Request Syntax
response = internet_gateway.delete(
DryRun=True|False,
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.