libZSservicesZSamazonka-glueZSamazonka-glue
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Glue.CancelMLTaskRun

Description

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

Creating a Request

data CancelMLTaskRun Source #

See: newCancelMLTaskRun smart constructor.

Constructors

CancelMLTaskRun' 

Fields

Instances

Instances details
Eq CancelMLTaskRun Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

Read CancelMLTaskRun Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

Show CancelMLTaskRun Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

Generic CancelMLTaskRun Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

Associated Types

type Rep CancelMLTaskRun :: Type -> Type #

NFData CancelMLTaskRun Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

Methods

rnf :: CancelMLTaskRun -> () #

Hashable CancelMLTaskRun Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

ToJSON CancelMLTaskRun Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

AWSRequest CancelMLTaskRun Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

Associated Types

type AWSResponse CancelMLTaskRun #

ToHeaders CancelMLTaskRun Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

ToPath CancelMLTaskRun Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

ToQuery CancelMLTaskRun Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

type Rep CancelMLTaskRun Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

type Rep CancelMLTaskRun = D1 ('MetaData "CancelMLTaskRun" "Amazonka.Glue.CancelMLTaskRun" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "CancelMLTaskRun'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transformId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "taskRunId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CancelMLTaskRun Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

newCancelMLTaskRun Source #

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.

Constructors

CancelMLTaskRunResponse' 

Fields

Instances

Instances details
Eq CancelMLTaskRunResponse Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

Read CancelMLTaskRunResponse Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

Show CancelMLTaskRunResponse Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

Generic CancelMLTaskRunResponse Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

Associated Types

type Rep CancelMLTaskRunResponse :: Type -> Type #

NFData CancelMLTaskRunResponse Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

Methods

rnf :: CancelMLTaskRunResponse -> () #

type Rep CancelMLTaskRunResponse Source # 
Instance details

Defined in Amazonka.Glue.CancelMLTaskRun

type Rep CancelMLTaskRunResponse = D1 ('MetaData "CancelMLTaskRunResponse" "Amazonka.Glue.CancelMLTaskRun" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "CancelMLTaskRunResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TaskStatusType)) :*: S1 ('MetaSel ('Just "transformId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "taskRunId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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_transformId :: Lens' CancelMLTaskRunResponse (Maybe Text) Source #

The unique identifier of the machine learning transform.