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

Description

Creates a quantum task.

Synopsis

Creating a Request

data CreateQuantumTask Source #

See: newCreateQuantumTask smart constructor.

Constructors

CreateQuantumTask' 

Fields

Instances

Instances details
ToJSON CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.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

AWSRequest CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Associated Types

type AWSResponse CreateQuantumTask #

Generic CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Associated Types

type Rep CreateQuantumTask :: Type -> Type #

Read CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Show CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

NFData CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Methods

rnf :: CreateQuantumTask -> () #

Eq CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Hashable CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

type AWSResponse CreateQuantumTask Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

type Rep 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:jobToken:CreateQuantumTask', createQuantumTask_jobToken - The token for an Amazon Braket job that associates it with the quantum task.

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.

CreateQuantumTask, createQuantumTask_deviceArn - The ARN of the device to run the task on.

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.

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_jobToken :: Lens' CreateQuantumTask (Maybe Text) Source #

The token for an Amazon Braket job that associates it with the quantum task.

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
Generic CreateQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Associated Types

type Rep CreateQuantumTaskResponse :: Type -> Type #

Read CreateQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Show CreateQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

NFData CreateQuantumTaskResponse Source # 
Instance details

Defined in Amazonka.Braket.CreateQuantumTask

Eq 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" "amazonka-braket-2.0-K4GTd9RbB3VBh6Qg8rMHaZ" '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.

CreateQuantumTaskResponse, createQuantumTaskResponse_quantumTaskArn - The ARN of the task created by the request.

Response Lenses