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 |
Amazonka.EC2.DeleteLocalGatewayRouteTable
Description
Deletes a local gateway route table.
Synopsis
- data DeleteLocalGatewayRouteTable = DeleteLocalGatewayRouteTable' {}
- newDeleteLocalGatewayRouteTable :: Text -> DeleteLocalGatewayRouteTable
- deleteLocalGatewayRouteTable_dryRun :: Lens' DeleteLocalGatewayRouteTable (Maybe Bool)
- deleteLocalGatewayRouteTable_localGatewayRouteTableId :: Lens' DeleteLocalGatewayRouteTable Text
- data DeleteLocalGatewayRouteTableResponse = DeleteLocalGatewayRouteTableResponse' {}
- newDeleteLocalGatewayRouteTableResponse :: Int -> DeleteLocalGatewayRouteTableResponse
- deleteLocalGatewayRouteTableResponse_localGatewayRouteTable :: Lens' DeleteLocalGatewayRouteTableResponse (Maybe LocalGatewayRouteTable)
- deleteLocalGatewayRouteTableResponse_httpStatus :: Lens' DeleteLocalGatewayRouteTableResponse Int
Creating a Request
data DeleteLocalGatewayRouteTable Source #
See: newDeleteLocalGatewayRouteTable
smart constructor.
Constructors
DeleteLocalGatewayRouteTable' | |
Fields
|
Instances
newDeleteLocalGatewayRouteTable Source #
Arguments
:: Text | |
-> DeleteLocalGatewayRouteTable |
Create a value of DeleteLocalGatewayRouteTable
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:DeleteLocalGatewayRouteTable'
, deleteLocalGatewayRouteTable_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
.
DeleteLocalGatewayRouteTable
, deleteLocalGatewayRouteTable_localGatewayRouteTableId
- The ID of the local gateway route table.
Request Lenses
deleteLocalGatewayRouteTable_dryRun :: Lens' DeleteLocalGatewayRouteTable (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
.
deleteLocalGatewayRouteTable_localGatewayRouteTableId :: Lens' DeleteLocalGatewayRouteTable Text Source #
The ID of the local gateway route table.
Destructuring the Response
data DeleteLocalGatewayRouteTableResponse Source #
See: newDeleteLocalGatewayRouteTableResponse
smart constructor.
Constructors
DeleteLocalGatewayRouteTableResponse' | |
Fields
|
Instances
newDeleteLocalGatewayRouteTableResponse Source #
Arguments
:: Int | |
-> DeleteLocalGatewayRouteTableResponse |
Create a value of DeleteLocalGatewayRouteTableResponse
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:localGatewayRouteTable:DeleteLocalGatewayRouteTableResponse'
, deleteLocalGatewayRouteTableResponse_localGatewayRouteTable
- Information about the local gateway route table.
$sel:httpStatus:DeleteLocalGatewayRouteTableResponse'
, deleteLocalGatewayRouteTableResponse_httpStatus
- The response's http status code.
Response Lenses
deleteLocalGatewayRouteTableResponse_localGatewayRouteTable :: Lens' DeleteLocalGatewayRouteTableResponse (Maybe LocalGatewayRouteTable) Source #
Information about the local gateway route table.
deleteLocalGatewayRouteTableResponse_httpStatus :: Lens' DeleteLocalGatewayRouteTableResponse Int Source #
The response's http status code.