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 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.
CreateLocalGatewayRouteTable' | |
|
Instances
newCreateLocalGatewayRouteTable Source #
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.
CreateLocalGatewayRouteTableResponse' | |
|
Instances
Generic CreateLocalGatewayRouteTableResponse Source # | |
Read CreateLocalGatewayRouteTableResponse Source # | |
Show CreateLocalGatewayRouteTableResponse Source # | |
NFData CreateLocalGatewayRouteTableResponse Source # | |
Defined in Amazonka.EC2.CreateLocalGatewayRouteTable rnf :: CreateLocalGatewayRouteTableResponse -> () # | |
Eq CreateLocalGatewayRouteTableResponse Source # | |
type Rep CreateLocalGatewayRouteTableResponse Source # | |
Defined in Amazonka.EC2.CreateLocalGatewayRouteTable type Rep CreateLocalGatewayRouteTableResponse = D1 ('MetaData "CreateLocalGatewayRouteTableResponse" "Amazonka.EC2.CreateLocalGatewayRouteTable" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateLocalGatewayRouteTableResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "localGatewayRouteTable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LocalGatewayRouteTable)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateLocalGatewayRouteTableResponse Source #
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.