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 |
Gets a list of runs for a machine learning transform. Machine learning
task runs are asynchronous tasks that Glue runs on your behalf as part
of various machine learning workflows. You can get a sortable,
filterable list of machine learning task runs by calling GetMLTaskRuns
with their parent transform's TransformID
and other optional
parameters as documented in this section.
This operation returns a list of historic runs and must be paginated.
Synopsis
- data GetMLTaskRuns = GetMLTaskRuns' {}
- newGetMLTaskRuns :: Text -> GetMLTaskRuns
- getMLTaskRuns_nextToken :: Lens' GetMLTaskRuns (Maybe Text)
- getMLTaskRuns_sort :: Lens' GetMLTaskRuns (Maybe TaskRunSortCriteria)
- getMLTaskRuns_filter :: Lens' GetMLTaskRuns (Maybe TaskRunFilterCriteria)
- getMLTaskRuns_maxResults :: Lens' GetMLTaskRuns (Maybe Natural)
- getMLTaskRuns_transformId :: Lens' GetMLTaskRuns Text
- data GetMLTaskRunsResponse = GetMLTaskRunsResponse' {}
- newGetMLTaskRunsResponse :: Int -> GetMLTaskRunsResponse
- getMLTaskRunsResponse_nextToken :: Lens' GetMLTaskRunsResponse (Maybe Text)
- getMLTaskRunsResponse_taskRuns :: Lens' GetMLTaskRunsResponse (Maybe [TaskRun])
- getMLTaskRunsResponse_httpStatus :: Lens' GetMLTaskRunsResponse Int
Creating a Request
data GetMLTaskRuns Source #
See: newGetMLTaskRuns
smart constructor.
GetMLTaskRuns' | |
|
Instances
Create a value of GetMLTaskRuns
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:nextToken:GetMLTaskRuns'
, getMLTaskRuns_nextToken
- A token for pagination of the results. The default is empty.
$sel:sort:GetMLTaskRuns'
, getMLTaskRuns_sort
- The sorting criteria, in the TaskRunSortCriteria
structure, for the
task run.
$sel:filter':GetMLTaskRuns'
, getMLTaskRuns_filter
- The filter criteria, in the TaskRunFilterCriteria
structure, for the
task run.
$sel:maxResults:GetMLTaskRuns'
, getMLTaskRuns_maxResults
- The maximum number of results to return.
$sel:transformId:GetMLTaskRuns'
, getMLTaskRuns_transformId
- The unique identifier of the machine learning transform.
Request Lenses
getMLTaskRuns_nextToken :: Lens' GetMLTaskRuns (Maybe Text) Source #
A token for pagination of the results. The default is empty.
getMLTaskRuns_sort :: Lens' GetMLTaskRuns (Maybe TaskRunSortCriteria) Source #
The sorting criteria, in the TaskRunSortCriteria
structure, for the
task run.
getMLTaskRuns_filter :: Lens' GetMLTaskRuns (Maybe TaskRunFilterCriteria) Source #
The filter criteria, in the TaskRunFilterCriteria
structure, for the
task run.
getMLTaskRuns_maxResults :: Lens' GetMLTaskRuns (Maybe Natural) Source #
The maximum number of results to return.
getMLTaskRuns_transformId :: Lens' GetMLTaskRuns Text Source #
The unique identifier of the machine learning transform.
Destructuring the Response
data GetMLTaskRunsResponse Source #
See: newGetMLTaskRunsResponse
smart constructor.
Instances
newGetMLTaskRunsResponse Source #
Create a value of GetMLTaskRunsResponse
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:nextToken:GetMLTaskRuns'
, getMLTaskRunsResponse_nextToken
- A pagination token, if more results are available.
$sel:taskRuns:GetMLTaskRunsResponse'
, getMLTaskRunsResponse_taskRuns
- A list of task runs that are associated with the transform.
$sel:httpStatus:GetMLTaskRunsResponse'
, getMLTaskRunsResponse_httpStatus
- The response's http status code.
Response Lenses
getMLTaskRunsResponse_nextToken :: Lens' GetMLTaskRunsResponse (Maybe Text) Source #
A pagination token, if more results are available.
getMLTaskRunsResponse_taskRuns :: Lens' GetMLTaskRunsResponse (Maybe [TaskRun]) Source #
A list of task runs that are associated with the transform.
getMLTaskRunsResponse_httpStatus :: Lens' GetMLTaskRunsResponse Int Source #
The response's http status code.