Skip to content

Get Quantum Task

braket_get_quantum_task R Documentation

Retrieves the specified quantum task

Description

Retrieves the specified quantum task.

Usage

braket_get_quantum_task(additionalAttributeNames, quantumTaskArn)

Arguments

additionalAttributeNames

A list of attributes to return information for.

quantumTaskArn

[required] The ARN of the task to retrieve.

Value

A list with the following syntax:

list(
  associations = list(
    list(
      arn = "string",
      type = "RESERVATION_TIME_WINDOW_ARN"
    )
  ),
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  deviceArn = "string",
  deviceParameters = "string",
  endedAt = as.POSIXct(
    "2015-01-01"
  ),
  failureReason = "string",
  jobArn = "string",
  outputS3Bucket = "string",
  outputS3Directory = "string",
  quantumTaskArn = "string",
  queueInfo = list(
    message = "string",
    position = "string",
    queue = "QUANTUM_TASKS_QUEUE"|"JOBS_QUEUE",
    queuePriority = "Normal"|"Priority"
  ),
  shots = 123,
  status = "CREATED"|"QUEUED"|"RUNNING"|"COMPLETED"|"FAILED"|"CANCELLING"|"CANCELLED",
  tags = list(
    "string"
  )
)

Request syntax

svc$get_quantum_task(
  additionalAttributeNames = list(
    "QueueInfo"
  ),
  quantumTaskArn = "string"
)