| 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.MigrationHubReFactorSpaces.DeleteRoute
Description
Deletes an Amazon Web Services Migration Hub Refactor Spaces route.
Synopsis
- data DeleteRoute = DeleteRoute' {}
- newDeleteRoute :: Text -> Text -> Text -> DeleteRoute
- deleteRoute_applicationIdentifier :: Lens' DeleteRoute Text
- deleteRoute_environmentIdentifier :: Lens' DeleteRoute Text
- deleteRoute_routeIdentifier :: Lens' DeleteRoute Text
- data DeleteRouteResponse = DeleteRouteResponse' {
- applicationId :: Maybe Text
- arn :: Maybe Text
- lastUpdatedTime :: Maybe POSIX
- routeId :: Maybe Text
- serviceId :: Maybe Text
- state :: Maybe RouteState
- httpStatus :: Int
- newDeleteRouteResponse :: Int -> DeleteRouteResponse
- deleteRouteResponse_applicationId :: Lens' DeleteRouteResponse (Maybe Text)
- deleteRouteResponse_arn :: Lens' DeleteRouteResponse (Maybe Text)
- deleteRouteResponse_lastUpdatedTime :: Lens' DeleteRouteResponse (Maybe UTCTime)
- deleteRouteResponse_routeId :: Lens' DeleteRouteResponse (Maybe Text)
- deleteRouteResponse_serviceId :: Lens' DeleteRouteResponse (Maybe Text)
- deleteRouteResponse_state :: Lens' DeleteRouteResponse (Maybe RouteState)
- deleteRouteResponse_httpStatus :: Lens' DeleteRouteResponse Int
Creating a Request
data DeleteRoute Source #
See: newDeleteRoute smart constructor.
Constructors
| DeleteRoute' | |
Fields
| |
Instances
Arguments
| :: 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:applicationIdentifier:DeleteRoute', deleteRoute_applicationIdentifier - The ID of the application to delete the route from.
$sel:environmentIdentifier:DeleteRoute', deleteRoute_environmentIdentifier - The ID of the environment to delete the route from.
$sel:routeIdentifier:DeleteRoute', deleteRoute_routeIdentifier - The ID of the route to delete.
Request Lenses
deleteRoute_applicationIdentifier :: Lens' DeleteRoute Text Source #
The ID of the application to delete the route from.
deleteRoute_environmentIdentifier :: Lens' DeleteRoute Text Source #
The ID of the environment to delete the route from.
deleteRoute_routeIdentifier :: Lens' DeleteRoute Text Source #
The ID of the route to delete.
Destructuring the Response
data DeleteRouteResponse Source #
See: newDeleteRouteResponse smart constructor.
Constructors
| DeleteRouteResponse' | |
Fields
| |
Instances
newDeleteRouteResponse Source #
Arguments
| :: Int | |
| -> 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:
DeleteRouteResponse, deleteRouteResponse_applicationId - The ID of the application that the route belongs to.
DeleteRouteResponse, deleteRouteResponse_arn - The Amazon Resource Name (ARN) of the route.
DeleteRouteResponse, deleteRouteResponse_lastUpdatedTime - A timestamp that indicates when the route was last updated.
DeleteRouteResponse, deleteRouteResponse_routeId - The ID of the route to delete.
DeleteRouteResponse, deleteRouteResponse_serviceId - The ID of the service that the route belongs to.
DeleteRouteResponse, deleteRouteResponse_state - The current state of the route.
$sel:httpStatus:DeleteRouteResponse', deleteRouteResponse_httpStatus - The response's http status code.
Response Lenses
deleteRouteResponse_applicationId :: Lens' DeleteRouteResponse (Maybe Text) Source #
The ID of the application that the route belongs to.
deleteRouteResponse_arn :: Lens' DeleteRouteResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the route.
deleteRouteResponse_lastUpdatedTime :: Lens' DeleteRouteResponse (Maybe UTCTime) Source #
A timestamp that indicates when the route was last updated.
deleteRouteResponse_routeId :: Lens' DeleteRouteResponse (Maybe Text) Source #
The ID of the route to delete.
deleteRouteResponse_serviceId :: Lens' DeleteRouteResponse (Maybe Text) Source #
The ID of the service that the route belongs to.
deleteRouteResponse_state :: Lens' DeleteRouteResponse (Maybe RouteState) Source #
The current state of the route.
deleteRouteResponse_httpStatus :: Lens' DeleteRouteResponse Int Source #
The response's http status code.