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 attachment with the specified transit gateway route table. You can associate only one route table with an attachment.
Synopsis
- data AssociateTransitGatewayRouteTable = AssociateTransitGatewayRouteTable' {}
- newAssociateTransitGatewayRouteTable :: Text -> Text -> AssociateTransitGatewayRouteTable
- associateTransitGatewayRouteTable_dryRun :: Lens' AssociateTransitGatewayRouteTable (Maybe Bool)
- associateTransitGatewayRouteTable_transitGatewayRouteTableId :: Lens' AssociateTransitGatewayRouteTable Text
- associateTransitGatewayRouteTable_transitGatewayAttachmentId :: Lens' AssociateTransitGatewayRouteTable Text
- data AssociateTransitGatewayRouteTableResponse = AssociateTransitGatewayRouteTableResponse' {}
- newAssociateTransitGatewayRouteTableResponse :: Int -> AssociateTransitGatewayRouteTableResponse
- associateTransitGatewayRouteTableResponse_association :: Lens' AssociateTransitGatewayRouteTableResponse (Maybe TransitGatewayAssociation)
- associateTransitGatewayRouteTableResponse_httpStatus :: Lens' AssociateTransitGatewayRouteTableResponse Int
Creating a Request
data AssociateTransitGatewayRouteTable Source #
See: newAssociateTransitGatewayRouteTable
smart constructor.
AssociateTransitGatewayRouteTable' | |
|
Instances
newAssociateTransitGatewayRouteTable Source #
Create a value of AssociateTransitGatewayRouteTable
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:AssociateTransitGatewayRouteTable'
, associateTransitGatewayRouteTable_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
.
AssociateTransitGatewayRouteTable
, associateTransitGatewayRouteTable_transitGatewayRouteTableId
- The ID of the transit gateway route table.
AssociateTransitGatewayRouteTable
, associateTransitGatewayRouteTable_transitGatewayAttachmentId
- The ID of the attachment.
Request Lenses
associateTransitGatewayRouteTable_dryRun :: Lens' AssociateTransitGatewayRouteTable (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
.
associateTransitGatewayRouteTable_transitGatewayRouteTableId :: Lens' AssociateTransitGatewayRouteTable Text Source #
The ID of the transit gateway route table.
associateTransitGatewayRouteTable_transitGatewayAttachmentId :: Lens' AssociateTransitGatewayRouteTable Text Source #
The ID of the attachment.
Destructuring the Response
data AssociateTransitGatewayRouteTableResponse Source #
See: newAssociateTransitGatewayRouteTableResponse
smart constructor.
AssociateTransitGatewayRouteTableResponse' | |
|
Instances
newAssociateTransitGatewayRouteTableResponse Source #
Create a value of AssociateTransitGatewayRouteTableResponse
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:
AssociateTransitGatewayRouteTableResponse
, associateTransitGatewayRouteTableResponse_association
- The ID of the association.
$sel:httpStatus:AssociateTransitGatewayRouteTableResponse'
, associateTransitGatewayRouteTableResponse_httpStatus
- The response's http status code.
Response Lenses
associateTransitGatewayRouteTableResponse_association :: Lens' AssociateTransitGatewayRouteTableResponse (Maybe TransitGatewayAssociation) Source #
The ID of the association.
associateTransitGatewayRouteTableResponse_httpStatus :: Lens' AssociateTransitGatewayRouteTableResponse Int Source #
The response's http status code.