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.DeleteRoute
Description
Deletes the specified route from the specified route table.
Synopsis
- data DeleteRoute = DeleteRoute' {}
- newDeleteRoute :: Text -> DeleteRoute
- deleteRoute_destinationCidrBlock :: Lens' DeleteRoute (Maybe Text)
- deleteRoute_destinationIpv6CidrBlock :: Lens' DeleteRoute (Maybe Text)
- deleteRoute_destinationPrefixListId :: Lens' DeleteRoute (Maybe Text)
- deleteRoute_dryRun :: Lens' DeleteRoute (Maybe Bool)
- deleteRoute_routeTableId :: Lens' DeleteRoute Text
- data DeleteRouteResponse = DeleteRouteResponse' {
- newDeleteRouteResponse :: DeleteRouteResponse
Creating a Request
data DeleteRoute Source #
See: newDeleteRoute
smart constructor.
Constructors
DeleteRoute' | |
Fields
|
Instances
Arguments
:: Text | |
-> DeleteRoute |
Create a value of DeleteRoute
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:
DeleteRoute
, deleteRoute_destinationCidrBlock
- The IPv4 CIDR range for the route. The value you specify must match the
CIDR for the route exactly.
DeleteRoute
, deleteRoute_destinationIpv6CidrBlock
- The IPv6 CIDR range for the route. The value you specify must match the
CIDR for the route exactly.
DeleteRoute
, deleteRoute_destinationPrefixListId
- The ID of the prefix list for the route.
$sel:dryRun:DeleteRoute'
, deleteRoute_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
.
DeleteRoute
, deleteRoute_routeTableId
- The ID of the route table.
Request Lenses
deleteRoute_destinationCidrBlock :: Lens' DeleteRoute (Maybe Text) Source #
The IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
deleteRoute_destinationIpv6CidrBlock :: Lens' DeleteRoute (Maybe Text) Source #
The IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
deleteRoute_destinationPrefixListId :: Lens' DeleteRoute (Maybe Text) Source #
The ID of the prefix list for the route.
deleteRoute_dryRun :: Lens' DeleteRoute (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
.
deleteRoute_routeTableId :: Lens' DeleteRoute Text Source #
The ID of the route table.
Destructuring the Response
data DeleteRouteResponse Source #
See: newDeleteRouteResponse
smart constructor.
Constructors
DeleteRouteResponse' | |
Instances
Generic DeleteRouteResponse Source # | |
Defined in Amazonka.EC2.DeleteRoute Associated Types type Rep DeleteRouteResponse :: Type -> Type # Methods from :: DeleteRouteResponse -> Rep DeleteRouteResponse x # to :: Rep DeleteRouteResponse x -> DeleteRouteResponse # | |
Read DeleteRouteResponse Source # | |
Defined in Amazonka.EC2.DeleteRoute Methods readsPrec :: Int -> ReadS DeleteRouteResponse # readList :: ReadS [DeleteRouteResponse] # | |
Show DeleteRouteResponse Source # | |
Defined in Amazonka.EC2.DeleteRoute Methods showsPrec :: Int -> DeleteRouteResponse -> ShowS # show :: DeleteRouteResponse -> String # showList :: [DeleteRouteResponse] -> ShowS # | |
NFData DeleteRouteResponse Source # | |
Defined in Amazonka.EC2.DeleteRoute Methods rnf :: DeleteRouteResponse -> () # | |
Eq DeleteRouteResponse Source # | |
Defined in Amazonka.EC2.DeleteRoute Methods (==) :: DeleteRouteResponse -> DeleteRouteResponse -> Bool # (/=) :: DeleteRouteResponse -> DeleteRouteResponse -> Bool # | |
type Rep DeleteRouteResponse Source # | |
newDeleteRouteResponse :: DeleteRouteResponse Source #
Create a value of DeleteRouteResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.