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 |
Start a migration workflow.
Synopsis
- data StartWorkflow = StartWorkflow' {}
- newStartWorkflow :: Text -> StartWorkflow
- startWorkflow_id :: Lens' StartWorkflow Text
- data StartWorkflowResponse = StartWorkflowResponse' {}
- newStartWorkflowResponse :: Int -> StartWorkflowResponse
- startWorkflowResponse_arn :: Lens' StartWorkflowResponse (Maybe Text)
- startWorkflowResponse_id :: Lens' StartWorkflowResponse (Maybe Text)
- startWorkflowResponse_lastStartTime :: Lens' StartWorkflowResponse (Maybe UTCTime)
- startWorkflowResponse_status :: Lens' StartWorkflowResponse (Maybe MigrationWorkflowStatusEnum)
- startWorkflowResponse_statusMessage :: Lens' StartWorkflowResponse (Maybe Text)
- startWorkflowResponse_httpStatus :: Lens' StartWorkflowResponse Int
Creating a Request
data StartWorkflow Source #
See: newStartWorkflow
smart constructor.
Instances
Create a value of StartWorkflow
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:
StartWorkflow
, startWorkflow_id
- The ID of the migration workflow.
Request Lenses
startWorkflow_id :: Lens' StartWorkflow Text Source #
The ID of the migration workflow.
Destructuring the Response
data StartWorkflowResponse Source #
See: newStartWorkflowResponse
smart constructor.
StartWorkflowResponse' | |
|
Instances
newStartWorkflowResponse Source #
Create a value of StartWorkflowResponse
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:
StartWorkflowResponse
, startWorkflowResponse_arn
- The Amazon Resource Name (ARN) of the migration workflow.
StartWorkflow
, startWorkflowResponse_id
- The ID of the migration workflow.
$sel:lastStartTime:StartWorkflowResponse'
, startWorkflowResponse_lastStartTime
- The time at which the migration workflow was last started.
StartWorkflowResponse
, startWorkflowResponse_status
- The status of the migration workflow.
StartWorkflowResponse
, startWorkflowResponse_statusMessage
- The status message of the migration workflow.
$sel:httpStatus:StartWorkflowResponse'
, startWorkflowResponse_httpStatus
- The response's http status code.
Response Lenses
startWorkflowResponse_arn :: Lens' StartWorkflowResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the migration workflow.
startWorkflowResponse_id :: Lens' StartWorkflowResponse (Maybe Text) Source #
The ID of the migration workflow.
startWorkflowResponse_lastStartTime :: Lens' StartWorkflowResponse (Maybe UTCTime) Source #
The time at which the migration workflow was last started.
startWorkflowResponse_status :: Lens' StartWorkflowResponse (Maybe MigrationWorkflowStatusEnum) Source #
The status of the migration workflow.
startWorkflowResponse_statusMessage :: Lens' StartWorkflowResponse (Maybe Text) Source #
The status message of the migration workflow.
startWorkflowResponse_httpStatus :: Lens' StartWorkflowResponse Int Source #
The response's http status code.