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 |
Amazonka.EC2.CreateLocalGatewayRouteTable
Description
Creates a local gateway route table.
Synopsis
- data CreateLocalGatewayRouteTable = CreateLocalGatewayRouteTable' {}
- newCreateLocalGatewayRouteTable :: Text -> CreateLocalGatewayRouteTable
- createLocalGatewayRouteTable_dryRun :: Lens' CreateLocalGatewayRouteTable (Maybe Bool)
- createLocalGatewayRouteTable_mode :: Lens' CreateLocalGatewayRouteTable (Maybe LocalGatewayRouteTableMode)
- createLocalGatewayRouteTable_tagSpecifications :: Lens' CreateLocalGatewayRouteTable (Maybe [TagSpecification])
- createLocalGatewayRouteTable_localGatewayId :: Lens' CreateLocalGatewayRouteTable Text
- data CreateLocalGatewayRouteTableResponse = CreateLocalGatewayRouteTableResponse' {}
- newCreateLocalGatewayRouteTableResponse :: Int -> CreateLocalGatewayRouteTableResponse
- createLocalGatewayRouteTableResponse_localGatewayRouteTable :: Lens' CreateLocalGatewayRouteTableResponse (Maybe LocalGatewayRouteTable)
- createLocalGatewayRouteTableResponse_httpStatus :: Lens' CreateLocalGatewayRouteTableResponse Int
Creating a Request
data CreateLocalGatewayRouteTable Source #
See: newCreateLocalGatewayRouteTable
smart constructor.
Constructors
CreateLocalGatewayRouteTable' | |
Fields
|
Instances
newCreateLocalGatewayRouteTable Source #
Arguments
:: Text | |
-> CreateLocalGatewayRouteTable |
Create a value of CreateLocalGatewayRouteTable
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:CreateLocalGatewayRouteTable'
, createLocalGatewayRouteTable_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
.
CreateLocalGatewayRouteTable
, createLocalGatewayRouteTable_mode
- The mode of the local gateway route table.
CreateLocalGatewayRouteTable
, createLocalGatewayRouteTable_tagSpecifications
- The tags assigned to the local gateway route table.
CreateLocalGatewayRouteTable
, createLocalGatewayRouteTable_localGatewayId
- The ID of the local gateway.
Request Lenses
createLocalGatewayRouteTable_dryRun :: Lens' CreateLocalGatewayRouteTable (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
.
createLocalGatewayRouteTable_mode :: Lens' CreateLocalGatewayRouteTable (Maybe LocalGatewayRouteTableMode) Source #
The mode of the local gateway route table.
createLocalGatewayRouteTable_tagSpecifications :: Lens' CreateLocalGatewayRouteTable (Maybe [TagSpecification]) Source #
The tags assigned to the local gateway route table.
createLocalGatewayRouteTable_localGatewayId :: Lens' CreateLocalGatewayRouteTable Text Source #
The ID of the local gateway.
Destructuring the Response
data CreateLocalGatewayRouteTableResponse Source #
See: newCreateLocalGatewayRouteTableResponse
smart constructor.
Constructors
CreateLocalGatewayRouteTableResponse' | |
Fields
|
Instances
newCreateLocalGatewayRouteTableResponse Source #
Arguments
:: Int | |
-> CreateLocalGatewayRouteTableResponse |
Create a value of CreateLocalGatewayRouteTableResponse
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:localGatewayRouteTable:CreateLocalGatewayRouteTableResponse'
, createLocalGatewayRouteTableResponse_localGatewayRouteTable
- Information about the local gateway route table.
$sel:httpStatus:CreateLocalGatewayRouteTableResponse'
, createLocalGatewayRouteTableResponse_httpStatus
- The response's http status code.
Response Lenses
createLocalGatewayRouteTableResponse_localGatewayRouteTable :: Lens' CreateLocalGatewayRouteTableResponse (Maybe LocalGatewayRouteTable) Source #
Information about the local gateway route table.
createLocalGatewayRouteTableResponse_httpStatus :: Lens' CreateLocalGatewayRouteTableResponse Int Source #
The response's http status code.