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 |
Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table.
Synopsis
- data DeleteRouteTable = DeleteRouteTable' {
- dryRun :: Maybe Bool
- routeTableId :: Text
- newDeleteRouteTable :: Text -> DeleteRouteTable
- deleteRouteTable_dryRun :: Lens' DeleteRouteTable (Maybe Bool)
- deleteRouteTable_routeTableId :: Lens' DeleteRouteTable Text
- data DeleteRouteTableResponse = DeleteRouteTableResponse' {
- newDeleteRouteTableResponse :: DeleteRouteTableResponse
Creating a Request
data DeleteRouteTable Source #
See: newDeleteRouteTable
smart constructor.
DeleteRouteTable' | |
|
Instances
Create a value of DeleteRouteTable
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:DeleteRouteTable'
, deleteRouteTable_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
.
DeleteRouteTable
, deleteRouteTable_routeTableId
- The ID of the route table.
Request Lenses
deleteRouteTable_dryRun :: Lens' DeleteRouteTable (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
.
deleteRouteTable_routeTableId :: Lens' DeleteRouteTable Text Source #
The ID of the route table.
Destructuring the Response
data DeleteRouteTableResponse Source #
See: newDeleteRouteTableResponse
smart constructor.
Instances
Generic DeleteRouteTableResponse Source # | |
Defined in Amazonka.EC2.DeleteRouteTable type Rep DeleteRouteTableResponse :: Type -> Type # | |
Read DeleteRouteTableResponse Source # | |
Show DeleteRouteTableResponse Source # | |
Defined in Amazonka.EC2.DeleteRouteTable showsPrec :: Int -> DeleteRouteTableResponse -> ShowS # show :: DeleteRouteTableResponse -> String # showList :: [DeleteRouteTableResponse] -> ShowS # | |
NFData DeleteRouteTableResponse Source # | |
Defined in Amazonka.EC2.DeleteRouteTable rnf :: DeleteRouteTableResponse -> () # | |
Eq DeleteRouteTableResponse Source # | |
Defined in Amazonka.EC2.DeleteRouteTable | |
type Rep DeleteRouteTableResponse Source # | |
newDeleteRouteTableResponse :: DeleteRouteTableResponse Source #
Create a value of DeleteRouteTableResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.