Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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, see Route tables in the Amazon Virtual Private Cloud User Guide.
Synopsis
- data CreateRouteTable = CreateRouteTable' {
- dryRun :: Maybe Bool
- tagSpecifications :: Maybe [TagSpecification]
- vpcId :: Text
- newCreateRouteTable :: Text -> CreateRouteTable
- createRouteTable_dryRun :: Lens' CreateRouteTable (Maybe Bool)
- createRouteTable_tagSpecifications :: Lens' CreateRouteTable (Maybe [TagSpecification])
- createRouteTable_vpcId :: Lens' CreateRouteTable Text
- data CreateRouteTableResponse = CreateRouteTableResponse' {}
- newCreateRouteTableResponse :: Int -> CreateRouteTableResponse
- createRouteTableResponse_routeTable :: Lens' CreateRouteTableResponse (Maybe RouteTable)
- createRouteTableResponse_httpStatus :: Lens' CreateRouteTableResponse Int
Creating a Request
data CreateRouteTable Source #
See: newCreateRouteTable
smart constructor.
CreateRouteTable' | |
|
Instances
Create a value of CreateRouteTable
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:CreateRouteTable'
, createRouteTable_dryRun
- 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
.
CreateRouteTable
, createRouteTable_tagSpecifications
- The tags to assign to the route table.
CreateRouteTable
, createRouteTable_vpcId
- The ID of the VPC.
Request Lenses
createRouteTable_dryRun :: 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
.
createRouteTable_tagSpecifications :: Lens' CreateRouteTable (Maybe [TagSpecification]) Source #
The tags to assign to the route table.
createRouteTable_vpcId :: Lens' CreateRouteTable Text Source #
The ID of the VPC.
Destructuring the Response
data CreateRouteTableResponse Source #
See: newCreateRouteTableResponse
smart constructor.
CreateRouteTableResponse' | |
|
Instances
newCreateRouteTableResponse Source #
Create a value of CreateRouteTableResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateRouteTableResponse
, createRouteTableResponse_routeTable
- Information about the route table.
$sel:httpStatus:CreateRouteTableResponse'
, createRouteTableResponse_httpStatus
- The response's http status code.
Response Lenses
createRouteTableResponse_routeTable :: Lens' CreateRouteTableResponse (Maybe RouteTable) Source #
Information about the route table.
createRouteTableResponse_httpStatus :: Lens' CreateRouteTableResponse Int Source #
The response's http status code.