InternetGateway / Action / delete
delete#
- 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, )
- Parameters:
DryRun (boolean) – 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 isUnauthorizedOperation
.- Returns:
None