| 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.Glue.ResumeWorkflowRun
Description
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.
Constructors
| ResumeWorkflowRun' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> ResumeWorkflowRun |
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:
ResumeWorkflowRun, resumeWorkflowRun_name - The name of the workflow to resume.
ResumeWorkflowRun, resumeWorkflowRun_runId - The ID of the workflow run to resume.
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.
Constructors
| ResumeWorkflowRunResponse' | |
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:
ResumeWorkflowRun, resumeWorkflowRunResponse_nodeIds - A list of the node IDs for the nodes that were actually restarted.
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.