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 |
Starts a new run of the specified workflow.
Synopsis
- data StartWorkflowRun = StartWorkflowRun' {}
- newStartWorkflowRun :: Text -> StartWorkflowRun
- 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.
Instances
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:name:StartWorkflowRun'
, startWorkflowRun_name
- The name of the workflow to start.
Request Lenses
startWorkflowRun_name :: Lens' StartWorkflowRun Text Source #
The name of the workflow to start.
Destructuring the Response
data StartWorkflowRunResponse Source #
See: newStartWorkflowRunResponse
smart constructor.
StartWorkflowRunResponse' | |
|
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:
$sel:runId: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.