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 transit gateway attachment with a transit gateway policy table.
Synopsis
- data AssociateTransitGatewayPolicyTable = AssociateTransitGatewayPolicyTable' {}
- newAssociateTransitGatewayPolicyTable :: Text -> Text -> AssociateTransitGatewayPolicyTable
- associateTransitGatewayPolicyTable_dryRun :: Lens' AssociateTransitGatewayPolicyTable (Maybe Bool)
- associateTransitGatewayPolicyTable_transitGatewayPolicyTableId :: Lens' AssociateTransitGatewayPolicyTable Text
- associateTransitGatewayPolicyTable_transitGatewayAttachmentId :: Lens' AssociateTransitGatewayPolicyTable Text
- data AssociateTransitGatewayPolicyTableResponse = AssociateTransitGatewayPolicyTableResponse' {}
- newAssociateTransitGatewayPolicyTableResponse :: Int -> AssociateTransitGatewayPolicyTableResponse
- associateTransitGatewayPolicyTableResponse_association :: Lens' AssociateTransitGatewayPolicyTableResponse (Maybe TransitGatewayPolicyTableAssociation)
- associateTransitGatewayPolicyTableResponse_httpStatus :: Lens' AssociateTransitGatewayPolicyTableResponse Int
Creating a Request
data AssociateTransitGatewayPolicyTable Source #
See: newAssociateTransitGatewayPolicyTable
smart constructor.
AssociateTransitGatewayPolicyTable' | |
|
Instances
newAssociateTransitGatewayPolicyTable Source #
Create a value of AssociateTransitGatewayPolicyTable
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:AssociateTransitGatewayPolicyTable'
, associateTransitGatewayPolicyTable_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
.
AssociateTransitGatewayPolicyTable
, associateTransitGatewayPolicyTable_transitGatewayPolicyTableId
- The ID of the transit gateway policy table to associate with the transit
gateway attachment.
AssociateTransitGatewayPolicyTable
, associateTransitGatewayPolicyTable_transitGatewayAttachmentId
- The ID of the transit gateway attachment to associate with the policy
table.
Request Lenses
associateTransitGatewayPolicyTable_dryRun :: Lens' AssociateTransitGatewayPolicyTable (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
.
associateTransitGatewayPolicyTable_transitGatewayPolicyTableId :: Lens' AssociateTransitGatewayPolicyTable Text Source #
The ID of the transit gateway policy table to associate with the transit gateway attachment.
associateTransitGatewayPolicyTable_transitGatewayAttachmentId :: Lens' AssociateTransitGatewayPolicyTable Text Source #
The ID of the transit gateway attachment to associate with the policy table.
Destructuring the Response
data AssociateTransitGatewayPolicyTableResponse Source #
See: newAssociateTransitGatewayPolicyTableResponse
smart constructor.
AssociateTransitGatewayPolicyTableResponse' | |
|
Instances
newAssociateTransitGatewayPolicyTableResponse Source #
Create a value of AssociateTransitGatewayPolicyTableResponse
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:
AssociateTransitGatewayPolicyTableResponse
, associateTransitGatewayPolicyTableResponse_association
- Describes the association of a transit gateway and a transit gateway
policy table.
$sel:httpStatus:AssociateTransitGatewayPolicyTableResponse'
, associateTransitGatewayPolicyTableResponse_httpStatus
- The response's http status code.
Response Lenses
associateTransitGatewayPolicyTableResponse_association :: Lens' AssociateTransitGatewayPolicyTableResponse (Maybe TransitGatewayPolicyTableAssociation) Source #
Describes the association of a transit gateway and a transit gateway policy table.
associateTransitGatewayPolicyTableResponse_httpStatus :: Lens' AssociateTransitGatewayPolicyTableResponse Int Source #
The response's http status code.