Detach Internet Gateway
GET {{aws_ec2_base_url}}/?DryRun&InternetGatewayId&VpcId&Action=DetachInternetGateway
Detaches an internet gateway from a VPC, disabling connectivity between the internet and the VPC.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
DryRun | null | 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 | null | The ID of the internet gateway. | |
VpcId | null | The ID of the VPC. | |
Action | string |