amazonka-ec2-1.2.0.1: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DeleteRoute

Contents

Description

Deletes the specified route from the specified route table.

See: AWS API Reference for DeleteRoute.

Synopsis

Creating a Request

deleteRoute Source

Creates a value of DeleteRoute with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

drDryRun :: Lens' DeleteRoute (Maybe Bool) Source

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.

drRouteTableId :: Lens' DeleteRoute Text Source

The ID of the route table.

drDestinationCIdRBlock :: Lens' DeleteRoute Text Source

The CIDR range for the route. The value you specify must match the CIDR for the route exactly.

Destructuring the Response

deleteRouteResponse :: DeleteRouteResponse Source

Creates a value of DeleteRouteResponse with the minimum fields required to make a request.