/AWS1/CL_EC2=>DETACHINTERNETGATEWAY()
¶
About DetachInternetGateway¶
Detaches an internet gateway from a VPC, disabling connectivity between the internet and the VPC. The VPC must not contain any running instances with Elastic IP addresses or public IPv4 addresses.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_INTERNETGATEWAYID
TYPE /AWS1/EC2INTERNETGATEWAYID
/AWS1/EC2INTERNETGATEWAYID
¶
The ID of the internet gateway.
IV_VPCID
TYPE /AWS1/EC2VPCID
/AWS1/EC2VPCID
¶
The ID of the VPC.
Optional arguments:¶
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
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
.