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 transit gateway.
Synopsis
- data CreateTransitGatewayRouteTable = CreateTransitGatewayRouteTable' {}
- newCreateTransitGatewayRouteTable :: Text -> CreateTransitGatewayRouteTable
- createTransitGatewayRouteTable_dryRun :: Lens' CreateTransitGatewayRouteTable (Maybe Bool)
- createTransitGatewayRouteTable_tagSpecifications :: Lens' CreateTransitGatewayRouteTable (Maybe [TagSpecification])
- createTransitGatewayRouteTable_transitGatewayId :: Lens' CreateTransitGatewayRouteTable Text
- data CreateTransitGatewayRouteTableResponse = CreateTransitGatewayRouteTableResponse' {}
- newCreateTransitGatewayRouteTableResponse :: Int -> CreateTransitGatewayRouteTableResponse
- createTransitGatewayRouteTableResponse_transitGatewayRouteTable :: Lens' CreateTransitGatewayRouteTableResponse (Maybe TransitGatewayRouteTable)
- createTransitGatewayRouteTableResponse_httpStatus :: Lens' CreateTransitGatewayRouteTableResponse Int
Creating a Request
data CreateTransitGatewayRouteTable Source #
See: newCreateTransitGatewayRouteTable
smart constructor.
CreateTransitGatewayRouteTable' | |
|
Instances
newCreateTransitGatewayRouteTable Source #
Create a value of CreateTransitGatewayRouteTable
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:CreateTransitGatewayRouteTable'
, createTransitGatewayRouteTable_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
.
CreateTransitGatewayRouteTable
, createTransitGatewayRouteTable_tagSpecifications
- The tags to apply to the transit gateway route table.
CreateTransitGatewayRouteTable
, createTransitGatewayRouteTable_transitGatewayId
- The ID of the transit gateway.
Request Lenses
createTransitGatewayRouteTable_dryRun :: Lens' CreateTransitGatewayRouteTable (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
.
createTransitGatewayRouteTable_tagSpecifications :: Lens' CreateTransitGatewayRouteTable (Maybe [TagSpecification]) Source #
The tags to apply to the transit gateway route table.
createTransitGatewayRouteTable_transitGatewayId :: Lens' CreateTransitGatewayRouteTable Text Source #
The ID of the transit gateway.
Destructuring the Response
data CreateTransitGatewayRouteTableResponse Source #
See: newCreateTransitGatewayRouteTableResponse
smart constructor.
CreateTransitGatewayRouteTableResponse' | |
|
Instances
newCreateTransitGatewayRouteTableResponse Source #
Create a value of CreateTransitGatewayRouteTableResponse
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:
CreateTransitGatewayRouteTableResponse
, createTransitGatewayRouteTableResponse_transitGatewayRouteTable
- Information about the transit gateway route table.
$sel:httpStatus:CreateTransitGatewayRouteTableResponse'
, createTransitGatewayRouteTableResponse_httpStatus
- The response's http status code.
Response Lenses
createTransitGatewayRouteTableResponse_transitGatewayRouteTable :: Lens' CreateTransitGatewayRouteTableResponse (Maybe TransitGatewayRouteTable) Source #
Information about the transit gateway route table.
createTransitGatewayRouteTableResponse_httpStatus :: Lens' CreateTransitGatewayRouteTableResponse Int Source #
The response's http status code.