| 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.GetWorkflowRuns
Description
Retrieves metadata for all runs of a given workflow.
Synopsis
- data GetWorkflowRuns = GetWorkflowRuns' {}
- newGetWorkflowRuns :: Text -> GetWorkflowRuns
- getWorkflowRuns_includeGraph :: Lens' GetWorkflowRuns (Maybe Bool)
- getWorkflowRuns_maxResults :: Lens' GetWorkflowRuns (Maybe Natural)
- getWorkflowRuns_nextToken :: Lens' GetWorkflowRuns (Maybe Text)
- getWorkflowRuns_name :: Lens' GetWorkflowRuns Text
- data GetWorkflowRunsResponse = GetWorkflowRunsResponse' {
- nextToken :: Maybe Text
- runs :: Maybe (NonEmpty WorkflowRun)
- httpStatus :: Int
- newGetWorkflowRunsResponse :: Int -> GetWorkflowRunsResponse
- getWorkflowRunsResponse_nextToken :: Lens' GetWorkflowRunsResponse (Maybe Text)
- getWorkflowRunsResponse_runs :: Lens' GetWorkflowRunsResponse (Maybe (NonEmpty WorkflowRun))
- getWorkflowRunsResponse_httpStatus :: Lens' GetWorkflowRunsResponse Int
Creating a Request
data GetWorkflowRuns Source #
See: newGetWorkflowRuns smart constructor.
Constructors
| GetWorkflowRuns' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetWorkflowRuns |
Create a value of GetWorkflowRuns 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:GetWorkflowRuns', getWorkflowRuns_includeGraph - Specifies whether to include the workflow graph in response or not.
$sel:maxResults:GetWorkflowRuns', getWorkflowRuns_maxResults - The maximum number of workflow runs to be included in the response.
GetWorkflowRuns, getWorkflowRuns_nextToken - The maximum size of the response.
GetWorkflowRuns, getWorkflowRuns_name - Name of the workflow whose metadata of runs should be returned.
Request Lenses
getWorkflowRuns_includeGraph :: Lens' GetWorkflowRuns (Maybe Bool) Source #
Specifies whether to include the workflow graph in response or not.
getWorkflowRuns_maxResults :: Lens' GetWorkflowRuns (Maybe Natural) Source #
The maximum number of workflow runs to be included in the response.
getWorkflowRuns_nextToken :: Lens' GetWorkflowRuns (Maybe Text) Source #
The maximum size of the response.
getWorkflowRuns_name :: Lens' GetWorkflowRuns Text Source #
Name of the workflow whose metadata of runs should be returned.
Destructuring the Response
data GetWorkflowRunsResponse Source #
See: newGetWorkflowRunsResponse smart constructor.
Constructors
| GetWorkflowRunsResponse' | |
Fields
| |
Instances
newGetWorkflowRunsResponse Source #
Create a value of GetWorkflowRunsResponse 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:
GetWorkflowRuns, getWorkflowRunsResponse_nextToken - A continuation token, if not all requested workflow runs have been
returned.
$sel:runs:GetWorkflowRunsResponse', getWorkflowRunsResponse_runs - A list of workflow run metadata objects.
$sel:httpStatus:GetWorkflowRunsResponse', getWorkflowRunsResponse_httpStatus - The response's http status code.
Response Lenses
getWorkflowRunsResponse_nextToken :: Lens' GetWorkflowRunsResponse (Maybe Text) Source #
A continuation token, if not all requested workflow runs have been returned.
getWorkflowRunsResponse_runs :: Lens' GetWorkflowRunsResponse (Maybe (NonEmpty WorkflowRun)) Source #
A list of workflow run metadata objects.
getWorkflowRunsResponse_httpStatus :: Lens' GetWorkflowRunsResponse Int Source #
The response's http status code.