|
1297 | 1297 | "smithy.api#httpError": 424
|
1298 | 1298 | }
|
1299 | 1299 | },
|
| 1300 | + "com.amazonaws.braket#DeviceQueueInfo": { |
| 1301 | + "type": "structure", |
| 1302 | + "members": { |
| 1303 | + "queue": { |
| 1304 | + "target": "com.amazonaws.braket#QueueName", |
| 1305 | + "traits": { |
| 1306 | + "smithy.api#documentation": "<p>The name of the queue. </p>", |
| 1307 | + "smithy.api#required": {} |
| 1308 | + } |
| 1309 | + }, |
| 1310 | + "queueSize": { |
| 1311 | + "target": "smithy.api#String", |
| 1312 | + "traits": { |
| 1313 | + "smithy.api#documentation": "<p>The number of jobs or tasks in the queue for a given device. </p>", |
| 1314 | + "smithy.api#required": {} |
| 1315 | + } |
| 1316 | + }, |
| 1317 | + "queuePriority": { |
| 1318 | + "target": "com.amazonaws.braket#QueuePriority", |
| 1319 | + "traits": { |
| 1320 | + "smithy.api#documentation": "<p>Optional. Specifies the priority of the queue. Tasks in a priority queue\n are processed before the tasks in a normal queue.</p>" |
| 1321 | + } |
| 1322 | + } |
| 1323 | + }, |
| 1324 | + "traits": { |
| 1325 | + "smithy.api#documentation": "<p>Information about tasks and jobs queued on a device.</p>" |
| 1326 | + } |
| 1327 | + }, |
| 1328 | + "com.amazonaws.braket#DeviceQueueInfoList": { |
| 1329 | + "type": "list", |
| 1330 | + "member": { |
| 1331 | + "target": "com.amazonaws.braket#DeviceQueueInfo" |
| 1332 | + } |
| 1333 | + }, |
1300 | 1334 | "com.amazonaws.braket#DeviceResource": {
|
1301 | 1335 | "type": "resource",
|
1302 | 1336 | "identifiers": {
|
|
1504 | 1538 | "smithy.api#documentation": "<p>Details about the capabilities of the device.</p>",
|
1505 | 1539 | "smithy.api#required": {}
|
1506 | 1540 | }
|
| 1541 | + }, |
| 1542 | + "deviceQueueInfo": { |
| 1543 | + "target": "com.amazonaws.braket#DeviceQueueInfoList", |
| 1544 | + "traits": { |
| 1545 | + "smithy.api#documentation": "<p>List of information about tasks and jobs queued on a device.</p>" |
| 1546 | + } |
1507 | 1547 | }
|
1508 | 1548 | }
|
1509 | 1549 | },
|
|
1551 | 1591 | "smithy.api#httpLabel": {},
|
1552 | 1592 | "smithy.api#required": {}
|
1553 | 1593 | }
|
| 1594 | + }, |
| 1595 | + "additionalAttributeNames": { |
| 1596 | + "target": "com.amazonaws.braket#HybridJobAdditionalAttributeNamesList", |
| 1597 | + "traits": { |
| 1598 | + "smithy.api#documentation": "<p>A list of attributes to return information for.</p>", |
| 1599 | + "smithy.api#httpQuery": "additionalAttributeNames" |
| 1600 | + } |
1554 | 1601 | }
|
1555 | 1602 | }
|
1556 | 1603 | },
|
|
1686 | 1733 | "traits": {
|
1687 | 1734 | "smithy.api#documentation": "<p>A tag object that consists of a key and an optional value, used to manage metadata for\n Amazon Braket resources.</p>"
|
1688 | 1735 | }
|
| 1736 | + }, |
| 1737 | + "queueInfo": { |
| 1738 | + "target": "com.amazonaws.braket#HybridJobQueueInfo", |
| 1739 | + "traits": { |
| 1740 | + "smithy.api#documentation": "<p>Queue information for the requested job. Only returned if \n <code>QueueInfo</code> is specified in the <code>additionalAttributeNames\"</code>\n field in the <code>GetJob</code> API request.</p>" |
| 1741 | + } |
1689 | 1742 | }
|
1690 | 1743 | }
|
1691 | 1744 | },
|
|
1733 | 1786 | "smithy.api#httpLabel": {},
|
1734 | 1787 | "smithy.api#required": {}
|
1735 | 1788 | }
|
| 1789 | + }, |
| 1790 | + "additionalAttributeNames": { |
| 1791 | + "target": "com.amazonaws.braket#QuantumTaskAdditionalAttributeNamesList", |
| 1792 | + "traits": { |
| 1793 | + "smithy.api#documentation": "<p>A list of attributes to return information for.</p>", |
| 1794 | + "smithy.api#httpQuery": "additionalAttributeNames" |
| 1795 | + } |
1736 | 1796 | }
|
1737 | 1797 | }
|
1738 | 1798 | },
|
|
1820 | 1880 | "traits": {
|
1821 | 1881 | "smithy.api#documentation": "<p>The ARN of the Amazon Braket job associated with the quantum task.</p>"
|
1822 | 1882 | }
|
| 1883 | + }, |
| 1884 | + "queueInfo": { |
| 1885 | + "target": "com.amazonaws.braket#QuantumTaskQueueInfo", |
| 1886 | + "traits": { |
| 1887 | + "smithy.api#documentation": "<p>Queue information for the requested quantum task. Only returned if \n <code>QueueInfo</code> is specified in the <code>additionalAttributeNames\"</code>\n field in the <code>GetQuantumTask</code> API request.</p>" |
| 1888 | + } |
| 1889 | + } |
| 1890 | + } |
| 1891 | + }, |
| 1892 | + "com.amazonaws.braket#HybridJobAdditionalAttributeName": { |
| 1893 | + "type": "string", |
| 1894 | + "traits": { |
| 1895 | + "smithy.api#enum": [ |
| 1896 | + { |
| 1897 | + "value": "QueueInfo", |
| 1898 | + "name": "QUEUE_INFO" |
| 1899 | + } |
| 1900 | + ] |
| 1901 | + } |
| 1902 | + }, |
| 1903 | + "com.amazonaws.braket#HybridJobAdditionalAttributeNamesList": { |
| 1904 | + "type": "list", |
| 1905 | + "member": { |
| 1906 | + "target": "com.amazonaws.braket#HybridJobAdditionalAttributeName" |
| 1907 | + } |
| 1908 | + }, |
| 1909 | + "com.amazonaws.braket#HybridJobQueueInfo": { |
| 1910 | + "type": "structure", |
| 1911 | + "members": { |
| 1912 | + "queue": { |
| 1913 | + "target": "com.amazonaws.braket#QueueName", |
| 1914 | + "traits": { |
| 1915 | + "smithy.api#documentation": "<p>The name of the queue.</p>", |
| 1916 | + "smithy.api#required": {} |
| 1917 | + } |
| 1918 | + }, |
| 1919 | + "position": { |
| 1920 | + "target": "smithy.api#String", |
| 1921 | + "traits": { |
| 1922 | + "smithy.api#documentation": "<p>Current position of the job in the jobs queue.</p>", |
| 1923 | + "smithy.api#required": {} |
| 1924 | + } |
| 1925 | + }, |
| 1926 | + "message": { |
| 1927 | + "target": "smithy.api#String", |
| 1928 | + "traits": { |
| 1929 | + "smithy.api#documentation": "<p>Optional. Provides more information about the queue position. For example,\n if the job is complete and no longer in the queue, the message field contains\n that information.</p>" |
| 1930 | + } |
1823 | 1931 | }
|
| 1932 | + }, |
| 1933 | + "traits": { |
| 1934 | + "smithy.api#documentation": "<p>Information about the queue for a specified job.</p>" |
1824 | 1935 | }
|
1825 | 1936 | },
|
1826 | 1937 | "com.amazonaws.braket#HyperParameters": {
|
|
2449 | 2560 | }
|
2450 | 2561 | }
|
2451 | 2562 | },
|
| 2563 | + "com.amazonaws.braket#QuantumTaskAdditionalAttributeName": { |
| 2564 | + "type": "string", |
| 2565 | + "traits": { |
| 2566 | + "smithy.api#enum": [ |
| 2567 | + { |
| 2568 | + "value": "QueueInfo", |
| 2569 | + "name": "QUEUE_INFO" |
| 2570 | + } |
| 2571 | + ] |
| 2572 | + } |
| 2573 | + }, |
| 2574 | + "com.amazonaws.braket#QuantumTaskAdditionalAttributeNamesList": { |
| 2575 | + "type": "list", |
| 2576 | + "member": { |
| 2577 | + "target": "com.amazonaws.braket#QuantumTaskAdditionalAttributeName" |
| 2578 | + } |
| 2579 | + }, |
2452 | 2580 | "com.amazonaws.braket#QuantumTaskArn": {
|
2453 | 2581 | "type": "string",
|
2454 | 2582 | "traits": {
|
|
2457 | 2585 | "resource": "com.amazonaws.braket#QuantumTaskResource"
|
2458 | 2586 | },
|
2459 | 2587 | "smithy.api#length": {
|
2460 |
| - "min": 1, |
| 2588 | + "min": 0, |
2461 | 2589 | "max": 256
|
2462 | 2590 | }
|
2463 | 2591 | }
|
2464 | 2592 | },
|
| 2593 | + "com.amazonaws.braket#QuantumTaskQueueInfo": { |
| 2594 | + "type": "structure", |
| 2595 | + "members": { |
| 2596 | + "queue": { |
| 2597 | + "target": "com.amazonaws.braket#QueueName", |
| 2598 | + "traits": { |
| 2599 | + "smithy.api#documentation": "<p>The name of the queue. </p>", |
| 2600 | + "smithy.api#required": {} |
| 2601 | + } |
| 2602 | + }, |
| 2603 | + "position": { |
| 2604 | + "target": "smithy.api#String", |
| 2605 | + "traits": { |
| 2606 | + "smithy.api#documentation": "<p>Current position of the task in the quantum tasks queue.</p>", |
| 2607 | + "smithy.api#required": {} |
| 2608 | + } |
| 2609 | + }, |
| 2610 | + "queuePriority": { |
| 2611 | + "target": "com.amazonaws.braket#QueuePriority", |
| 2612 | + "traits": { |
| 2613 | + "smithy.api#documentation": "<p>Optional. Specifies the priority of the queue. Quantum tasks in a priority queue\n are processed before the tasks in a normal queue.</p>" |
| 2614 | + } |
| 2615 | + }, |
| 2616 | + "message": { |
| 2617 | + "target": "smithy.api#String", |
| 2618 | + "traits": { |
| 2619 | + "smithy.api#documentation": "<p>Optional. Provides more information about the queue position. For example,\n if the task is complete and no longer in the queue, the message field contains\n that information.</p>" |
| 2620 | + } |
| 2621 | + } |
| 2622 | + }, |
| 2623 | + "traits": { |
| 2624 | + "smithy.api#documentation": "<p>Information about the queue for the specified quantum task.</p>" |
| 2625 | + } |
| 2626 | + }, |
2465 | 2627 | "com.amazonaws.braket#QuantumTaskResource": {
|
2466 | 2628 | "type": "resource",
|
2467 | 2629 | "identifiers": {
|
|
2600 | 2762 | "target": "com.amazonaws.braket#QuantumTaskSummary"
|
2601 | 2763 | }
|
2602 | 2764 | },
|
| 2765 | + "com.amazonaws.braket#QueueName": { |
| 2766 | + "type": "string", |
| 2767 | + "traits": { |
| 2768 | + "smithy.api#enum": [ |
| 2769 | + { |
| 2770 | + "value": "QUANTUM_TASKS_QUEUE", |
| 2771 | + "name": "QUANTUM_TASKS_QUEUE" |
| 2772 | + }, |
| 2773 | + { |
| 2774 | + "value": "JOBS_QUEUE", |
| 2775 | + "name": "JOBS_QUEUE" |
| 2776 | + } |
| 2777 | + ] |
| 2778 | + } |
| 2779 | + }, |
| 2780 | + "com.amazonaws.braket#QueuePriority": { |
| 2781 | + "type": "string", |
| 2782 | + "traits": { |
| 2783 | + "smithy.api#enum": [ |
| 2784 | + { |
| 2785 | + "value": "Normal", |
| 2786 | + "name": "NORMAL" |
| 2787 | + }, |
| 2788 | + { |
| 2789 | + "value": "Priority", |
| 2790 | + "name": "PRIORITY" |
| 2791 | + } |
| 2792 | + ] |
| 2793 | + } |
| 2794 | + }, |
2603 | 2795 | "com.amazonaws.braket#ResourceNotFoundException": {
|
2604 | 2796 | "type": "structure",
|
2605 | 2797 | "members": {
|
|
0 commit comments