libZSservicesZSamazonka-emr-containersZSamazonka-emr-containers
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.EMRContainers.CancelJobRun

Description

Cancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.

Synopsis

Creating a Request

data CancelJobRun Source #

See: newCancelJobRun smart constructor.

Constructors

CancelJobRun' 

Fields

  • id :: Text

    The ID of the job run to cancel.

  • virtualClusterId :: Text

    The ID of the virtual cluster for which the job run will be canceled.

Instances

Instances details
Eq CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

Read CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

Show CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

Generic CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

Associated Types

type Rep CancelJobRun :: Type -> Type #

NFData CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

Methods

rnf :: CancelJobRun -> () #

Hashable CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

AWSRequest CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

Associated Types

type AWSResponse CancelJobRun #

ToHeaders CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

ToPath CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

ToQuery CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

type Rep CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

type Rep CancelJobRun = D1 ('MetaData "CancelJobRun" "Amazonka.EMRContainers.CancelJobRun" "libZSservicesZSamazonka-emr-containersZSamazonka-emr-containers" 'False) (C1 ('MetaCons "CancelJobRun'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "virtualClusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

newCancelJobRun Source #

Create a value of CancelJobRun 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:id:CancelJobRun', cancelJobRun_id - The ID of the job run to cancel.

$sel:virtualClusterId:CancelJobRun', cancelJobRun_virtualClusterId - The ID of the virtual cluster for which the job run will be canceled.

Request Lenses

cancelJobRun_id :: Lens' CancelJobRun Text Source #

The ID of the job run to cancel.

cancelJobRun_virtualClusterId :: Lens' CancelJobRun Text Source #

The ID of the virtual cluster for which the job run will be canceled.

Destructuring the Response

data CancelJobRunResponse Source #

See: newCancelJobRunResponse smart constructor.

Constructors

CancelJobRunResponse' 

Fields

Instances

Instances details
Eq CancelJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

Read CancelJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

Show CancelJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

Generic CancelJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

Associated Types

type Rep CancelJobRunResponse :: Type -> Type #

NFData CancelJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

Methods

rnf :: CancelJobRunResponse -> () #

type Rep CancelJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.CancelJobRun

type Rep CancelJobRunResponse = D1 ('MetaData "CancelJobRunResponse" "Amazonka.EMRContainers.CancelJobRun" "libZSservicesZSamazonka-emr-containersZSamazonka-emr-containers" 'False) (C1 ('MetaCons "CancelJobRunResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "virtualClusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCancelJobRunResponse Source #

Create a value of CancelJobRunResponse 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:id:CancelJobRun', cancelJobRunResponse_id - The output contains the ID of the cancelled job run.

$sel:virtualClusterId:CancelJobRun', cancelJobRunResponse_virtualClusterId - The output contains the virtual cluster ID for which the job run is cancelled.

$sel:httpStatus:CancelJobRunResponse', cancelJobRunResponse_httpStatus - The response's http status code.

Response Lenses

cancelJobRunResponse_id :: Lens' CancelJobRunResponse (Maybe Text) Source #

The output contains the ID of the cancelled job run.

cancelJobRunResponse_virtualClusterId :: Lens' CancelJobRunResponse (Maybe Text) Source #

The output contains the virtual cluster ID for which the job run is cancelled.