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 subnet or gateway from a route table.
After you perform this action, the subnet no longer uses the routes in the route table. Instead, it uses the routes in the VPC's main route table. For more information about route tables, see Route tables in the Amazon Virtual Private Cloud User Guide.
Synopsis
- data DisassociateRouteTable = DisassociateRouteTable' {
- dryRun :: Maybe Bool
- associationId :: Text
- newDisassociateRouteTable :: Text -> DisassociateRouteTable
- disassociateRouteTable_dryRun :: Lens' DisassociateRouteTable (Maybe Bool)
- disassociateRouteTable_associationId :: Lens' DisassociateRouteTable Text
- data DisassociateRouteTableResponse = DisassociateRouteTableResponse' {
- newDisassociateRouteTableResponse :: DisassociateRouteTableResponse
Creating a Request
data DisassociateRouteTable Source #
See: newDisassociateRouteTable
smart constructor.
DisassociateRouteTable' | |
|
Instances
newDisassociateRouteTable Source #
Create a value of DisassociateRouteTable
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:DisassociateRouteTable'
, disassociateRouteTable_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
.
DisassociateRouteTable
, disassociateRouteTable_associationId
- The association ID representing the current association between the
route table and subnet or gateway.
Request Lenses
disassociateRouteTable_dryRun :: Lens' DisassociateRouteTable (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
.
disassociateRouteTable_associationId :: Lens' DisassociateRouteTable Text Source #
The association ID representing the current association between the route table and subnet or gateway.
Destructuring the Response
data DisassociateRouteTableResponse Source #
See: newDisassociateRouteTableResponse
smart constructor.
Instances
newDisassociateRouteTableResponse :: DisassociateRouteTableResponse Source #
Create a value of DisassociateRouteTableResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.