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 |
Stop an ongoing migration workflow.
Synopsis
- data StopWorkflow = StopWorkflow' {}
- newStopWorkflow :: Text -> StopWorkflow
- stopWorkflow_id :: Lens' StopWorkflow Text
- data StopWorkflowResponse = StopWorkflowResponse' {}
- newStopWorkflowResponse :: Int -> StopWorkflowResponse
- stopWorkflowResponse_arn :: Lens' StopWorkflowResponse (Maybe Text)
- stopWorkflowResponse_id :: Lens' StopWorkflowResponse (Maybe Text)
- stopWorkflowResponse_lastStopTime :: Lens' StopWorkflowResponse (Maybe UTCTime)
- stopWorkflowResponse_status :: Lens' StopWorkflowResponse (Maybe MigrationWorkflowStatusEnum)
- stopWorkflowResponse_statusMessage :: Lens' StopWorkflowResponse (Maybe Text)
- stopWorkflowResponse_httpStatus :: Lens' StopWorkflowResponse Int
Creating a Request
data StopWorkflow Source #
See: newStopWorkflow
smart constructor.
Instances
Create a value of StopWorkflow
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:
StopWorkflow
, stopWorkflow_id
- The ID of the migration workflow.
Request Lenses
stopWorkflow_id :: Lens' StopWorkflow Text Source #
The ID of the migration workflow.
Destructuring the Response
data StopWorkflowResponse Source #
See: newStopWorkflowResponse
smart constructor.
StopWorkflowResponse' | |
|
Instances
newStopWorkflowResponse Source #
Create a value of StopWorkflowResponse
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:
StopWorkflowResponse
, stopWorkflowResponse_arn
- The Amazon Resource Name (ARN) of the migration workflow.
StopWorkflow
, stopWorkflowResponse_id
- The ID of the migration workflow.
$sel:lastStopTime:StopWorkflowResponse'
, stopWorkflowResponse_lastStopTime
- The time at which the migration workflow was stopped.
StopWorkflowResponse
, stopWorkflowResponse_status
- The status of the migration workflow.
StopWorkflowResponse
, stopWorkflowResponse_statusMessage
- The status message of the migration workflow.
$sel:httpStatus:StopWorkflowResponse'
, stopWorkflowResponse_httpStatus
- The response's http status code.
Response Lenses
stopWorkflowResponse_arn :: Lens' StopWorkflowResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the migration workflow.
stopWorkflowResponse_id :: Lens' StopWorkflowResponse (Maybe Text) Source #
The ID of the migration workflow.
stopWorkflowResponse_lastStopTime :: Lens' StopWorkflowResponse (Maybe UTCTime) Source #
The time at which the migration workflow was stopped.
stopWorkflowResponse_status :: Lens' StopWorkflowResponse (Maybe MigrationWorkflowStatusEnum) Source #
The status of the migration workflow.
stopWorkflowResponse_statusMessage :: Lens' StopWorkflowResponse (Maybe Text) Source #
The status message of the migration workflow.
stopWorkflowResponse_httpStatus :: Lens' StopWorkflowResponse Int Source #
The response's http status code.