libZSservicesZSamazonka-braketZSamazonka-braket
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.Braket.GetQuantumTask

Description

Retrieves the specified quantum task.

Synopsis

Creating a Request

data GetQuantumTask Source #

See: newGetQuantumTask smart constructor.

Constructors

GetQuantumTask' 

Fields

Instances

Instances details
Eq GetQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

Read GetQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

Show GetQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

Generic GetQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

Associated Types

type Rep GetQuantumTask :: Type -> Type #

NFData GetQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

Methods

rnf :: GetQuantumTask -> () #

Hashable GetQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

AWSRequest GetQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

Associated Types

type AWSResponse GetQuantumTask #

ToHeaders GetQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

ToPath GetQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

ToQuery GetQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

type Rep GetQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

type Rep GetQuantumTask = D1 ('MetaData "GetQuantumTask" "Amazonka.Braket.GetQuantumTask" "libZSservicesZSamazonka-braketZSamazonka-braket" 'False) (C1 ('MetaCons "GetQuantumTask'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantumTaskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

newGetQuantumTask Source #

Create a value of GetQuantumTask 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:quantumTaskArn:GetQuantumTask', getQuantumTask_quantumTaskArn - the ARN of the task to retrieve.

Request Lenses

getQuantumTask_quantumTaskArn :: Lens' GetQuantumTask Text Source #

the ARN of the task to retrieve.

Destructuring the Response

data GetQuantumTaskResponse Source #

See: newGetQuantumTaskResponse smart constructor.

Constructors

GetQuantumTaskResponse' 

Fields

Instances

Instances details
Eq GetQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

Read GetQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

Show GetQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

Generic GetQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

Associated Types

type Rep GetQuantumTaskResponse :: Type -> Type #

NFData GetQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

Methods

rnf :: GetQuantumTaskResponse -> () #

type Rep GetQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.GetQuantumTask

type Rep GetQuantumTaskResponse = D1 ('MetaData "GetQuantumTaskResponse" "Amazonka.Braket.GetQuantumTask" "libZSservicesZSamazonka-braketZSamazonka-braket" 'False) (C1 ('MetaCons "GetQuantumTaskResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "deviceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "deviceParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "outputS3Bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "outputS3Directory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "quantumTaskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "shots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 QuantumTaskStatus))))))

newGetQuantumTaskResponse Source #

Create a value of GetQuantumTaskResponse 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:failureReason:GetQuantumTaskResponse', getQuantumTaskResponse_failureReason - The reason that a task failed.

$sel:endedAt:GetQuantumTaskResponse', getQuantumTaskResponse_endedAt - The time at which the task ended.

$sel:tags:GetQuantumTaskResponse', getQuantumTaskResponse_tags - The tags that belong to this task.

$sel:httpStatus:GetQuantumTaskResponse', getQuantumTaskResponse_httpStatus - The response's http status code.

$sel:createdAt:GetQuantumTaskResponse', getQuantumTaskResponse_createdAt - The time at which the task was created.

$sel:deviceArn:GetQuantumTaskResponse', getQuantumTaskResponse_deviceArn - The ARN of the device the task was run on.

$sel:deviceParameters:GetQuantumTaskResponse', getQuantumTaskResponse_deviceParameters - The parameters for the device on which the task ran.

$sel:outputS3Bucket:GetQuantumTaskResponse', getQuantumTaskResponse_outputS3Bucket - The S3 bucket where task results are stored.

$sel:outputS3Directory:GetQuantumTaskResponse', getQuantumTaskResponse_outputS3Directory - The folder in the S3 bucket where task results are stored.

$sel:quantumTaskArn:GetQuantumTask', getQuantumTaskResponse_quantumTaskArn - The ARN of the task.

$sel:shots:GetQuantumTaskResponse', getQuantumTaskResponse_shots - The number of shots used in the task.

$sel:status:GetQuantumTaskResponse', getQuantumTaskResponse_status - The status of the task.

Response Lenses

getQuantumTaskResponse_deviceArn :: Lens' GetQuantumTaskResponse Text Source #

The ARN of the device the task was run on.

getQuantumTaskResponse_deviceParameters :: Lens' GetQuantumTaskResponse Text Source #

The parameters for the device on which the task ran.

getQuantumTaskResponse_outputS3Bucket :: Lens' GetQuantumTaskResponse Text Source #

The S3 bucket where task results are stored.

getQuantumTaskResponse_outputS3Directory :: Lens' GetQuantumTaskResponse Text Source #

The folder in the S3 bucket where task results are stored.