Values.GetDeviceResponseSourceRetrieves the devices available in Amazon Braket. For backwards compatibility with older versions of BraketSchemas, OpenQASM information is omitted from GetDevice API calls. To get this information the user-agent needs to present a recent version of the BraketSchemas (1.8.0 or later). The Braket SDK automatically reports this for you. If you do not see OpenQASM results in the GetDevice response when using a Braket SDK, you may need to set AWS_EXECUTION_ENV environment variable to configure user-agent. See the code examples provided below for how to do this for the AWS CLI, Boto3, and the Go, Java, and JavaScript/TypeScript SDKs.
type nonrec t = {deviceArn : DeviceArn.t option;The ARN of the device.
*)deviceName : String_.t option;The name of the device.
*)providerName : String_.t option;The name of the partner company for the device.
*)deviceType : DeviceType.t option;The type of the device.
*)deviceStatus : DeviceStatus.t option;The status of the device.
*)deviceCapabilities : JsonValue.t option;Details about the capabilities of the device.
*)deviceQueueInfo : DeviceQueueInfoList.t option;The number of quantum tasks and hybrid jobs currently queued on the device.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServiceException of InternalServiceException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val 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 ]val 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 ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string * [> `Enum of string | `String of String_.t ]) list ]
list
| `String of DeviceArn.t ])
list ]