Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes an existing route.
Synopsis
- data DeleteRoute = DeleteRoute' {}
- newDeleteRoute :: Text -> Text -> Text -> DeleteRoute
- deleteRoute_meshOwner :: Lens' DeleteRoute (Maybe Text)
- deleteRoute_meshName :: Lens' DeleteRoute Text
- deleteRoute_routeName :: Lens' DeleteRoute Text
- deleteRoute_virtualRouterName :: Lens' DeleteRoute Text
- data DeleteRouteResponse = DeleteRouteResponse' {
- httpStatus :: Int
- route :: RouteData
- newDeleteRouteResponse :: Int -> RouteData -> DeleteRouteResponse
- deleteRouteResponse_httpStatus :: Lens' DeleteRouteResponse Int
- deleteRouteResponse_route :: Lens' DeleteRouteResponse RouteData
Creating a Request
data DeleteRoute Source #
See: newDeleteRoute
smart constructor.
DeleteRoute' | |
|
Instances
:: Text | |
-> Text | |
-> 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:
$sel:meshOwner:DeleteRoute'
, deleteRoute_meshOwner
- The AWS IAM account ID of the service mesh owner. If the account ID is
not your own, then it's the ID of the account that shared the mesh with
your account. For more information about mesh sharing, see
Working with shared meshes.
$sel:meshName:DeleteRoute'
, deleteRoute_meshName
- The name of the service mesh to delete the route in.
$sel:routeName:DeleteRoute'
, deleteRoute_routeName
- The name of the route to delete.
$sel:virtualRouterName:DeleteRoute'
, deleteRoute_virtualRouterName
- The name of the virtual router to delete the route in.
Request Lenses
deleteRoute_meshOwner :: Lens' DeleteRoute (Maybe Text) Source #
The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
deleteRoute_meshName :: Lens' DeleteRoute Text Source #
The name of the service mesh to delete the route in.
deleteRoute_routeName :: Lens' DeleteRoute Text Source #
The name of the route to delete.
deleteRoute_virtualRouterName :: Lens' DeleteRoute Text Source #
The name of the virtual router to delete the route in.
Destructuring the Response
data DeleteRouteResponse Source #
See: newDeleteRouteResponse
smart constructor.
DeleteRouteResponse' | |
|
Instances
newDeleteRouteResponse Source #
:: Int | |
-> RouteData | |
-> DeleteRouteResponse |
Create a value of DeleteRouteResponse
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:httpStatus:DeleteRouteResponse'
, deleteRouteResponse_httpStatus
- The response's http status code.
$sel:route:DeleteRouteResponse'
, deleteRouteResponse_route
- The route that was deleted.
Response Lenses
deleteRouteResponse_httpStatus :: Lens' DeleteRouteResponse Int Source #
The response's http status code.
deleteRouteResponse_route :: Lens' DeleteRouteResponse RouteData Source #
The route that was deleted.