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 details for a specific task run on 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 check the
stats of any task run by calling GetMLTaskRun
with the TaskRunID
and
its parent transform's TransformID
.
Synopsis
- data GetMLTaskRun = GetMLTaskRun' {
- transformId :: Text
- taskRunId :: Text
- newGetMLTaskRun :: Text -> Text -> GetMLTaskRun
- getMLTaskRun_transformId :: Lens' GetMLTaskRun Text
- getMLTaskRun_taskRunId :: Lens' GetMLTaskRun Text
- data GetMLTaskRunResponse = GetMLTaskRunResponse' {}
- newGetMLTaskRunResponse :: Int -> GetMLTaskRunResponse
- getMLTaskRunResponse_completedOn :: Lens' GetMLTaskRunResponse (Maybe UTCTime)
- getMLTaskRunResponse_status :: Lens' GetMLTaskRunResponse (Maybe TaskStatusType)
- getMLTaskRunResponse_lastModifiedOn :: Lens' GetMLTaskRunResponse (Maybe UTCTime)
- getMLTaskRunResponse_errorString :: Lens' GetMLTaskRunResponse (Maybe Text)
- getMLTaskRunResponse_startedOn :: Lens' GetMLTaskRunResponse (Maybe UTCTime)
- getMLTaskRunResponse_logGroupName :: Lens' GetMLTaskRunResponse (Maybe Text)
- getMLTaskRunResponse_executionTime :: Lens' GetMLTaskRunResponse (Maybe Int)
- getMLTaskRunResponse_properties :: Lens' GetMLTaskRunResponse (Maybe TaskRunProperties)
- getMLTaskRunResponse_transformId :: Lens' GetMLTaskRunResponse (Maybe Text)
- getMLTaskRunResponse_taskRunId :: Lens' GetMLTaskRunResponse (Maybe Text)
- getMLTaskRunResponse_httpStatus :: Lens' GetMLTaskRunResponse Int
Creating a Request
data GetMLTaskRun Source #
See: newGetMLTaskRun
smart constructor.
GetMLTaskRun' | |
|
Instances
Create a value of GetMLTaskRun
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:transformId:GetMLTaskRun'
, getMLTaskRun_transformId
- The unique identifier of the machine learning transform.
$sel:taskRunId:GetMLTaskRun'
, getMLTaskRun_taskRunId
- The unique identifier of the task run.
Request Lenses
getMLTaskRun_transformId :: Lens' GetMLTaskRun Text Source #
The unique identifier of the machine learning transform.
getMLTaskRun_taskRunId :: Lens' GetMLTaskRun Text Source #
The unique identifier of the task run.
Destructuring the Response
data GetMLTaskRunResponse Source #
See: newGetMLTaskRunResponse
smart constructor.
GetMLTaskRunResponse' | |
|
Instances
newGetMLTaskRunResponse Source #
Create a value of GetMLTaskRunResponse
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:completedOn:GetMLTaskRunResponse'
, getMLTaskRunResponse_completedOn
- The date and time when this task run was completed.
$sel:status:GetMLTaskRunResponse'
, getMLTaskRunResponse_status
- The status for this task run.
$sel:lastModifiedOn:GetMLTaskRunResponse'
, getMLTaskRunResponse_lastModifiedOn
- The date and time when this task run was last modified.
$sel:errorString:GetMLTaskRunResponse'
, getMLTaskRunResponse_errorString
- The error strings that are associated with the task run.
$sel:startedOn:GetMLTaskRunResponse'
, getMLTaskRunResponse_startedOn
- The date and time when this task run started.
$sel:logGroupName:GetMLTaskRunResponse'
, getMLTaskRunResponse_logGroupName
- The names of the log groups that are associated with the task run.
$sel:executionTime:GetMLTaskRunResponse'
, getMLTaskRunResponse_executionTime
- The amount of time (in seconds) that the task run consumed resources.
$sel:properties:GetMLTaskRunResponse'
, getMLTaskRunResponse_properties
- The list of properties that are associated with the task run.
$sel:transformId:GetMLTaskRun'
, getMLTaskRunResponse_transformId
- The unique identifier of the task run.
$sel:taskRunId:GetMLTaskRun'
, getMLTaskRunResponse_taskRunId
- The unique run identifier associated with this run.
$sel:httpStatus:GetMLTaskRunResponse'
, getMLTaskRunResponse_httpStatus
- The response's http status code.
Response Lenses
getMLTaskRunResponse_completedOn :: Lens' GetMLTaskRunResponse (Maybe UTCTime) Source #
The date and time when this task run was completed.
getMLTaskRunResponse_status :: Lens' GetMLTaskRunResponse (Maybe TaskStatusType) Source #
The status for this task run.
getMLTaskRunResponse_lastModifiedOn :: Lens' GetMLTaskRunResponse (Maybe UTCTime) Source #
The date and time when this task run was last modified.
getMLTaskRunResponse_errorString :: Lens' GetMLTaskRunResponse (Maybe Text) Source #
The error strings that are associated with the task run.
getMLTaskRunResponse_startedOn :: Lens' GetMLTaskRunResponse (Maybe UTCTime) Source #
The date and time when this task run started.
getMLTaskRunResponse_logGroupName :: Lens' GetMLTaskRunResponse (Maybe Text) Source #
The names of the log groups that are associated with the task run.
getMLTaskRunResponse_executionTime :: Lens' GetMLTaskRunResponse (Maybe Int) Source #
The amount of time (in seconds) that the task run consumed resources.
getMLTaskRunResponse_properties :: Lens' GetMLTaskRunResponse (Maybe TaskRunProperties) Source #
The list of properties that are associated with the task run.
getMLTaskRunResponse_transformId :: Lens' GetMLTaskRunResponse (Maybe Text) Source #
The unique identifier of the task run.
getMLTaskRunResponse_taskRunId :: Lens' GetMLTaskRunResponse (Maybe Text) Source #
The unique run identifier associated with this run.
getMLTaskRunResponse_httpStatus :: Lens' GetMLTaskRunResponse Int Source #
The response's http status code.