| 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.StartWorkflowRun
Description
Starts a new run of the specified workflow.
Synopsis
- data StartWorkflowRun = StartWorkflowRun' {}
- newStartWorkflowRun :: Text -> StartWorkflowRun
- startWorkflowRun_runProperties :: Lens' StartWorkflowRun (Maybe (HashMap Text Text))
- startWorkflowRun_name :: Lens' StartWorkflowRun Text
- data StartWorkflowRunResponse = StartWorkflowRunResponse' {
- runId :: Maybe Text
- httpStatus :: Int
- newStartWorkflowRunResponse :: Int -> StartWorkflowRunResponse
- startWorkflowRunResponse_runId :: Lens' StartWorkflowRunResponse (Maybe Text)
- startWorkflowRunResponse_httpStatus :: Lens' StartWorkflowRunResponse Int
Creating a Request
data StartWorkflowRun Source #
See: newStartWorkflowRun smart constructor.
Constructors
| StartWorkflowRun' | |
Instances
Arguments
| :: Text | |
| -> StartWorkflowRun |
Create a value of StartWorkflowRun 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:runProperties:StartWorkflowRun', startWorkflowRun_runProperties - The workflow run properties for the new workflow run.
StartWorkflowRun, startWorkflowRun_name - The name of the workflow to start.
Request Lenses
startWorkflowRun_runProperties :: Lens' StartWorkflowRun (Maybe (HashMap Text Text)) Source #
The workflow run properties for the new workflow run.
startWorkflowRun_name :: Lens' StartWorkflowRun Text Source #
The name of the workflow to start.
Destructuring the Response
data StartWorkflowRunResponse Source #
See: newStartWorkflowRunResponse smart constructor.
Constructors
| StartWorkflowRunResponse' | |
Fields
| |
Instances
newStartWorkflowRunResponse Source #
Create a value of StartWorkflowRunResponse 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:
StartWorkflowRunResponse, startWorkflowRunResponse_runId - An Id for the new run.
$sel:httpStatus:StartWorkflowRunResponse', startWorkflowRunResponse_httpStatus - The response's http status code.
Response Lenses
startWorkflowRunResponse_runId :: Lens' StartWorkflowRunResponse (Maybe Text) Source #
An Id for the new run.
startWorkflowRunResponse_httpStatus :: Lens' StartWorkflowRunResponse Int Source #
The response's http status code.