amazonka-braket-2.0: Amazon Braket 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.Braket.CancelJob

Description

Cancels an Amazon Braket job.

Synopsis

Creating a Request

data CancelJob Source #

See: newCancelJob smart constructor.

Constructors

CancelJob' 

Fields

  • jobArn :: Text

    The ARN of the Amazon Braket job to cancel.

Instances

Instances details
ToJSON CancelJob Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

ToHeaders CancelJob Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

Methods

toHeaders :: CancelJob -> [Header] #

ToPath CancelJob Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

ToQuery CancelJob Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

AWSRequest CancelJob Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

Associated Types

type AWSResponse CancelJob #

Generic CancelJob Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

Associated Types

type Rep CancelJob :: Type -> Type #

Read CancelJob Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

Show CancelJob Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

NFData CancelJob Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

Methods

rnf :: CancelJob -> () #

Eq CancelJob Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

Hashable CancelJob Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

type AWSResponse CancelJob Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

type Rep CancelJob Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

type Rep CancelJob = D1 ('MetaData "CancelJob" "Amazonka.Braket.CancelJob" "amazonka-braket-2.0-K4GTd9RbB3VBh6Qg8rMHaZ" 'False) (C1 ('MetaCons "CancelJob'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCancelJob Source #

Arguments

:: Text

CancelJob

-> CancelJob 

Create a value of CancelJob 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:

CancelJob, cancelJob_jobArn - The ARN of the Amazon Braket job to cancel.

Request Lenses

cancelJob_jobArn :: Lens' CancelJob Text Source #

The ARN of the Amazon Braket job to cancel.

Destructuring the Response

data CancelJobResponse Source #

See: newCancelJobResponse smart constructor.

Constructors

CancelJobResponse' 

Fields

Instances

Instances details
Generic CancelJobResponse Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

Associated Types

type Rep CancelJobResponse :: Type -> Type #

Read CancelJobResponse Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

Show CancelJobResponse Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

NFData CancelJobResponse Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

Methods

rnf :: CancelJobResponse -> () #

Eq CancelJobResponse Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

type Rep CancelJobResponse Source # 
Instance details

Defined in Amazonka.Braket.CancelJob

type Rep CancelJobResponse = D1 ('MetaData "CancelJobResponse" "Amazonka.Braket.CancelJob" "amazonka-braket-2.0-K4GTd9RbB3VBh6Qg8rMHaZ" 'False) (C1 ('MetaCons "CancelJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "cancellationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CancellationStatus) :*: S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCancelJobResponse Source #

Create a value of CancelJobResponse 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:CancelJobResponse', cancelJobResponse_httpStatus - The response's http status code.

$sel:cancellationStatus:CancelJobResponse', cancelJobResponse_cancellationStatus - The status of the job cancellation request.

CancelJob, cancelJobResponse_jobArn - The ARN of the Amazon Braket job.

Response Lenses

cancelJobResponse_httpStatus :: Lens' CancelJobResponse Int Source #

The response's http status code.

cancelJobResponse_jobArn :: Lens' CancelJobResponse Text Source #

The ARN of the Amazon Braket job.