amazonka-emr-serverless-2.0: Amazon EMR Serverless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EMRServerless.CancelJobRun

Description

Cancels a job run.

Synopsis

Creating a Request

data CancelJobRun Source #

See: newCancelJobRun smart constructor.

Constructors

CancelJobRun' 

Fields

Instances

Instances details
ToHeaders CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

ToPath CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

ToQuery CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

AWSRequest CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

Associated Types

type AWSResponse CancelJobRun #

Generic CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

Associated Types

type Rep CancelJobRun :: Type -> Type #

Read CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

Show CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

NFData CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

Methods

rnf :: CancelJobRun -> () #

Eq CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

Hashable CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

type AWSResponse CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

type Rep CancelJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

type Rep CancelJobRun = D1 ('MetaData "CancelJobRun" "Amazonka.EMRServerless.CancelJobRun" "amazonka-emr-serverless-2.0-Zw6ehwruaDFJFsqn31iYt" 'False) (C1 ('MetaCons "CancelJobRun'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "jobRunId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

CancelJobRun, cancelJobRun_applicationId - The ID of the application on which the job run will be canceled.

CancelJobRun, cancelJobRun_jobRunId - The ID of the job run to cancel.

Request Lenses

cancelJobRun_applicationId :: Lens' CancelJobRun Text Source #

The ID of the application on which the job run will be canceled.

cancelJobRun_jobRunId :: Lens' CancelJobRun Text Source #

The ID of the job run to cancel.

Destructuring the Response

data CancelJobRunResponse Source #

See: newCancelJobRunResponse smart constructor.

Constructors

CancelJobRunResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • applicationId :: Text

    The output contains the application ID on which the job run is cancelled.

  • jobRunId :: Text

    The output contains the ID of the cancelled job run.

Instances

Instances details
Generic CancelJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

Associated Types

type Rep CancelJobRunResponse :: Type -> Type #

Read CancelJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

Show CancelJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

NFData CancelJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

Methods

rnf :: CancelJobRunResponse -> () #

Eq CancelJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

type Rep CancelJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.CancelJobRun

type Rep CancelJobRunResponse = D1 ('MetaData "CancelJobRunResponse" "Amazonka.EMRServerless.CancelJobRun" "amazonka-emr-serverless-2.0-Zw6ehwruaDFJFsqn31iYt" 'False) (C1 ('MetaCons "CancelJobRunResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "jobRunId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:httpStatus:CancelJobRunResponse', cancelJobRunResponse_httpStatus - The response's http status code.

CancelJobRun, cancelJobRunResponse_applicationId - The output contains the application ID on which the job run is cancelled.

CancelJobRun, cancelJobRunResponse_jobRunId - The output contains the ID of the cancelled job run.

Response Lenses

cancelJobRunResponse_applicationId :: Lens' CancelJobRunResponse Text Source #

The output contains the application ID on which the job run is cancelled.

cancelJobRunResponse_jobRunId :: Lens' CancelJobRunResponse Text Source #

The output contains the ID of the cancelled job run.