Module Values.GetQuantumTaskResponseSource

Retrieves the specified quantum task.

Sourcetype nonrec t = {
  1. quantumTaskArn : QuantumTaskArn.t option;
    (*

    The ARN of the quantum task.

    *)
  2. status : QuantumTaskStatus.t option;
    (*

    The status of the quantum task.

    *)
  3. failureReason : String_.t option;
    (*

    The reason that a quantum task failed.

    *)
  4. deviceArn : DeviceArn.t option;
    (*

    The ARN of the device the quantum task was run on.

    *)
  5. deviceParameters : JsonValue.t option;
    (*

    The parameters for the device on which the quantum task ran.

    *)
  6. shots : Long.t option;
    (*

    The number of shots used in the quantum task.

    *)
  7. outputS3Bucket : String_.t option;
    (*

    The S3 bucket where quantum task results are stored.

    *)
  8. outputS3Directory : String_.t option;
    (*

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

    *)
  9. createdAt : SyntheticTimestamp_date_time.t option;
    (*

    The time at which the quantum task was created.

    *)
  10. endedAt : SyntheticTimestamp_date_time.t option;
    (*

    The time at which the quantum task ended.

    *)
  11. tags : TagsMap.t option;
    (*

    The tags that belong to this quantum task.

    *)
  12. jobArn : JobArn.t option;
    (*

    The ARN of the Amazon Braket job associated with the quantum task.

    *)
  13. queueInfo : QuantumTaskQueueInfo.t option;
    (*

    Queue information for the requested quantum task. Only returned if QueueInfo is specified in the additionalAttributeNames" field in the GetQuantumTask API request.

    *)
  14. associations : Associations.t option;
    (*

    The list of Amazon Braket resources associated with the quantum task.

    *)
  15. numSuccessfulShots : Long.t option;
    (*

    The number of successful shots for the quantum task. This is available after a successfully completed quantum task.

    *)
  16. actionMetadata : ActionMetadata.t option;
    (*

    Metadata about the action performed by the quantum task, including information about the type of action and program counts.

    *)
  17. experimentalCapabilities : ExperimentalCapabilities.t option;
    (*

    Enabled experimental capabilities for the quantum task, if any.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServiceException of InternalServiceException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?quantumTaskArn:??? -> ?status:??? -> ?failureReason:??? -> ?deviceArn:??? -> ?deviceParameters:??? -> ?shots:??? -> ?outputS3Bucket:??? -> ?outputS3Directory:??? -> ?createdAt:??? -> ?endedAt:??? -> ?tags:??? -> ?jobArn:??? -> ?queueInfo:??? -> ?associations:??? -> ?numSuccessfulShots:??? -> ?actionMetadata:??? -> ?experimentalCapabilities:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServiceException of InternalServiceException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServiceException of InternalServiceException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of BraketResourceArn.t ]) list ] list | `Long of Long.t | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of QuantumTaskArn.t | `Structure of (string * [> `Enum of string | `Long of Long.t | `String of String_.t ]) list | `Timestamp of SyntheticTimestamp_date_time.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t