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.CreateQuantumTask

Description

Creates a quantum task.

Synopsis

Creating a Request

data CreateQuantumTask Source #

See: newCreateQuantumTask smart constructor.

Constructors

CreateQuantumTask' 

Fields

Instances

Instances details
Eq CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Read CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Show CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Generic CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Associated Types

type Rep CreateQuantumTask :: Type -> Type #

NFData CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Methods

rnf :: CreateQuantumTask -> () #

Hashable CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

ToJSON CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

AWSRequest CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Associated Types

type AWSResponse CreateQuantumTask #

ToHeaders CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

ToPath CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

ToQuery CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

type Rep CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

type AWSResponse CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

newCreateQuantumTask Source #

Create a value of CreateQuantumTask 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:deviceParameters:CreateQuantumTask', createQuantumTask_deviceParameters - The parameters for the device to run the task on.

$sel:tags:CreateQuantumTask', createQuantumTask_tags - Tags to be added to the quantum task you're creating.

$sel:action:CreateQuantumTask', createQuantumTask_action - The action associated with the task.

$sel:clientToken:CreateQuantumTask', createQuantumTask_clientToken - The client token associated with the request.

$sel:deviceArn:CreateQuantumTask', createQuantumTask_deviceArn - The ARN of the device to run the task on.

$sel:outputS3Bucket:CreateQuantumTask', createQuantumTask_outputS3Bucket - The S3 bucket to store task result files in.

$sel:outputS3KeyPrefix:CreateQuantumTask', createQuantumTask_outputS3KeyPrefix - The key prefix for the location in the S3 bucket to store task results in.

$sel:shots:CreateQuantumTask', createQuantumTask_shots - The number of shots to use for the task.

Request Lenses

createQuantumTask_deviceParameters :: Lens' CreateQuantumTask (Maybe Text) Source #

The parameters for the device to run the task on.

createQuantumTask_tags :: Lens' CreateQuantumTask (Maybe (HashMap Text Text)) Source #

Tags to be added to the quantum task you're creating.

createQuantumTask_action :: Lens' CreateQuantumTask Text Source #

The action associated with the task.

createQuantumTask_clientToken :: Lens' CreateQuantumTask Text Source #

The client token associated with the request.

createQuantumTask_deviceArn :: Lens' CreateQuantumTask Text Source #

The ARN of the device to run the task on.

createQuantumTask_outputS3Bucket :: Lens' CreateQuantumTask Text Source #

The S3 bucket to store task result files in.

createQuantumTask_outputS3KeyPrefix :: Lens' CreateQuantumTask Text Source #

The key prefix for the location in the S3 bucket to store task results in.

createQuantumTask_shots :: Lens' CreateQuantumTask Natural Source #

The number of shots to use for the task.

Destructuring the Response

data CreateQuantumTaskResponse Source #

See: newCreateQuantumTaskResponse smart constructor.

Constructors

CreateQuantumTaskResponse' 

Fields

Instances

Instances details
Eq CreateQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Read CreateQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Show CreateQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Generic CreateQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Associated Types

type Rep CreateQuantumTaskResponse :: Type -> Type #

NFData CreateQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

type Rep CreateQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

type Rep CreateQuantumTaskResponse = D1 ('MetaData "CreateQuantumTaskResponse" "Amazonka.Braket.CreateQuantumTask" "libZSservicesZSamazonka-braketZSamazonka-braket" 'False) (C1 ('MetaCons "CreateQuantumTaskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "quantumTaskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateQuantumTaskResponse Source #

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

$sel:quantumTaskArn:CreateQuantumTaskResponse', createQuantumTaskResponse_quantumTaskArn - The ARN of the task created by the request.

Response Lenses