DeleteInternetGateway#

Description#

Deletes an internet gateway. Prior to deletion, the internet gateway must be detached from the VPC using DetachInternetGateway.

Request Parameters#

  • InternetGatewayId — The ID of the internet gateway.

    • Type: String

    • Required: Yes

Response Elements#

  • requestId — The request ID.

    • Type: String

  • returnTrue is returned if the request succeeds and an error otherwise.

    • Type: Boolean

Examples#

c2-ec2 DeleteInternetGateway InternetGatewayId igw-01234567