delete_egress_only_internet_gateway

delete_egress_only_internet_gateway(**kwargs)

Deletes an egress-only internet gateway.

See also: AWS API Documentation

Request Syntax

response = client.delete_egress_only_internet_gateway(
    DryRun=True|False,
    EgressOnlyInternetGatewayId='string'
)
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 is UnauthorizedOperation .
  • EgressOnlyInternetGatewayId (string) --

    [REQUIRED]

    The ID of the egress-only internet gateway.

Return type

dict

Returns

Response Syntax

{
    'ReturnCode': True|False
}

Response Structure

  • (dict) --

    • ReturnCode (boolean) --

      Returns true if the request succeeds; otherwise, it returns an error.