amazonka-ec2-1.3.5: 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.CreateRouteTable

Contents

Description

Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet.

For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide.

See: AWS API Reference for CreateRouteTable.

Synopsis

Creating a Request

createRouteTable Source

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

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

Request Lenses

crtDryRun :: Lens' CreateRouteTable (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.

Destructuring the Response

createRouteTableResponse Source

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

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

Response Lenses

crtrsRouteTable :: Lens' CreateRouteTableResponse (Maybe RouteTable) Source

Information about the route table.