Skip to content

Get Job

braket_get_job R Documentation

Retrieves the specified Amazon Braket hybrid job

Description

Retrieves the specified Amazon Braket hybrid job.

Usage

braket_get_job(jobArn, additionalAttributeNames)

Arguments

jobArn

[required] The ARN of the hybrid job to retrieve.

additionalAttributeNames

A list of attributes to return additional information for. Only the QueueInfo additional attribute name is currently supported.

Value

A list with the following syntax:

list(
  status = "QUEUED"|"RUNNING"|"COMPLETED"|"FAILED"|"CANCELLING"|"CANCELLED",
  jobArn = "string",
  roleArn = "string",
  failureReason = "string",
  jobName = "string",
  hyperParameters = list(
    "string"
  ),
  inputDataConfig = list(
    list(
      channelName = "string",
      contentType = "string",
      dataSource = list(
        s3DataSource = list(
          s3Uri = "string"
        )
      )
    )
  ),
  outputDataConfig = list(
    kmsKeyId = "string",
    s3Path = "string"
  ),
  stoppingCondition = list(
    maxRuntimeInSeconds = 123
  ),
  checkpointConfig = list(
    localPath = "string",
    s3Uri = "string"
  ),
  algorithmSpecification = list(
    scriptModeConfig = list(
      entryPoint = "string",
      s3Uri = "string",
      compressionType = "NONE"|"GZIP"
    ),
    containerImage = list(
      uri = "string"
    )
  ),
  instanceConfig = list(
    instanceType = "ml.t3.large"|"ml.t3.xlarge"|"ml.t3.2xlarge"|"ml.m4.xlarge"|"ml.m4.2xlarge"|"ml.m4.4xlarge"|"ml.m4.10xlarge"|"ml.m4.16xlarge"|"ml.m5.large"|"ml.m5.xlarge"|"ml.m5.2xlarge"|"ml.m5.4xlarge"|"ml.m5.12xlarge"|"ml.m5.24xlarge"|"ml.c4.xlarge"|"ml.c4.2xlarge"|"ml.c4.4xlarge"|"ml.c4.8xlarge"|"ml.c5.xlarge"|"ml.c5.2xlarge"|"ml.c5.4xlarge"|"ml.c5.9xlarge"|"ml.c5.18xlarge"|"ml.c5n.xlarge"|"ml.c5n.2xlarge"|"ml.c5n.4xlarge"|"ml.c5n.9xlarge"|"ml.c5n.18xlarge"|"ml.p2.xlarge"|"ml.p2.8xlarge"|"ml.p2.16xlarge"|"ml.p3.2xlarge"|"ml.p3.8xlarge"|"ml.p3.16xlarge"|"ml.p3dn.24xlarge"|"ml.p4d.24xlarge"|"ml.g4dn.xlarge"|"ml.g4dn.2xlarge"|"ml.g4dn.4xlarge"|"ml.g4dn.8xlarge"|"ml.g4dn.12xlarge"|"ml.g4dn.16xlarge"|"ml.g6.xlarge"|"ml.g6.2xlarge"|"ml.g6.4xlarge"|"ml.g6.8xlarge"|"ml.g6.12xlarge"|"ml.g6.16xlarge"|"ml.g6.24xlarge"|"ml.g6.48xlarge"|"ml.g6e.xlarge"|"ml.g6e.2xlarge"|"ml.g6e.4xlarge"|"ml.g6e.8xlarge"|"ml.g6e.12xlarge"|"ml.g6e.16xlarge"|"ml.g6e.24xlarge"|"ml.g6e.48xlarge",
    volumeSizeInGb = 123,
    instanceCount = 123
  ),
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  startedAt = as.POSIXct(
    "2015-01-01"
  ),
  endedAt = as.POSIXct(
    "2015-01-01"
  ),
  billableDuration = 123,
  deviceConfig = list(
    device = "string"
  ),
  events = list(
    list(
      eventType = "WAITING_FOR_PRIORITY"|"QUEUED_FOR_EXECUTION"|"STARTING_INSTANCE"|"DOWNLOADING_DATA"|"RUNNING"|"DEPRIORITIZED_DUE_TO_INACTIVITY"|"UPLOADING_RESULTS"|"COMPLETED"|"FAILED"|"MAX_RUNTIME_EXCEEDED"|"CANCELLED",
      timeOfEvent = as.POSIXct(
        "2015-01-01"
      ),
      message = "string"
    )
  ),
  tags = list(
    "string"
  ),
  queueInfo = list(
    queue = "QUANTUM_TASKS_QUEUE"|"JOBS_QUEUE",
    position = "string",
    message = "string"
  ),
  associations = list(
    list(
      arn = "string",
      type = "RESERVATION_TIME_WINDOW_ARN"
    )
  )
)

Request syntax

svc$get_job(
  jobArn = "string",
  additionalAttributeNames = list(
    "QueueInfo"
  )
)