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 |
Disassociates a resource attachment from a transit gateway route table.
Synopsis
- data DisassociateTransitGatewayRouteTable = DisassociateTransitGatewayRouteTable' {}
- newDisassociateTransitGatewayRouteTable :: Text -> Text -> DisassociateTransitGatewayRouteTable
- disassociateTransitGatewayRouteTable_dryRun :: Lens' DisassociateTransitGatewayRouteTable (Maybe Bool)
- disassociateTransitGatewayRouteTable_transitGatewayRouteTableId :: Lens' DisassociateTransitGatewayRouteTable Text
- disassociateTransitGatewayRouteTable_transitGatewayAttachmentId :: Lens' DisassociateTransitGatewayRouteTable Text
- data DisassociateTransitGatewayRouteTableResponse = DisassociateTransitGatewayRouteTableResponse' {}
- newDisassociateTransitGatewayRouteTableResponse :: Int -> DisassociateTransitGatewayRouteTableResponse
- disassociateTransitGatewayRouteTableResponse_association :: Lens' DisassociateTransitGatewayRouteTableResponse (Maybe TransitGatewayAssociation)
- disassociateTransitGatewayRouteTableResponse_httpStatus :: Lens' DisassociateTransitGatewayRouteTableResponse Int
Creating a Request
data DisassociateTransitGatewayRouteTable Source #
See: newDisassociateTransitGatewayRouteTable
smart constructor.
DisassociateTransitGatewayRouteTable' | |
|
Instances
newDisassociateTransitGatewayRouteTable Source #
Create a value of DisassociateTransitGatewayRouteTable
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:DisassociateTransitGatewayRouteTable'
, disassociateTransitGatewayRouteTable_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
.
DisassociateTransitGatewayRouteTable
, disassociateTransitGatewayRouteTable_transitGatewayRouteTableId
- The ID of the transit gateway route table.
DisassociateTransitGatewayRouteTable
, disassociateTransitGatewayRouteTable_transitGatewayAttachmentId
- The ID of the attachment.
Request Lenses
disassociateTransitGatewayRouteTable_dryRun :: Lens' DisassociateTransitGatewayRouteTable (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
.
disassociateTransitGatewayRouteTable_transitGatewayRouteTableId :: Lens' DisassociateTransitGatewayRouteTable Text Source #
The ID of the transit gateway route table.
disassociateTransitGatewayRouteTable_transitGatewayAttachmentId :: Lens' DisassociateTransitGatewayRouteTable Text Source #
The ID of the attachment.
Destructuring the Response
data DisassociateTransitGatewayRouteTableResponse Source #
See: newDisassociateTransitGatewayRouteTableResponse
smart constructor.
DisassociateTransitGatewayRouteTableResponse' | |
|
Instances
newDisassociateTransitGatewayRouteTableResponse Source #
:: Int |
|
-> DisassociateTransitGatewayRouteTableResponse |
Create a value of DisassociateTransitGatewayRouteTableResponse
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:
DisassociateTransitGatewayRouteTableResponse
, disassociateTransitGatewayRouteTableResponse_association
- Information about the association.
$sel:httpStatus:DisassociateTransitGatewayRouteTableResponse'
, disassociateTransitGatewayRouteTableResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateTransitGatewayRouteTableResponse_association :: Lens' DisassociateTransitGatewayRouteTableResponse (Maybe TransitGatewayAssociation) Source #
Information about the association.
disassociateTransitGatewayRouteTableResponse_httpStatus :: Lens' DisassociateTransitGatewayRouteTableResponse Int Source #
The response's http status code.