1{ 2 "smithy": "1.0", 3 "shapes": { 4 "com.amazonaws.braket#AccessDeniedException": { 5 "type": "structure", 6 "members": { 7 "message": { 8 "target": "smithy.api#String" 9 } 10 }, 11 "traits": { 12 "smithy.api#documentation": "<p>You do not have sufficient access to perform this action.</p>", 13 "smithy.api#error": "client", 14 "smithy.api#httpError": 403 15 } 16 }, 17 "com.amazonaws.braket#Arn": { 18 "type": "string", 19 "traits": { 20 "smithy.api#documentation": "/////" 21 } 22 }, 23 "com.amazonaws.braket#Braket": { 24 "type": "service", 25 "version": "2019-09-01", 26 "operations": [ 27 { 28 "target": "com.amazonaws.braket#ListTagsForResource" 29 }, 30 { 31 "target": "com.amazonaws.braket#TagResource" 32 }, 33 { 34 "target": "com.amazonaws.braket#UntagResource" 35 } 36 ], 37 "resources": [ 38 { 39 "target": "com.amazonaws.braket#DeviceResource" 40 }, 41 { 42 "target": "com.amazonaws.braket#HybridJobResource" 43 }, 44 { 45 "target": "com.amazonaws.braket#QuantumJobResource" 46 }, 47 { 48 "target": "com.amazonaws.braket#QuantumTaskResource" 49 } 50 ], 51 "traits": { 52 "aws.api#service": { 53 "sdkId": "Braket", 54 "arnNamespace": "braket", 55 "cloudFormationName": "Braket", 56 "cloudTrailEventSource": "braket.amazonaws.com" 57 }, 58 "aws.auth#sigv4": { 59 "name": "braket" 60 }, 61 "aws.protocols#restJson1": {}, 62 "smithy.api#cors": { 63 "additionalAllowedHeaders": [ 64 "x-amz-content-sha256", 65 "x-amzn-trace-id", 66 "x-amz-user-agent", 67 "*", 68 "content-type", 69 "x-amzn-platform-id" 70 ], 71 "additionalExposedHeaders": [ 72 "date", 73 "x-amz-apigw-id", 74 "x-amzn-trace-id", 75 "x-amzn-errortype", 76 "x-amzn-requestid", 77 "x-amzn-errormessage" 78 ] 79 }, 80 "smithy.api#documentation": "<p>The Amazon Braket API Reference provides information about the operations and structures supported in Amazon Braket.</p>", 81 "smithy.api#title": "Braket" 82 } 83 }, 84 "com.amazonaws.braket#CancelQuantumTask": { 85 "type": "operation", 86 "input": { 87 "target": "com.amazonaws.braket#CancelQuantumTaskRequest" 88 }, 89 "output": { 90 "target": "com.amazonaws.braket#CancelQuantumTaskResponse" 91 }, 92 "errors": [ 93 { 94 "target": "com.amazonaws.braket#AccessDeniedException" 95 }, 96 { 97 "target": "com.amazonaws.braket#ConflictException" 98 }, 99 { 100 "target": "com.amazonaws.braket#InternalServiceException" 101 }, 102 { 103 "target": "com.amazonaws.braket#ResourceNotFoundException" 104 }, 105 { 106 "target": "com.amazonaws.braket#ThrottlingException" 107 }, 108 { 109 "target": "com.amazonaws.braket#ValidationException" 110 } 111 ], 112 "traits": { 113 "smithy.api#documentation": "<p>Cancels the specified task.</p>", 114 "smithy.api#http": { 115 "method": "PUT", 116 "uri": "/quantum-task/{quantumTaskArn}/cancel", 117 "code": 200 118 }, 119 "smithy.api#idempotent": {} 120 } 121 }, 122 "com.amazonaws.braket#CancelQuantumTaskRequest": { 123 "type": "structure", 124 "members": { 125 "quantumTaskArn": { 126 "target": "com.amazonaws.braket#QuantumTaskArn", 127 "traits": { 128 "smithy.api#documentation": "<p>The ARN of the task to cancel.</p>", 129 "smithy.api#httpLabel": {}, 130 "smithy.api#required": {} 131 } 132 }, 133 "clientToken": { 134 "target": "com.amazonaws.braket#String64", 135 "traits": { 136 "smithy.api#documentation": "<p>The client token associated with the request.</p>", 137 "smithy.api#idempotencyToken": {}, 138 "smithy.api#required": {} 139 } 140 } 141 } 142 }, 143 "com.amazonaws.braket#CancelQuantumTaskResponse": { 144 "type": "structure", 145 "members": { 146 "quantumTaskArn": { 147 "target": "com.amazonaws.braket#QuantumTaskArn", 148 "traits": { 149 "smithy.api#documentation": "<p>The ARN of the task.</p>", 150 "smithy.api#required": {} 151 } 152 }, 153 "cancellationStatus": { 154 "target": "com.amazonaws.braket#CancellationStatus", 155 "traits": { 156 "smithy.api#documentation": "<p>The status of the cancellation request.</p>", 157 "smithy.api#required": {} 158 } 159 } 160 } 161 }, 162 "com.amazonaws.braket#CancellationStatus": { 163 "type": "string", 164 "traits": { 165 "smithy.api#enum": [ 166 { 167 "value": "CANCELLING", 168 "name": "CANCELLING" 169 }, 170 { 171 "value": "CANCELLED", 172 "name": "CANCELLED" 173 } 174 ] 175 } 176 }, 177 "com.amazonaws.braket#ConflictException": { 178 "type": "structure", 179 "members": { 180 "message": { 181 "target": "smithy.api#String" 182 } 183 }, 184 "traits": { 185 "smithy.api#documentation": "<p>An error occurred due to a conflict.</p>", 186 "smithy.api#error": "client", 187 "smithy.api#httpError": 409 188 } 189 }, 190 "com.amazonaws.braket#CreateQuantumTask": { 191 "type": "operation", 192 "input": { 193 "target": "com.amazonaws.braket#CreateQuantumTaskRequest" 194 }, 195 "output": { 196 "target": "com.amazonaws.braket#CreateQuantumTaskResponse" 197 }, 198 "errors": [ 199 { 200 "target": "com.amazonaws.braket#AccessDeniedException" 201 }, 202 { 203 "target": "com.amazonaws.braket#DeviceOfflineException" 204 }, 205 { 206 "target": "com.amazonaws.braket#InternalServiceException" 207 }, 208 { 209 "target": "com.amazonaws.braket#ServiceQuotaExceededException" 210 }, 211 { 212 "target": "com.amazonaws.braket#ThrottlingException" 213 }, 214 { 215 "target": "com.amazonaws.braket#ValidationException" 216 } 217 ], 218 "traits": { 219 "smithy.api#documentation": "<p>Creates a quantum task.</p>", 220 "smithy.api#http": { 221 "method": "POST", 222 "uri": "/quantum-task", 223 "code": 201 224 } 225 } 226 }, 227 "com.amazonaws.braket#CreateQuantumTaskRequest": { 228 "type": "structure", 229 "members": { 230 "clientToken": { 231 "target": "com.amazonaws.braket#String64", 232 "traits": { 233 "smithy.api#documentation": "<p>The client token associated with the request.</p>", 234 "smithy.api#idempotencyToken": {}, 235 "smithy.api#required": {} 236 } 237 }, 238 "deviceArn": { 239 "target": "com.amazonaws.braket#DeviceArn", 240 "traits": { 241 "smithy.api#documentation": "<p>The ARN of the device to run the task on.</p>", 242 "smithy.api#required": {} 243 } 244 }, 245 "deviceParameters": { 246 "target": "com.amazonaws.braket#JsonValue", 247 "traits": { 248 "smithy.api#documentation": "<p>The parameters for the device to run the task on.</p>", 249 "smithy.api#length": { 250 "min": 1, 251 "max": 2048 252 } 253 } 254 }, 255 "shots": { 256 "target": "smithy.api#Long", 257 "traits": { 258 "smithy.api#documentation": "<p>The number of shots to use for the task.</p>", 259 "smithy.api#range": { 260 "min": 0 261 }, 262 "smithy.api#required": {} 263 } 264 }, 265 "outputS3Bucket": { 266 "target": "smithy.api#String", 267 "traits": { 268 "smithy.api#documentation": "<p>The S3 bucket to store task result files in.</p>", 269 "smithy.api#length": { 270 "min": 3, 271 "max": 63 272 }, 273 "smithy.api#required": {} 274 } 275 }, 276 "outputS3KeyPrefix": { 277 "target": "smithy.api#String", 278 "traits": { 279 "smithy.api#documentation": "<p>The key prefix for the location in the S3 bucket to store task results in.</p>", 280 "smithy.api#length": { 281 "min": 1, 282 "max": 1024 283 }, 284 "smithy.api#required": {} 285 } 286 }, 287 "action": { 288 "target": "com.amazonaws.braket#JsonValue", 289 "traits": { 290 "smithy.api#documentation": "<p>The action associated with the task.</p>", 291 "smithy.api#required": {} 292 } 293 }, 294 "tags": { 295 "target": "com.amazonaws.braket#TagsMap", 296 "traits": { 297 "smithy.api#documentation": "<p>Tags to be added to the quantum task you're creating.</p>" 298 } 299 } 300 } 301 }, 302 "com.amazonaws.braket#CreateQuantumTaskResponse": { 303 "type": "structure", 304 "members": { 305 "quantumTaskArn": { 306 "target": "com.amazonaws.braket#QuantumTaskArn", 307 "traits": { 308 "smithy.api#documentation": "<p>The ARN of the task created by the request.</p>", 309 "smithy.api#required": {} 310 } 311 } 312 } 313 }, 314 "com.amazonaws.braket#DeviceArn": { 315 "type": "string", 316 "traits": { 317 "aws.api#arnReference": { 318 "service": "com.amazonaws.braket#Braket", 319 "resource": "com.amazonaws.braket#DeviceResource" 320 }, 321 "smithy.api#length": { 322 "min": 1, 323 "max": 256 324 } 325 } 326 }, 327 "com.amazonaws.braket#DeviceOfflineException": { 328 "type": "structure", 329 "members": { 330 "message": { 331 "target": "smithy.api#String" 332 } 333 }, 334 "traits": { 335 "smithy.api#documentation": "<p>The specified device is currently offline.</p>", 336 "smithy.api#error": "client", 337 "smithy.api#httpError": 424 338 } 339 }, 340 "com.amazonaws.braket#DeviceResource": { 341 "type": "resource", 342 "identifiers": { 343 "deviceArn": { 344 "target": "com.amazonaws.braket#DeviceArn" 345 } 346 }, 347 "read": { 348 "target": "com.amazonaws.braket#GetDevice" 349 }, 350 "list": { 351 "target": "com.amazonaws.braket#SearchDevices" 352 }, 353 "traits": { 354 "aws.api#arn": { 355 "template": "{deviceArn}", 356 "absolute": true, 357 "noAccount": false, 358 "noRegion": false 359 } 360 } 361 }, 362 "com.amazonaws.braket#DeviceStatus": { 363 "type": "string", 364 "traits": { 365 "smithy.api#enum": [ 366 { 367 "value": "ONLINE", 368 "name": "ONLINE" 369 }, 370 { 371 "value": "OFFLINE", 372 "name": "OFFLINE" 373 } 374 ] 375 } 376 }, 377 "com.amazonaws.braket#DeviceSummary": { 378 "type": "structure", 379 "members": { 380 "deviceArn": { 381 "target": "com.amazonaws.braket#DeviceArn", 382 "traits": { 383 "smithy.api#documentation": "<p>The ARN of the device.</p>", 384 "smithy.api#required": {} 385 } 386 }, 387 "deviceName": { 388 "target": "smithy.api#String", 389 "traits": { 390 "smithy.api#documentation": "<p>The name of the device.</p>", 391 "smithy.api#required": {} 392 } 393 }, 394 "providerName": { 395 "target": "smithy.api#String", 396 "traits": { 397 "smithy.api#documentation": "<p>The provider of the device.</p>", 398 "smithy.api#required": {} 399 } 400 }, 401 "deviceType": { 402 "target": "com.amazonaws.braket#DeviceType", 403 "traits": { 404 "smithy.api#documentation": "<p>The type of the device.</p>", 405 "smithy.api#required": {} 406 } 407 }, 408 "deviceStatus": { 409 "target": "com.amazonaws.braket#DeviceStatus", 410 "traits": { 411 "smithy.api#documentation": "<p>The status of the device.</p>", 412 "smithy.api#required": {} 413 } 414 } 415 }, 416 "traits": { 417 "smithy.api#documentation": "<p>Includes information about the device.</p>" 418 } 419 }, 420 "com.amazonaws.braket#DeviceSummaryList": { 421 "type": "list", 422 "member": { 423 "target": "com.amazonaws.braket#DeviceSummary" 424 } 425 }, 426 "com.amazonaws.braket#DeviceType": { 427 "type": "string", 428 "traits": { 429 "smithy.api#enum": [ 430 { 431 "value": "QPU", 432 "name": "QPU" 433 }, 434 { 435 "value": "SIMULATOR", 436 "name": "SIMULATOR" 437 } 438 ] 439 } 440 }, 441 "com.amazonaws.braket#GetDevice": { 442 "type": "operation", 443 "input": { 444 "target": "com.amazonaws.braket#GetDeviceRequest" 445 }, 446 "output": { 447 "target": "com.amazonaws.braket#GetDeviceResponse" 448 }, 449 "errors": [ 450 { 451 "target": "com.amazonaws.braket#AccessDeniedException" 452 }, 453 { 454 "target": "com.amazonaws.braket#InternalServiceException" 455 }, 456 { 457 "target": "com.amazonaws.braket#ResourceNotFoundException" 458 }, 459 { 460 "target": "com.amazonaws.braket#ThrottlingException" 461 }, 462 { 463 "target": "com.amazonaws.braket#ValidationException" 464 } 465 ], 466 "traits": { 467 "smithy.api#documentation": "<p>Retrieves the devices available in Amazon Braket.</p>", 468 "smithy.api#http": { 469 "method": "GET", 470 "uri": "/device/{deviceArn}", 471 "code": 200 472 }, 473 "smithy.api#readonly": {} 474 } 475 }, 476 "com.amazonaws.braket#GetDeviceRequest": { 477 "type": "structure", 478 "members": { 479 "deviceArn": { 480 "target": "com.amazonaws.braket#DeviceArn", 481 "traits": { 482 "smithy.api#documentation": "<p>The ARN of the device to retrieve.</p>", 483 "smithy.api#httpLabel": {}, 484 "smithy.api#required": {} 485 } 486 } 487 } 488 }, 489 "com.amazonaws.braket#GetDeviceResponse": { 490 "type": "structure", 491 "members": { 492 "deviceArn": { 493 "target": "com.amazonaws.braket#DeviceArn", 494 "traits": { 495 "smithy.api#documentation": "<p>The ARN of the device.</p>", 496 "smithy.api#required": {} 497 } 498 }, 499 "deviceName": { 500 "target": "smithy.api#String", 501 "traits": { 502 "smithy.api#documentation": "<p>The name of the device.</p>", 503 "smithy.api#required": {} 504 } 505 }, 506 "providerName": { 507 "target": "smithy.api#String", 508 "traits": { 509 "smithy.api#documentation": "<p>The name of the partner company for the device.</p>", 510 "smithy.api#required": {} 511 } 512 }, 513 "deviceType": { 514 "target": "com.amazonaws.braket#DeviceType", 515 "traits": { 516 "smithy.api#documentation": "<p>The type of the device.</p>", 517 "smithy.api#required": {} 518 } 519 }, 520 "deviceStatus": { 521 "target": "com.amazonaws.braket#DeviceStatus", 522 "traits": { 523 "smithy.api#documentation": "<p>The status of the device.</p>", 524 "smithy.api#required": {} 525 } 526 }, 527 "deviceCapabilities": { 528 "target": "com.amazonaws.braket#JsonValue", 529 "traits": { 530 "smithy.api#documentation": "<p>Details about the capabilities of the device.</p>", 531 "smithy.api#required": {} 532 } 533 } 534 } 535 }, 536 "com.amazonaws.braket#GetQuantumTask": { 537 "type": "operation", 538 "input": { 539 "target": "com.amazonaws.braket#GetQuantumTaskRequest" 540 }, 541 "output": { 542 "target": "com.amazonaws.braket#GetQuantumTaskResponse" 543 }, 544 "errors": [ 545 { 546 "target": "com.amazonaws.braket#AccessDeniedException" 547 }, 548 { 549 "target": "com.amazonaws.braket#InternalServiceException" 550 }, 551 { 552 "target": "com.amazonaws.braket#ResourceNotFoundException" 553 }, 554 { 555 "target": "com.amazonaws.braket#ThrottlingException" 556 }, 557 { 558 "target": "com.amazonaws.braket#ValidationException" 559 } 560 ], 561 "traits": { 562 "smithy.api#documentation": "<p>Retrieves the specified quantum task.</p>", 563 "smithy.api#http": { 564 "method": "GET", 565 "uri": "/quantum-task/{quantumTaskArn}", 566 "code": 200 567 }, 568 "smithy.api#readonly": {} 569 } 570 }, 571 "com.amazonaws.braket#GetQuantumTaskRequest": { 572 "type": "structure", 573 "members": { 574 "quantumTaskArn": { 575 "target": "com.amazonaws.braket#QuantumTaskArn", 576 "traits": { 577 "smithy.api#documentation": "<p>the ARN of the task to retrieve.</p>", 578 "smithy.api#httpLabel": {}, 579 "smithy.api#required": {} 580 } 581 } 582 } 583 }, 584 "com.amazonaws.braket#GetQuantumTaskResponse": { 585 "type": "structure", 586 "members": { 587 "quantumTaskArn": { 588 "target": "com.amazonaws.braket#QuantumTaskArn", 589 "traits": { 590 "smithy.api#documentation": "<p>The ARN of the task.</p>", 591 "smithy.api#required": {} 592 } 593 }, 594 "status": { 595 "target": "com.amazonaws.braket#QuantumTaskStatus", 596 "traits": { 597 "smithy.api#documentation": "<p>The status of the task.</p>", 598 "smithy.api#required": {} 599 } 600 }, 601 "failureReason": { 602 "target": "smithy.api#String", 603 "traits": { 604 "smithy.api#documentation": "<p>The reason that a task failed.</p>" 605 } 606 }, 607 "deviceArn": { 608 "target": "com.amazonaws.braket#DeviceArn", 609 "traits": { 610 "smithy.api#documentation": "<p>The ARN of the device the task was run on.</p>", 611 "smithy.api#required": {} 612 } 613 }, 614 "deviceParameters": { 615 "target": "com.amazonaws.braket#JsonValue", 616 "traits": { 617 "smithy.api#documentation": "<p>The parameters for the device on which the task ran.</p>", 618 "smithy.api#required": {} 619 } 620 }, 621 "shots": { 622 "target": "smithy.api#Long", 623 "traits": { 624 "smithy.api#documentation": "<p>The number of shots used in the task.</p>", 625 "smithy.api#required": {} 626 } 627 }, 628 "outputS3Bucket": { 629 "target": "smithy.api#String", 630 "traits": { 631 "smithy.api#documentation": "<p>The S3 bucket where task results are stored.</p>", 632 "smithy.api#required": {} 633 } 634 }, 635 "outputS3Directory": { 636 "target": "smithy.api#String", 637 "traits": { 638 "smithy.api#documentation": "<p>The folder in the S3 bucket where task results are stored.</p>", 639 "smithy.api#required": {} 640 } 641 }, 642 "createdAt": { 643 "target": "smithy.api#Timestamp", 644 "traits": { 645 "smithy.api#documentation": "<p>The time at which the task was created.</p>", 646 "smithy.api#required": {}, 647 "smithy.api#timestampFormat": "date-time" 648 } 649 }, 650 "endedAt": { 651 "target": "smithy.api#Timestamp", 652 "traits": { 653 "smithy.api#documentation": "<p>The time at which the task ended.</p>", 654 "smithy.api#timestampFormat": "date-time" 655 } 656 }, 657 "tags": { 658 "target": "com.amazonaws.braket#TagsMap", 659 "traits": { 660 "smithy.api#documentation": "<p>The tags that belong to this task.</p>" 661 } 662 } 663 } 664 }, 665 "com.amazonaws.braket#HybridJobResource": { 666 "type": "resource", 667 "identifiers": { 668 "hybridJobArn": { 669 "target": "com.amazonaws.braket#Arn" 670 } 671 }, 672 "traits": { 673 "aws.api#arn": { 674 "template": "{hybridJobArn}", 675 "absolute": true, 676 "noAccount": false, 677 "noRegion": false 678 } 679 } 680 }, 681 "com.amazonaws.braket#InternalServiceException": { 682 "type": "structure", 683 "members": { 684 "message": { 685 "target": "smithy.api#String" 686 } 687 }, 688 "traits": { 689 "smithy.api#documentation": "<p>The request processing has failed because of an unknown error, exception, or failure.</p>", 690 "smithy.api#error": "server", 691 "smithy.api#httpError": 500 692 } 693 }, 694 "com.amazonaws.braket#JsonValue": { 695 "type": "string", 696 "traits": { 697 "smithy.api#mediaType": "application/json" 698 } 699 }, 700 "com.amazonaws.braket#ListTagsForResource": { 701 "type": "operation", 702 "input": { 703 "target": "com.amazonaws.braket#ListTagsForResourceRequest" 704 }, 705 "output": { 706 "target": "com.amazonaws.braket#ListTagsForResourceResponse" 707 }, 708 "errors": [ 709 { 710 "target": "com.amazonaws.braket#InternalServiceException" 711 }, 712 { 713 "target": "com.amazonaws.braket#ResourceNotFoundException" 714 }, 715 { 716 "target": "com.amazonaws.braket#ValidationException" 717 } 718 ], 719 "traits": { 720 "smithy.api#documentation": "<p>Shows the tags associated with this resource.</p>", 721 "smithy.api#http": { 722 "method": "GET", 723 "uri": "/tags/{resourceArn}", 724 "code": 200 725 }, 726 "smithy.api#readonly": {} 727 } 728 }, 729 "com.amazonaws.braket#ListTagsForResourceRequest": { 730 "type": "structure", 731 "members": { 732 "resourceArn": { 733 "target": "smithy.api#String", 734 "traits": { 735 "smithy.api#documentation": "<p>Specify the <code>resourceArn</code> for the resource whose tags to display.</p>", 736 "smithy.api#httpLabel": {}, 737 "smithy.api#required": {} 738 } 739 } 740 } 741 }, 742 "com.amazonaws.braket#ListTagsForResourceResponse": { 743 "type": "structure", 744 "members": { 745 "tags": { 746 "target": "com.amazonaws.braket#TagsMap", 747 "traits": { 748 "smithy.api#documentation": "<p>Displays the key, value pairs of tags associated with this resource.</p>" 749 } 750 } 751 } 752 }, 753 "com.amazonaws.braket#QuantumJobResource": { 754 "type": "resource", 755 "identifiers": { 756 "quantumJobArn": { 757 "target": "com.amazonaws.braket#Arn" 758 } 759 }, 760 "traits": { 761 "aws.api#arn": { 762 "template": "{quantumJobArn}", 763 "absolute": true, 764 "noAccount": false, 765 "noRegion": false 766 } 767 } 768 }, 769 "com.amazonaws.braket#QuantumTaskArn": { 770 "type": "string", 771 "traits": { 772 "aws.api#arnReference": { 773 "service": "com.amazonaws.braket#Braket", 774 "resource": "com.amazonaws.braket#QuantumTaskResource" 775 }, 776 "smithy.api#length": { 777 "min": 1, 778 "max": 256 779 } 780 } 781 }, 782 "com.amazonaws.braket#QuantumTaskResource": { 783 "type": "resource", 784 "identifiers": { 785 "quantumTaskArn": { 786 "target": "com.amazonaws.braket#QuantumTaskArn" 787 } 788 }, 789 "create": { 790 "target": "com.amazonaws.braket#CreateQuantumTask" 791 }, 792 "read": { 793 "target": "com.amazonaws.braket#GetQuantumTask" 794 }, 795 "update": { 796 "target": "com.amazonaws.braket#CancelQuantumTask" 797 }, 798 "list": { 799 "target": "com.amazonaws.braket#SearchQuantumTasks" 800 }, 801 "traits": { 802 "aws.api#arn": { 803 "template": "{quantumTaskArn}", 804 "absolute": true, 805 "noAccount": false, 806 "noRegion": false 807 } 808 } 809 }, 810 "com.amazonaws.braket#QuantumTaskStatus": { 811 "type": "string", 812 "traits": { 813 "smithy.api#enum": [ 814 { 815 "value": "CREATED", 816 "name": "CREATED" 817 }, 818 { 819 "value": "QUEUED", 820 "name": "QUEUED" 821 }, 822 { 823 "value": "RUNNING", 824 "name": "RUNNING" 825 }, 826 { 827 "value": "COMPLETED", 828 "name": "COMPLETED" 829 }, 830 { 831 "value": "FAILED", 832 "name": "FAILED" 833 }, 834 { 835 "value": "CANCELLING", 836 "name": "CANCELLING" 837 }, 838 { 839 "value": "CANCELLED", 840 "name": "CANCELLED" 841 } 842 ] 843 } 844 }, 845 "com.amazonaws.braket#QuantumTaskSummary": { 846 "type": "structure", 847 "members": { 848 "quantumTaskArn": { 849 "target": "com.amazonaws.braket#QuantumTaskArn", 850 "traits": { 851 "smithy.api#documentation": "<p>The ARN of the task.</p>", 852 "smithy.api#required": {} 853 } 854 }, 855 "status": { 856 "target": "com.amazonaws.braket#QuantumTaskStatus", 857 "traits": { 858 "smithy.api#documentation": "<p>The status of the task.</p>", 859 "smithy.api#required": {} 860 } 861 }, 862 "deviceArn": { 863 "target": "com.amazonaws.braket#DeviceArn", 864 "traits": { 865 "smithy.api#documentation": "<p>The ARN of the device the task ran on.</p>", 866 "smithy.api#required": {} 867 } 868 }, 869 "shots": { 870 "target": "smithy.api#Long", 871 "traits": { 872 "smithy.api#documentation": "<p>The shots used for the task.</p>", 873 "smithy.api#required": {} 874 } 875 }, 876 "outputS3Bucket": { 877 "target": "smithy.api#String", 878 "traits": { 879 "smithy.api#documentation": "<p>The S3 bucket where the task result file is stored..</p>", 880 "smithy.api#required": {} 881 } 882 }, 883 "outputS3Directory": { 884 "target": "smithy.api#String", 885 "traits": { 886 "smithy.api#documentation": "<p>The folder in the S3 bucket where the task result file is stored.</p>", 887 "smithy.api#required": {} 888 } 889 }, 890 "createdAt": { 891 "target": "smithy.api#Timestamp", 892 "traits": { 893 "smithy.api#documentation": "<p>The time at which the task was created.</p>", 894 "smithy.api#required": {}, 895 "smithy.api#timestampFormat": "date-time" 896 } 897 }, 898 "endedAt": { 899 "target": "smithy.api#Timestamp", 900 "traits": { 901 "smithy.api#documentation": "<p>The time at which the task finished.</p>", 902 "smithy.api#timestampFormat": "date-time" 903 } 904 }, 905 "tags": { 906 "target": "com.amazonaws.braket#TagsMap", 907 "traits": { 908 "smithy.api#documentation": "<p>Displays the key, value pairs of tags associated with this quantum task.</p>" 909 } 910 } 911 }, 912 "traits": { 913 "smithy.api#documentation": "<p>Includes information about a quantum task.</p>" 914 } 915 }, 916 "com.amazonaws.braket#QuantumTaskSummaryList": { 917 "type": "list", 918 "member": { 919 "target": "com.amazonaws.braket#QuantumTaskSummary" 920 } 921 }, 922 "com.amazonaws.braket#ResourceNotFoundException": { 923 "type": "structure", 924 "members": { 925 "message": { 926 "target": "smithy.api#String" 927 } 928 }, 929 "traits": { 930 "smithy.api#documentation": "<p>The specified resource was not found.</p>", 931 "smithy.api#error": "client", 932 "smithy.api#httpError": 404 933 } 934 }, 935 "com.amazonaws.braket#SearchDevices": { 936 "type": "operation", 937 "input": { 938 "target": "com.amazonaws.braket#SearchDevicesRequest" 939 }, 940 "output": { 941 "target": "com.amazonaws.braket#SearchDevicesResponse" 942 }, 943 "errors": [ 944 { 945 "target": "com.amazonaws.braket#AccessDeniedException" 946 }, 947 { 948 "target": "com.amazonaws.braket#InternalServiceException" 949 }, 950 { 951 "target": "com.amazonaws.braket#ThrottlingException" 952 }, 953 { 954 "target": "com.amazonaws.braket#ValidationException" 955 } 956 ], 957 "traits": { 958 "smithy.api#documentation": "<p>Searches for devices using the specified filters.</p>", 959 "smithy.api#http": { 960 "method": "POST", 961 "uri": "/devices", 962 "code": 200 963 }, 964 "smithy.api#paginated": { 965 "inputToken": "nextToken", 966 "outputToken": "nextToken", 967 "items": "devices", 968 "pageSize": "maxResults" 969 }, 970 "smithy.api#readonly": {} 971 } 972 }, 973 "com.amazonaws.braket#SearchDevicesFilter": { 974 "type": "structure", 975 "members": { 976 "name": { 977 "target": "smithy.api#String", 978 "traits": { 979 "smithy.api#documentation": "<p>The name to use to filter results.</p>", 980 "smithy.api#length": { 981 "min": 1, 982 "max": 64 983 }, 984 "smithy.api#required": {} 985 } 986 }, 987 "values": { 988 "target": "com.amazonaws.braket#String256List", 989 "traits": { 990 "smithy.api#documentation": "<p>The values to use to filter results.</p>", 991 "smithy.api#length": { 992 "min": 1, 993 "max": 10 994 }, 995 "smithy.api#required": {} 996 } 997 } 998 }, 999 "traits": { 1000 "smithy.api#documentation": "<p>The filter to use for searching devices.</p>" 1001 } 1002 }, 1003 "com.amazonaws.braket#SearchDevicesFilterList": { 1004 "type": "list", 1005 "member": { 1006 "target": "com.amazonaws.braket#SearchDevicesFilter" 1007 } 1008 }, 1009 "com.amazonaws.braket#SearchDevicesRequest": { 1010 "type": "structure", 1011 "members": { 1012 "nextToken": { 1013 "target": "smithy.api#String", 1014 "traits": { 1015 "smithy.api#documentation": "<p>A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.</p>" 1016 } 1017 }, 1018 "maxResults": { 1019 "target": "smithy.api#Integer", 1020 "traits": { 1021 "smithy.api#documentation": "<p>The maximum number of results to return in the response.</p>", 1022 "smithy.api#range": { 1023 "min": 1, 1024 "max": 100 1025 } 1026 } 1027 }, 1028 "filters": { 1029 "target": "com.amazonaws.braket#SearchDevicesFilterList", 1030 "traits": { 1031 "smithy.api#documentation": "<p>The filter values to use to search for a device.</p>", 1032 "smithy.api#length": { 1033 "min": 0, 1034 "max": 10 1035 }, 1036 "smithy.api#required": {} 1037 } 1038 } 1039 } 1040 }, 1041 "com.amazonaws.braket#SearchDevicesResponse": { 1042 "type": "structure", 1043 "members": { 1044 "devices": { 1045 "target": "com.amazonaws.braket#DeviceSummaryList", 1046 "traits": { 1047 "smithy.api#documentation": "<p>An array of <code>DeviceSummary</code> objects for devices that match the specified filter values.</p>", 1048 "smithy.api#required": {} 1049 } 1050 }, 1051 "nextToken": { 1052 "target": "smithy.api#String", 1053 "traits": { 1054 "smithy.api#documentation": "<p>A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.</p>" 1055 } 1056 } 1057 } 1058 }, 1059 "com.amazonaws.braket#SearchQuantumTasks": { 1060 "type": "operation", 1061 "input": { 1062 "target": "com.amazonaws.braket#SearchQuantumTasksRequest" 1063 }, 1064 "output": { 1065 "target": "com.amazonaws.braket#SearchQuantumTasksResponse" 1066 }, 1067 "errors": [ 1068 { 1069 "target": "com.amazonaws.braket#AccessDeniedException" 1070 }, 1071 { 1072 "target": "com.amazonaws.braket#InternalServiceException" 1073 }, 1074 { 1075 "target": "com.amazonaws.braket#ThrottlingException" 1076 }, 1077 { 1078 "target": "com.amazonaws.braket#ValidationException" 1079 } 1080 ], 1081 "traits": { 1082 "smithy.api#documentation": "<p>Searches for tasks that match the specified filter values.</p>", 1083 "smithy.api#http": { 1084 "method": "POST", 1085 "uri": "/quantum-tasks", 1086 "code": 200 1087 }, 1088 "smithy.api#paginated": { 1089 "inputToken": "nextToken", 1090 "outputToken": "nextToken", 1091 "items": "quantumTasks", 1092 "pageSize": "maxResults" 1093 }, 1094 "smithy.api#readonly": {} 1095 } 1096 }, 1097 "com.amazonaws.braket#SearchQuantumTasksFilter": { 1098 "type": "structure", 1099 "members": { 1100 "name": { 1101 "target": "com.amazonaws.braket#String64", 1102 "traits": { 1103 "smithy.api#documentation": "<p>The name of the device used for the task.</p>", 1104 "smithy.api#required": {} 1105 } 1106 }, 1107 "values": { 1108 "target": "com.amazonaws.braket#String256List", 1109 "traits": { 1110 "smithy.api#documentation": "<p>The values to use for the filter.</p>", 1111 "smithy.api#length": { 1112 "min": 1, 1113 "max": 10 1114 }, 1115 "smithy.api#required": {} 1116 } 1117 }, 1118 "operator": { 1119 "target": "com.amazonaws.braket#SearchQuantumTasksFilterOperator", 1120 "traits": { 1121 "smithy.api#documentation": "<p>An operator to use in the filter.</p>", 1122 "smithy.api#required": {} 1123 } 1124 } 1125 }, 1126 "traits": { 1127 "smithy.api#documentation": "<p>A filter to use to search for tasks.</p>" 1128 } 1129 }, 1130 "com.amazonaws.braket#SearchQuantumTasksFilterList": { 1131 "type": "list", 1132 "member": { 1133 "target": "com.amazonaws.braket#SearchQuantumTasksFilter" 1134 } 1135 }, 1136 "com.amazonaws.braket#SearchQuantumTasksFilterOperator": { 1137 "type": "string", 1138 "traits": { 1139 "smithy.api#enum": [ 1140 { 1141 "value": "LT", 1142 "name": "LT" 1143 }, 1144 { 1145 "value": "LTE", 1146 "name": "LTE" 1147 }, 1148 { 1149 "value": "EQUAL", 1150 "name": "EQUAL" 1151 }, 1152 { 1153 "value": "GT", 1154 "name": "GT" 1155 }, 1156 { 1157 "value": "GTE", 1158 "name": "GTE" 1159 }, 1160 { 1161 "value": "BETWEEN", 1162 "name": "BETWEEN" 1163 } 1164 ] 1165 } 1166 }, 1167 "com.amazonaws.braket#SearchQuantumTasksRequest": { 1168 "type": "structure", 1169 "members": { 1170 "nextToken": { 1171 "target": "smithy.api#String", 1172 "traits": { 1173 "smithy.api#documentation": "<p>A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.</p>" 1174 } 1175 }, 1176 "maxResults": { 1177 "target": "smithy.api#Integer", 1178 "traits": { 1179 "smithy.api#documentation": "<p>Maximum number of results to return in the response.</p>", 1180 "smithy.api#range": { 1181 "min": 1, 1182 "max": 100 1183 } 1184 } 1185 }, 1186 "filters": { 1187 "target": "com.amazonaws.braket#SearchQuantumTasksFilterList", 1188 "traits": { 1189 "smithy.api#documentation": "<p>Array of <code>SearchQuantumTasksFilter</code> objects.</p>", 1190 "smithy.api#length": { 1191 "min": 0, 1192 "max": 10 1193 }, 1194 "smithy.api#required": {} 1195 } 1196 } 1197 } 1198 }, 1199 "com.amazonaws.braket#SearchQuantumTasksResponse": { 1200 "type": "structure", 1201 "members": { 1202 "quantumTasks": { 1203 "target": "com.amazonaws.braket#QuantumTaskSummaryList", 1204 "traits": { 1205 "smithy.api#documentation": "<p>An array of <code>QuantumTaskSummary</code> objects for tasks that match the specified filters.</p>", 1206 "smithy.api#required": {} 1207 } 1208 }, 1209 "nextToken": { 1210 "target": "smithy.api#String", 1211 "traits": { 1212 "smithy.api#documentation": "<p>A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.</p>" 1213 } 1214 } 1215 } 1216 }, 1217 "com.amazonaws.braket#ServiceQuotaExceededException": { 1218 "type": "structure", 1219 "members": { 1220 "message": { 1221 "target": "smithy.api#String" 1222 } 1223 }, 1224 "traits": { 1225 "smithy.api#documentation": "<p>The request failed because a service quota is exceeded.</p>", 1226 "smithy.api#error": "client", 1227 "smithy.api#httpError": 402 1228 } 1229 }, 1230 "com.amazonaws.braket#String256": { 1231 "type": "string", 1232 "traits": { 1233 "smithy.api#length": { 1234 "min": 1, 1235 "max": 256 1236 } 1237 } 1238 }, 1239 "com.amazonaws.braket#String256List": { 1240 "type": "list", 1241 "member": { 1242 "target": "com.amazonaws.braket#String256" 1243 } 1244 }, 1245 "com.amazonaws.braket#String64": { 1246 "type": "string", 1247 "traits": { 1248 "smithy.api#length": { 1249 "min": 1, 1250 "max": 64 1251 } 1252 } 1253 }, 1254 "com.amazonaws.braket#TagKeys": { 1255 "type": "list", 1256 "member": { 1257 "target": "smithy.api#String" 1258 } 1259 }, 1260 "com.amazonaws.braket#TagResource": { 1261 "type": "operation", 1262 "input": { 1263 "target": "com.amazonaws.braket#TagResourceRequest" 1264 }, 1265 "output": { 1266 "target": "com.amazonaws.braket#TagResourceResponse" 1267 }, 1268 "errors": [ 1269 { 1270 "target": "com.amazonaws.braket#InternalServiceException" 1271 }, 1272 { 1273 "target": "com.amazonaws.braket#ResourceNotFoundException" 1274 }, 1275 { 1276 "target": "com.amazonaws.braket#ValidationException" 1277 } 1278 ], 1279 "traits": { 1280 "smithy.api#documentation": "<p>Add a tag to the specified resource.</p>", 1281 "smithy.api#http": { 1282 "method": "POST", 1283 "uri": "/tags/{resourceArn}", 1284 "code": 200 1285 } 1286 } 1287 }, 1288 "com.amazonaws.braket#TagResourceRequest": { 1289 "type": "structure", 1290 "members": { 1291 "resourceArn": { 1292 "target": "smithy.api#String", 1293 "traits": { 1294 "smithy.api#documentation": "<p>Specify the <code>resourceArn</code> of the resource to which a tag will be added.</p>", 1295 "smithy.api#httpLabel": {}, 1296 "smithy.api#required": {} 1297 } 1298 }, 1299 "tags": { 1300 "target": "com.amazonaws.braket#TagsMap", 1301 "traits": { 1302 "smithy.api#documentation": "<p>Specify the tags to add to the resource.</p>", 1303 "smithy.api#required": {} 1304 } 1305 } 1306 } 1307 }, 1308 "com.amazonaws.braket#TagResourceResponse": { 1309 "type": "structure", 1310 "members": {} 1311 }, 1312 "com.amazonaws.braket#TagsMap": { 1313 "type": "map", 1314 "key": { 1315 "target": "smithy.api#String" 1316 }, 1317 "value": { 1318 "target": "smithy.api#String" 1319 } 1320 }, 1321 "com.amazonaws.braket#ThrottlingException": { 1322 "type": "structure", 1323 "members": { 1324 "message": { 1325 "target": "smithy.api#String" 1326 } 1327 }, 1328 "traits": { 1329 "smithy.api#documentation": "<p>The throttling rate limit is met.</p>", 1330 "smithy.api#error": "client", 1331 "smithy.api#httpError": 429 1332 } 1333 }, 1334 "com.amazonaws.braket#UntagResource": { 1335 "type": "operation", 1336 "input": { 1337 "target": "com.amazonaws.braket#UntagResourceRequest" 1338 }, 1339 "output": { 1340 "target": "com.amazonaws.braket#UntagResourceResponse" 1341 }, 1342 "errors": [ 1343 { 1344 "target": "com.amazonaws.braket#InternalServiceException" 1345 }, 1346 { 1347 "target": "com.amazonaws.braket#ResourceNotFoundException" 1348 }, 1349 { 1350 "target": "com.amazonaws.braket#ValidationException" 1351 } 1352 ], 1353 "traits": { 1354 "smithy.api#documentation": "<p>Remove tags from a resource.</p>", 1355 "smithy.api#http": { 1356 "method": "DELETE", 1357 "uri": "/tags/{resourceArn}", 1358 "code": 200 1359 }, 1360 "smithy.api#idempotent": {} 1361 } 1362 }, 1363 "com.amazonaws.braket#UntagResourceRequest": { 1364 "type": "structure", 1365 "members": { 1366 "resourceArn": { 1367 "target": "smithy.api#String", 1368 "traits": { 1369 "smithy.api#documentation": "<p>Specify the <code>resourceArn</code> for the resource from which to remove the tags.</p>", 1370 "smithy.api#httpLabel": {}, 1371 "smithy.api#required": {} 1372 } 1373 }, 1374 "tagKeys": { 1375 "target": "com.amazonaws.braket#TagKeys", 1376 "traits": { 1377 "smithy.api#documentation": "<p>pecify the keys for the tags to remove from the resource.</p>", 1378 "smithy.api#httpQuery": "tagKeys", 1379 "smithy.api#required": {} 1380 } 1381 } 1382 } 1383 }, 1384 "com.amazonaws.braket#UntagResourceResponse": { 1385 "type": "structure", 1386 "members": {} 1387 }, 1388 "com.amazonaws.braket#ValidationException": { 1389 "type": "structure", 1390 "members": { 1391 "message": { 1392 "target": "smithy.api#String" 1393 } 1394 }, 1395 "traits": { 1396 "smithy.api#documentation": "<p>The input fails to satisfy the constraints specified by an AWS service.</p>", 1397 "smithy.api#error": "client", 1398 "smithy.api#httpError": 400 1399 } 1400 } 1401 } 1402}