Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- createRouteTable :: Text -> CreateRouteTable
- data CreateRouteTable
- crtDryRun :: Lens' CreateRouteTable (Maybe Bool)
- crtVPCId :: Lens' CreateRouteTable Text
- createRouteTableResponse :: Int -> CreateRouteTableResponse
- data CreateRouteTableResponse
- crtrsRouteTable :: Lens' CreateRouteTableResponse (Maybe RouteTable)
- crtrsResponseStatus :: Lens' CreateRouteTableResponse Int
Creating a Request
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:
data CreateRouteTable Source #
Contains the parameters for CreateRouteTable.
See: createRouteTable
smart constructor.
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:
data CreateRouteTableResponse Source #
Contains the output of CreateRouteTable.
See: createRouteTableResponse
smart constructor.
Response Lenses
crtrsRouteTable :: Lens' CreateRouteTableResponse (Maybe RouteTable) Source #
Information about the route table.
crtrsResponseStatus :: Lens' CreateRouteTableResponse Int Source #
The response status code.