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 |
Retrieves the metadata for a given workflow run.
Synopsis
- data GetWorkflowRun = GetWorkflowRun' {}
- newGetWorkflowRun :: Text -> Text -> GetWorkflowRun
- getWorkflowRun_includeGraph :: Lens' GetWorkflowRun (Maybe Bool)
- getWorkflowRun_name :: Lens' GetWorkflowRun Text
- getWorkflowRun_runId :: Lens' GetWorkflowRun Text
- data GetWorkflowRunResponse = GetWorkflowRunResponse' {
- run :: Maybe WorkflowRun
- httpStatus :: Int
- newGetWorkflowRunResponse :: Int -> GetWorkflowRunResponse
- getWorkflowRunResponse_run :: Lens' GetWorkflowRunResponse (Maybe WorkflowRun)
- getWorkflowRunResponse_httpStatus :: Lens' GetWorkflowRunResponse Int
Creating a Request
data GetWorkflowRun Source #
See: newGetWorkflowRun
smart constructor.
Instances
Create a value of GetWorkflowRun
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:includeGraph:GetWorkflowRun'
, getWorkflowRun_includeGraph
- Specifies whether to include the workflow graph in response or not.
$sel:name:GetWorkflowRun'
, getWorkflowRun_name
- Name of the workflow being run.
$sel:runId:GetWorkflowRun'
, getWorkflowRun_runId
- The ID of the workflow run.
Request Lenses
getWorkflowRun_includeGraph :: Lens' GetWorkflowRun (Maybe Bool) Source #
Specifies whether to include the workflow graph in response or not.
getWorkflowRun_name :: Lens' GetWorkflowRun Text Source #
Name of the workflow being run.
getWorkflowRun_runId :: Lens' GetWorkflowRun Text Source #
The ID of the workflow run.
Destructuring the Response
data GetWorkflowRunResponse Source #
See: newGetWorkflowRunResponse
smart constructor.
GetWorkflowRunResponse' | |
|
Instances
newGetWorkflowRunResponse Source #
Create a value of GetWorkflowRunResponse
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:run:GetWorkflowRunResponse'
, getWorkflowRunResponse_run
- The requested workflow run metadata.
$sel:httpStatus:GetWorkflowRunResponse'
, getWorkflowRunResponse_httpStatus
- The response's http status code.
Response Lenses
getWorkflowRunResponse_run :: Lens' GetWorkflowRunResponse (Maybe WorkflowRun) Source #
The requested workflow run metadata.
getWorkflowRunResponse_httpStatus :: Lens' GetWorkflowRunResponse Int Source #
The response's http status code.