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 |
Cancels (stops) a task run. Machine learning task runs are asynchronous
tasks that Glue runs on your behalf as part of various machine learning
workflows. You can cancel a machine learning task run at any time by
calling CancelMLTaskRun
with a task run's parent transform's
TransformID
and the task run's TaskRunId
.
Synopsis
- data CancelMLTaskRun = CancelMLTaskRun' {
- transformId :: Text
- taskRunId :: Text
- newCancelMLTaskRun :: Text -> Text -> CancelMLTaskRun
- cancelMLTaskRun_transformId :: Lens' CancelMLTaskRun Text
- cancelMLTaskRun_taskRunId :: Lens' CancelMLTaskRun Text
- data CancelMLTaskRunResponse = CancelMLTaskRunResponse' {
- status :: Maybe TaskStatusType
- transformId :: Maybe Text
- taskRunId :: Maybe Text
- httpStatus :: Int
- newCancelMLTaskRunResponse :: Int -> CancelMLTaskRunResponse
- cancelMLTaskRunResponse_status :: Lens' CancelMLTaskRunResponse (Maybe TaskStatusType)
- cancelMLTaskRunResponse_transformId :: Lens' CancelMLTaskRunResponse (Maybe Text)
- cancelMLTaskRunResponse_taskRunId :: Lens' CancelMLTaskRunResponse (Maybe Text)
- cancelMLTaskRunResponse_httpStatus :: Lens' CancelMLTaskRunResponse Int
Creating a Request
data CancelMLTaskRun Source #
See: newCancelMLTaskRun
smart constructor.
CancelMLTaskRun' | |
|
Instances
Create a value of CancelMLTaskRun
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:CancelMLTaskRun'
, cancelMLTaskRun_transformId
- The unique identifier of the machine learning transform.
$sel:taskRunId:CancelMLTaskRun'
, cancelMLTaskRun_taskRunId
- A unique identifier for the task run.
Request Lenses
cancelMLTaskRun_transformId :: Lens' CancelMLTaskRun Text Source #
The unique identifier of the machine learning transform.
cancelMLTaskRun_taskRunId :: Lens' CancelMLTaskRun Text Source #
A unique identifier for the task run.
Destructuring the Response
data CancelMLTaskRunResponse Source #
See: newCancelMLTaskRunResponse
smart constructor.
CancelMLTaskRunResponse' | |
|
Instances
newCancelMLTaskRunResponse Source #
Create a value of CancelMLTaskRunResponse
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:status:CancelMLTaskRunResponse'
, cancelMLTaskRunResponse_status
- The status for this run.
$sel:transformId:CancelMLTaskRun'
, cancelMLTaskRunResponse_transformId
- The unique identifier of the machine learning transform.
$sel:taskRunId:CancelMLTaskRun'
, cancelMLTaskRunResponse_taskRunId
- The unique identifier for the task run.
$sel:httpStatus:CancelMLTaskRunResponse'
, cancelMLTaskRunResponse_httpStatus
- The response's http status code.
Response Lenses
cancelMLTaskRunResponse_status :: Lens' CancelMLTaskRunResponse (Maybe TaskStatusType) Source #
The status for this run.
cancelMLTaskRunResponse_transformId :: Lens' CancelMLTaskRunResponse (Maybe Text) Source #
The unique identifier of the machine learning transform.
cancelMLTaskRunResponse_taskRunId :: Lens' CancelMLTaskRunResponse (Maybe Text) Source #
The unique identifier for the task run.
cancelMLTaskRunResponse_httpStatus :: Lens' CancelMLTaskRunResponse Int Source #
The response's http status code.