Skip to content

Commit 913db06

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent a436fe6 commit 913db06

File tree

7 files changed

+1308
-74
lines changed

7 files changed

+1308
-74
lines changed

codegen/sdk-codegen/aws-models/braket.json

+193-1
Original file line numberDiff line numberDiff line change
@@ -1297,6 +1297,40 @@
12971297
"smithy.api#httpError": 424
12981298
}
12991299
},
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+
},
13001334
"com.amazonaws.braket#DeviceResource": {
13011335
"type": "resource",
13021336
"identifiers": {
@@ -1504,6 +1538,12 @@
15041538
"smithy.api#documentation": "<p>Details about the capabilities of the device.</p>",
15051539
"smithy.api#required": {}
15061540
}
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+
}
15071547
}
15081548
}
15091549
},
@@ -1551,6 +1591,13 @@
15511591
"smithy.api#httpLabel": {},
15521592
"smithy.api#required": {}
15531593
}
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+
}
15541601
}
15551602
}
15561603
},
@@ -1686,6 +1733,12 @@
16861733
"traits": {
16871734
"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>"
16881735
}
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+
}
16891742
}
16901743
}
16911744
},
@@ -1733,6 +1786,13 @@
17331786
"smithy.api#httpLabel": {},
17341787
"smithy.api#required": {}
17351788
}
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+
}
17361796
}
17371797
}
17381798
},
@@ -1820,7 +1880,58 @@
18201880
"traits": {
18211881
"smithy.api#documentation": "<p>The ARN of the Amazon Braket job associated with the quantum task.</p>"
18221882
}
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+
}
18231931
}
1932+
},
1933+
"traits": {
1934+
"smithy.api#documentation": "<p>Information about the queue for a specified job.</p>"
18241935
}
18251936
},
18261937
"com.amazonaws.braket#HyperParameters": {
@@ -2449,6 +2560,23 @@
24492560
}
24502561
}
24512562
},
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+
},
24522580
"com.amazonaws.braket#QuantumTaskArn": {
24532581
"type": "string",
24542582
"traits": {
@@ -2457,11 +2585,45 @@
24572585
"resource": "com.amazonaws.braket#QuantumTaskResource"
24582586
},
24592587
"smithy.api#length": {
2460-
"min": 1,
2588+
"min": 0,
24612589
"max": 256
24622590
}
24632591
}
24642592
},
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+
},
24652627
"com.amazonaws.braket#QuantumTaskResource": {
24662628
"type": "resource",
24672629
"identifiers": {
@@ -2600,6 +2762,36 @@
26002762
"target": "com.amazonaws.braket#QuantumTaskSummary"
26012763
}
26022764
},
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+
},
26032795
"com.amazonaws.braket#ResourceNotFoundException": {
26042796
"type": "structure",
26052797
"members": {

0 commit comments

Comments
 (0)