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 from the specified local gateway route table.
Synopsis
- data DeleteLocalGatewayRoute = DeleteLocalGatewayRoute' {}
- newDeleteLocalGatewayRoute :: Text -> Text -> DeleteLocalGatewayRoute
- deleteLocalGatewayRoute_dryRun :: Lens' DeleteLocalGatewayRoute (Maybe Bool)
- deleteLocalGatewayRoute_destinationCidrBlock :: Lens' DeleteLocalGatewayRoute Text
- deleteLocalGatewayRoute_localGatewayRouteTableId :: Lens' DeleteLocalGatewayRoute Text
- data DeleteLocalGatewayRouteResponse = DeleteLocalGatewayRouteResponse' {}
- newDeleteLocalGatewayRouteResponse :: Int -> DeleteLocalGatewayRouteResponse
- deleteLocalGatewayRouteResponse_route :: Lens' DeleteLocalGatewayRouteResponse (Maybe LocalGatewayRoute)
- deleteLocalGatewayRouteResponse_httpStatus :: Lens' DeleteLocalGatewayRouteResponse Int
Creating a Request
data DeleteLocalGatewayRoute Source #
See: newDeleteLocalGatewayRoute
smart constructor.
DeleteLocalGatewayRoute' | |
|
Instances
newDeleteLocalGatewayRoute Source #
Create a value of DeleteLocalGatewayRoute
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:DeleteLocalGatewayRoute'
, deleteLocalGatewayRoute_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
.
DeleteLocalGatewayRoute
, deleteLocalGatewayRoute_destinationCidrBlock
- The CIDR range for the route. This must match the CIDR for the route
exactly.
DeleteLocalGatewayRoute
, deleteLocalGatewayRoute_localGatewayRouteTableId
- The ID of the local gateway route table.
Request Lenses
deleteLocalGatewayRoute_dryRun :: Lens' DeleteLocalGatewayRoute (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
.
deleteLocalGatewayRoute_destinationCidrBlock :: Lens' DeleteLocalGatewayRoute Text Source #
The CIDR range for the route. This must match the CIDR for the route exactly.
deleteLocalGatewayRoute_localGatewayRouteTableId :: Lens' DeleteLocalGatewayRoute Text Source #
The ID of the local gateway route table.
Destructuring the Response
data DeleteLocalGatewayRouteResponse Source #
See: newDeleteLocalGatewayRouteResponse
smart constructor.
DeleteLocalGatewayRouteResponse' | |
|
Instances
Generic DeleteLocalGatewayRouteResponse Source # | |
Read DeleteLocalGatewayRouteResponse Source # | |
Show DeleteLocalGatewayRouteResponse Source # | |
Defined in Amazonka.EC2.DeleteLocalGatewayRoute | |
NFData DeleteLocalGatewayRouteResponse Source # | |
Defined in Amazonka.EC2.DeleteLocalGatewayRoute rnf :: DeleteLocalGatewayRouteResponse -> () # | |
Eq DeleteLocalGatewayRouteResponse Source # | |
type Rep DeleteLocalGatewayRouteResponse Source # | |
Defined in Amazonka.EC2.DeleteLocalGatewayRoute type Rep DeleteLocalGatewayRouteResponse = D1 ('MetaData "DeleteLocalGatewayRouteResponse" "Amazonka.EC2.DeleteLocalGatewayRoute" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteLocalGatewayRouteResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "route") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LocalGatewayRoute)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteLocalGatewayRouteResponse Source #
Create a value of DeleteLocalGatewayRouteResponse
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:route:DeleteLocalGatewayRouteResponse'
, deleteLocalGatewayRouteResponse_route
- Information about the route.
$sel:httpStatus:DeleteLocalGatewayRouteResponse'
, deleteLocalGatewayRouteResponse_httpStatus
- The response's http status code.
Response Lenses
deleteLocalGatewayRouteResponse_route :: Lens' DeleteLocalGatewayRouteResponse (Maybe LocalGatewayRoute) Source #
Information about the route.
deleteLocalGatewayRouteResponse_httpStatus :: Lens' DeleteLocalGatewayRouteResponse Int Source #
The response's http status code.