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 |
Restarts selected nodes of a previous partially completed workflow run and resumes the workflow run. The selected nodes and all nodes that are downstream from the selected nodes are run.
Synopsis
- data ResumeWorkflowRun = ResumeWorkflowRun' {}
- newResumeWorkflowRun :: Text -> Text -> ResumeWorkflowRun
- resumeWorkflowRun_name :: Lens' ResumeWorkflowRun Text
- resumeWorkflowRun_runId :: Lens' ResumeWorkflowRun Text
- resumeWorkflowRun_nodeIds :: Lens' ResumeWorkflowRun [Text]
- data ResumeWorkflowRunResponse = ResumeWorkflowRunResponse' {}
- newResumeWorkflowRunResponse :: Int -> ResumeWorkflowRunResponse
- resumeWorkflowRunResponse_nodeIds :: Lens' ResumeWorkflowRunResponse (Maybe [Text])
- resumeWorkflowRunResponse_runId :: Lens' ResumeWorkflowRunResponse (Maybe Text)
- resumeWorkflowRunResponse_httpStatus :: Lens' ResumeWorkflowRunResponse Int
Creating a Request
data ResumeWorkflowRun Source #
See: newResumeWorkflowRun
smart constructor.
Instances
Create a value of ResumeWorkflowRun
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:name:ResumeWorkflowRun'
, resumeWorkflowRun_name
- The name of the workflow to resume.
$sel:runId:ResumeWorkflowRun'
, resumeWorkflowRun_runId
- The ID of the workflow run to resume.
$sel:nodeIds:ResumeWorkflowRun'
, resumeWorkflowRun_nodeIds
- A list of the node IDs for the nodes you want to restart. The nodes that
are to be restarted must have a run attempt in the original run.
Request Lenses
resumeWorkflowRun_name :: Lens' ResumeWorkflowRun Text Source #
The name of the workflow to resume.
resumeWorkflowRun_runId :: Lens' ResumeWorkflowRun Text Source #
The ID of the workflow run to resume.
resumeWorkflowRun_nodeIds :: Lens' ResumeWorkflowRun [Text] Source #
A list of the node IDs for the nodes you want to restart. The nodes that are to be restarted must have a run attempt in the original run.
Destructuring the Response
data ResumeWorkflowRunResponse Source #
See: newResumeWorkflowRunResponse
smart constructor.
Instances
newResumeWorkflowRunResponse Source #
Create a value of ResumeWorkflowRunResponse
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:nodeIds:ResumeWorkflowRun'
, resumeWorkflowRunResponse_nodeIds
- A list of the node IDs for the nodes that were actually restarted.
$sel:runId:ResumeWorkflowRun'
, resumeWorkflowRunResponse_runId
- The new ID assigned to the resumed workflow run. Each resume of a
workflow run will have a new run ID.
$sel:httpStatus:ResumeWorkflowRunResponse'
, resumeWorkflowRunResponse_httpStatus
- The response's http status code.
Response Lenses
resumeWorkflowRunResponse_nodeIds :: Lens' ResumeWorkflowRunResponse (Maybe [Text]) Source #
A list of the node IDs for the nodes that were actually restarted.
resumeWorkflowRunResponse_runId :: Lens' ResumeWorkflowRunResponse (Maybe Text) Source #
The new ID assigned to the resumed workflow run. Each resume of a workflow run will have a new run ID.
resumeWorkflowRunResponse_httpStatus :: Lens' ResumeWorkflowRunResponse Int Source #
The response's http status code.