EC2.Client.
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'
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The ID of the egress-only internet gateway.
dict
Response Syntax
{
'ReturnCode': True|False
}
Response Structure
(dict) --
ReturnCode (boolean) --
Returns true
if the request succeeds; otherwise, it returns an error.