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 |
Removes the association between an an attachment and a policy table.
Synopsis
- data DisassociateTransitGatewayPolicyTable = DisassociateTransitGatewayPolicyTable' {}
- newDisassociateTransitGatewayPolicyTable :: Text -> Text -> DisassociateTransitGatewayPolicyTable
- disassociateTransitGatewayPolicyTable_dryRun :: Lens' DisassociateTransitGatewayPolicyTable (Maybe Bool)
- disassociateTransitGatewayPolicyTable_transitGatewayPolicyTableId :: Lens' DisassociateTransitGatewayPolicyTable Text
- disassociateTransitGatewayPolicyTable_transitGatewayAttachmentId :: Lens' DisassociateTransitGatewayPolicyTable Text
- data DisassociateTransitGatewayPolicyTableResponse = DisassociateTransitGatewayPolicyTableResponse' {}
- newDisassociateTransitGatewayPolicyTableResponse :: Int -> DisassociateTransitGatewayPolicyTableResponse
- disassociateTransitGatewayPolicyTableResponse_association :: Lens' DisassociateTransitGatewayPolicyTableResponse (Maybe TransitGatewayPolicyTableAssociation)
- disassociateTransitGatewayPolicyTableResponse_httpStatus :: Lens' DisassociateTransitGatewayPolicyTableResponse Int
Creating a Request
data DisassociateTransitGatewayPolicyTable Source #
See: newDisassociateTransitGatewayPolicyTable
smart constructor.
DisassociateTransitGatewayPolicyTable' | |
|
Instances
newDisassociateTransitGatewayPolicyTable Source #
Create a value of DisassociateTransitGatewayPolicyTable
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:DisassociateTransitGatewayPolicyTable'
, disassociateTransitGatewayPolicyTable_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
.
DisassociateTransitGatewayPolicyTable
, disassociateTransitGatewayPolicyTable_transitGatewayPolicyTableId
- The ID of the disassociated policy table.
DisassociateTransitGatewayPolicyTable
, disassociateTransitGatewayPolicyTable_transitGatewayAttachmentId
- The ID of the transit gateway attachment to disassociate from the policy
table.
Request Lenses
disassociateTransitGatewayPolicyTable_dryRun :: Lens' DisassociateTransitGatewayPolicyTable (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
.
disassociateTransitGatewayPolicyTable_transitGatewayPolicyTableId :: Lens' DisassociateTransitGatewayPolicyTable Text Source #
The ID of the disassociated policy table.
disassociateTransitGatewayPolicyTable_transitGatewayAttachmentId :: Lens' DisassociateTransitGatewayPolicyTable Text Source #
The ID of the transit gateway attachment to disassociate from the policy table.
Destructuring the Response
data DisassociateTransitGatewayPolicyTableResponse Source #
See: newDisassociateTransitGatewayPolicyTableResponse
smart constructor.
DisassociateTransitGatewayPolicyTableResponse' | |
|
Instances
newDisassociateTransitGatewayPolicyTableResponse Source #
:: Int |
|
-> DisassociateTransitGatewayPolicyTableResponse |
Create a value of DisassociateTransitGatewayPolicyTableResponse
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:
DisassociateTransitGatewayPolicyTableResponse
, disassociateTransitGatewayPolicyTableResponse_association
- Returns details about the transit gateway policy table disassociation.
$sel:httpStatus:DisassociateTransitGatewayPolicyTableResponse'
, disassociateTransitGatewayPolicyTableResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateTransitGatewayPolicyTableResponse_association :: Lens' DisassociateTransitGatewayPolicyTableResponse (Maybe TransitGatewayPolicyTableAssociation) Source #
Returns details about the transit gateway policy table disassociation.
disassociateTransitGatewayPolicyTableResponse_httpStatus :: Lens' DisassociateTransitGatewayPolicyTableResponse Int Source #
The response's http status code.