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 |
Associates the specified VPC with the specified local gateway route table.
Synopsis
- data CreateLocalGatewayRouteTableVpcAssociation = CreateLocalGatewayRouteTableVpcAssociation' {}
- newCreateLocalGatewayRouteTableVpcAssociation :: Text -> Text -> CreateLocalGatewayRouteTableVpcAssociation
- createLocalGatewayRouteTableVpcAssociation_dryRun :: Lens' CreateLocalGatewayRouteTableVpcAssociation (Maybe Bool)
- createLocalGatewayRouteTableVpcAssociation_tagSpecifications :: Lens' CreateLocalGatewayRouteTableVpcAssociation (Maybe [TagSpecification])
- createLocalGatewayRouteTableVpcAssociation_localGatewayRouteTableId :: Lens' CreateLocalGatewayRouteTableVpcAssociation Text
- createLocalGatewayRouteTableVpcAssociation_vpcId :: Lens' CreateLocalGatewayRouteTableVpcAssociation Text
- data CreateLocalGatewayRouteTableVpcAssociationResponse = CreateLocalGatewayRouteTableVpcAssociationResponse' {}
- newCreateLocalGatewayRouteTableVpcAssociationResponse :: Int -> CreateLocalGatewayRouteTableVpcAssociationResponse
- createLocalGatewayRouteTableVpcAssociationResponse_localGatewayRouteTableVpcAssociation :: Lens' CreateLocalGatewayRouteTableVpcAssociationResponse (Maybe LocalGatewayRouteTableVpcAssociation)
- createLocalGatewayRouteTableVpcAssociationResponse_httpStatus :: Lens' CreateLocalGatewayRouteTableVpcAssociationResponse Int
Creating a Request
data CreateLocalGatewayRouteTableVpcAssociation Source #
See: newCreateLocalGatewayRouteTableVpcAssociation
smart constructor.
CreateLocalGatewayRouteTableVpcAssociation' | |
|
Instances
newCreateLocalGatewayRouteTableVpcAssociation Source #
Create a value of CreateLocalGatewayRouteTableVpcAssociation
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:CreateLocalGatewayRouteTableVpcAssociation'
, createLocalGatewayRouteTableVpcAssociation_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
.
CreateLocalGatewayRouteTableVpcAssociation
, createLocalGatewayRouteTableVpcAssociation_tagSpecifications
- The tags to assign to the local gateway route table VPC association.
CreateLocalGatewayRouteTableVpcAssociation
, createLocalGatewayRouteTableVpcAssociation_localGatewayRouteTableId
- The ID of the local gateway route table.
CreateLocalGatewayRouteTableVpcAssociation
, createLocalGatewayRouteTableVpcAssociation_vpcId
- The ID of the VPC.
Request Lenses
createLocalGatewayRouteTableVpcAssociation_dryRun :: Lens' CreateLocalGatewayRouteTableVpcAssociation (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
.
createLocalGatewayRouteTableVpcAssociation_tagSpecifications :: Lens' CreateLocalGatewayRouteTableVpcAssociation (Maybe [TagSpecification]) Source #
The tags to assign to the local gateway route table VPC association.
createLocalGatewayRouteTableVpcAssociation_localGatewayRouteTableId :: Lens' CreateLocalGatewayRouteTableVpcAssociation Text Source #
The ID of the local gateway route table.
createLocalGatewayRouteTableVpcAssociation_vpcId :: Lens' CreateLocalGatewayRouteTableVpcAssociation Text Source #
The ID of the VPC.
Destructuring the Response
data CreateLocalGatewayRouteTableVpcAssociationResponse Source #
See: newCreateLocalGatewayRouteTableVpcAssociationResponse
smart constructor.
CreateLocalGatewayRouteTableVpcAssociationResponse' | |
|
Instances
newCreateLocalGatewayRouteTableVpcAssociationResponse Source #
:: Int |
|
-> CreateLocalGatewayRouteTableVpcAssociationResponse |
Create a value of CreateLocalGatewayRouteTableVpcAssociationResponse
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:localGatewayRouteTableVpcAssociation:CreateLocalGatewayRouteTableVpcAssociationResponse'
, createLocalGatewayRouteTableVpcAssociationResponse_localGatewayRouteTableVpcAssociation
- Information about the association.
$sel:httpStatus:CreateLocalGatewayRouteTableVpcAssociationResponse'
, createLocalGatewayRouteTableVpcAssociationResponse_httpStatus
- The response's http status code.
Response Lenses
createLocalGatewayRouteTableVpcAssociationResponse_localGatewayRouteTableVpcAssociation :: Lens' CreateLocalGatewayRouteTableVpcAssociationResponse (Maybe LocalGatewayRouteTableVpcAssociation) Source #
Information about the association.
createLocalGatewayRouteTableVpcAssociationResponse_httpStatus :: Lens' CreateLocalGatewayRouteTableVpcAssociationResponse Int Source #
The response's http status code.