github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/lookoutvision/2020-11-20/api-2.json (about) 1 { 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2020-11-20", 5 "endpointPrefix":"lookoutvision", 6 "jsonVersion":"1.1", 7 "protocol":"rest-json", 8 "serviceFullName":"Amazon Lookout for Vision", 9 "serviceId":"LookoutVision", 10 "signatureVersion":"v4", 11 "signingName":"lookoutvision", 12 "uid":"lookoutvision-2020-11-20" 13 }, 14 "operations":{ 15 "CreateDataset":{ 16 "name":"CreateDataset", 17 "http":{ 18 "method":"POST", 19 "requestUri":"/2020-11-20/projects/{projectName}/datasets", 20 "responseCode":202 21 }, 22 "input":{"shape":"CreateDatasetRequest"}, 23 "output":{"shape":"CreateDatasetResponse"}, 24 "errors":[ 25 {"shape":"AccessDeniedException"}, 26 {"shape":"InternalServerException"}, 27 {"shape":"ValidationException"}, 28 {"shape":"ConflictException"}, 29 {"shape":"ResourceNotFoundException"}, 30 {"shape":"ThrottlingException"}, 31 {"shape":"ServiceQuotaExceededException"} 32 ] 33 }, 34 "CreateModel":{ 35 "name":"CreateModel", 36 "http":{ 37 "method":"POST", 38 "requestUri":"/2020-11-20/projects/{projectName}/models", 39 "responseCode":202 40 }, 41 "input":{"shape":"CreateModelRequest"}, 42 "output":{"shape":"CreateModelResponse"}, 43 "errors":[ 44 {"shape":"AccessDeniedException"}, 45 {"shape":"InternalServerException"}, 46 {"shape":"ValidationException"}, 47 {"shape":"ConflictException"}, 48 {"shape":"ResourceNotFoundException"}, 49 {"shape":"ThrottlingException"}, 50 {"shape":"ServiceQuotaExceededException"} 51 ] 52 }, 53 "CreateProject":{ 54 "name":"CreateProject", 55 "http":{ 56 "method":"POST", 57 "requestUri":"/2020-11-20/projects" 58 }, 59 "input":{"shape":"CreateProjectRequest"}, 60 "output":{"shape":"CreateProjectResponse"}, 61 "errors":[ 62 {"shape":"AccessDeniedException"}, 63 {"shape":"InternalServerException"}, 64 {"shape":"ValidationException"}, 65 {"shape":"ConflictException"}, 66 {"shape":"ResourceNotFoundException"}, 67 {"shape":"ThrottlingException"}, 68 {"shape":"ServiceQuotaExceededException"} 69 ] 70 }, 71 "DeleteDataset":{ 72 "name":"DeleteDataset", 73 "http":{ 74 "method":"DELETE", 75 "requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}", 76 "responseCode":202 77 }, 78 "input":{"shape":"DeleteDatasetRequest"}, 79 "output":{"shape":"DeleteDatasetResponse"}, 80 "errors":[ 81 {"shape":"AccessDeniedException"}, 82 {"shape":"InternalServerException"}, 83 {"shape":"ValidationException"}, 84 {"shape":"ConflictException"}, 85 {"shape":"ResourceNotFoundException"}, 86 {"shape":"ThrottlingException"} 87 ] 88 }, 89 "DeleteModel":{ 90 "name":"DeleteModel", 91 "http":{ 92 "method":"DELETE", 93 "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}", 94 "responseCode":202 95 }, 96 "input":{"shape":"DeleteModelRequest"}, 97 "output":{"shape":"DeleteModelResponse"}, 98 "errors":[ 99 {"shape":"AccessDeniedException"}, 100 {"shape":"InternalServerException"}, 101 {"shape":"ValidationException"}, 102 {"shape":"ConflictException"}, 103 {"shape":"ResourceNotFoundException"}, 104 {"shape":"ThrottlingException"} 105 ] 106 }, 107 "DeleteProject":{ 108 "name":"DeleteProject", 109 "http":{ 110 "method":"DELETE", 111 "requestUri":"/2020-11-20/projects/{projectName}" 112 }, 113 "input":{"shape":"DeleteProjectRequest"}, 114 "output":{"shape":"DeleteProjectResponse"}, 115 "errors":[ 116 {"shape":"AccessDeniedException"}, 117 {"shape":"InternalServerException"}, 118 {"shape":"ValidationException"}, 119 {"shape":"ConflictException"}, 120 {"shape":"ResourceNotFoundException"}, 121 {"shape":"ThrottlingException"} 122 ] 123 }, 124 "DescribeDataset":{ 125 "name":"DescribeDataset", 126 "http":{ 127 "method":"GET", 128 "requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}" 129 }, 130 "input":{"shape":"DescribeDatasetRequest"}, 131 "output":{"shape":"DescribeDatasetResponse"}, 132 "errors":[ 133 {"shape":"AccessDeniedException"}, 134 {"shape":"InternalServerException"}, 135 {"shape":"ValidationException"}, 136 {"shape":"ConflictException"}, 137 {"shape":"ResourceNotFoundException"}, 138 {"shape":"ThrottlingException"} 139 ] 140 }, 141 "DescribeModel":{ 142 "name":"DescribeModel", 143 "http":{ 144 "method":"GET", 145 "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}" 146 }, 147 "input":{"shape":"DescribeModelRequest"}, 148 "output":{"shape":"DescribeModelResponse"}, 149 "errors":[ 150 {"shape":"AccessDeniedException"}, 151 {"shape":"InternalServerException"}, 152 {"shape":"ValidationException"}, 153 {"shape":"ConflictException"}, 154 {"shape":"ResourceNotFoundException"}, 155 {"shape":"ThrottlingException"} 156 ] 157 }, 158 "DescribeProject":{ 159 "name":"DescribeProject", 160 "http":{ 161 "method":"GET", 162 "requestUri":"/2020-11-20/projects/{projectName}" 163 }, 164 "input":{"shape":"DescribeProjectRequest"}, 165 "output":{"shape":"DescribeProjectResponse"}, 166 "errors":[ 167 {"shape":"AccessDeniedException"}, 168 {"shape":"InternalServerException"}, 169 {"shape":"ValidationException"}, 170 {"shape":"ConflictException"}, 171 {"shape":"ResourceNotFoundException"}, 172 {"shape":"ThrottlingException"} 173 ] 174 }, 175 "DetectAnomalies":{ 176 "name":"DetectAnomalies", 177 "http":{ 178 "method":"POST", 179 "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/detect" 180 }, 181 "input":{"shape":"DetectAnomaliesRequest"}, 182 "output":{"shape":"DetectAnomaliesResponse"}, 183 "errors":[ 184 {"shape":"AccessDeniedException"}, 185 {"shape":"InternalServerException"}, 186 {"shape":"ValidationException"}, 187 {"shape":"ConflictException"}, 188 {"shape":"ResourceNotFoundException"}, 189 {"shape":"ThrottlingException"} 190 ] 191 }, 192 "ListDatasetEntries":{ 193 "name":"ListDatasetEntries", 194 "http":{ 195 "method":"GET", 196 "requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries" 197 }, 198 "input":{"shape":"ListDatasetEntriesRequest"}, 199 "output":{"shape":"ListDatasetEntriesResponse"}, 200 "errors":[ 201 {"shape":"AccessDeniedException"}, 202 {"shape":"InternalServerException"}, 203 {"shape":"ValidationException"}, 204 {"shape":"ConflictException"}, 205 {"shape":"ResourceNotFoundException"}, 206 {"shape":"ThrottlingException"} 207 ] 208 }, 209 "ListModels":{ 210 "name":"ListModels", 211 "http":{ 212 "method":"GET", 213 "requestUri":"/2020-11-20/projects/{projectName}/models" 214 }, 215 "input":{"shape":"ListModelsRequest"}, 216 "output":{"shape":"ListModelsResponse"}, 217 "errors":[ 218 {"shape":"AccessDeniedException"}, 219 {"shape":"InternalServerException"}, 220 {"shape":"ValidationException"}, 221 {"shape":"ConflictException"}, 222 {"shape":"ResourceNotFoundException"}, 223 {"shape":"ThrottlingException"} 224 ] 225 }, 226 "ListProjects":{ 227 "name":"ListProjects", 228 "http":{ 229 "method":"GET", 230 "requestUri":"/2020-11-20/projects" 231 }, 232 "input":{"shape":"ListProjectsRequest"}, 233 "output":{"shape":"ListProjectsResponse"}, 234 "errors":[ 235 {"shape":"AccessDeniedException"}, 236 {"shape":"InternalServerException"}, 237 {"shape":"ValidationException"}, 238 {"shape":"ConflictException"}, 239 {"shape":"ResourceNotFoundException"}, 240 {"shape":"ThrottlingException"} 241 ] 242 }, 243 "ListTagsForResource":{ 244 "name":"ListTagsForResource", 245 "http":{ 246 "method":"GET", 247 "requestUri":"/2020-11-20/tags/{resourceArn}" 248 }, 249 "input":{"shape":"ListTagsForResourceRequest"}, 250 "output":{"shape":"ListTagsForResourceResponse"}, 251 "errors":[ 252 {"shape":"AccessDeniedException"}, 253 {"shape":"InternalServerException"}, 254 {"shape":"ValidationException"}, 255 {"shape":"ConflictException"}, 256 {"shape":"ResourceNotFoundException"}, 257 {"shape":"ThrottlingException"} 258 ] 259 }, 260 "StartModel":{ 261 "name":"StartModel", 262 "http":{ 263 "method":"POST", 264 "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/start", 265 "responseCode":202 266 }, 267 "input":{"shape":"StartModelRequest"}, 268 "output":{"shape":"StartModelResponse"}, 269 "errors":[ 270 {"shape":"AccessDeniedException"}, 271 {"shape":"InternalServerException"}, 272 {"shape":"ValidationException"}, 273 {"shape":"ConflictException"}, 274 {"shape":"ResourceNotFoundException"}, 275 {"shape":"ThrottlingException"}, 276 {"shape":"ServiceQuotaExceededException"} 277 ] 278 }, 279 "StopModel":{ 280 "name":"StopModel", 281 "http":{ 282 "method":"POST", 283 "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/stop", 284 "responseCode":202 285 }, 286 "input":{"shape":"StopModelRequest"}, 287 "output":{"shape":"StopModelResponse"}, 288 "errors":[ 289 {"shape":"AccessDeniedException"}, 290 {"shape":"InternalServerException"}, 291 {"shape":"ValidationException"}, 292 {"shape":"ConflictException"}, 293 {"shape":"ResourceNotFoundException"}, 294 {"shape":"ThrottlingException"} 295 ] 296 }, 297 "TagResource":{ 298 "name":"TagResource", 299 "http":{ 300 "method":"POST", 301 "requestUri":"/2020-11-20/tags/{resourceArn}" 302 }, 303 "input":{"shape":"TagResourceRequest"}, 304 "output":{"shape":"TagResourceResponse"}, 305 "errors":[ 306 {"shape":"AccessDeniedException"}, 307 {"shape":"InternalServerException"}, 308 {"shape":"ValidationException"}, 309 {"shape":"ConflictException"}, 310 {"shape":"ResourceNotFoundException"}, 311 {"shape":"ThrottlingException"}, 312 {"shape":"ServiceQuotaExceededException"} 313 ] 314 }, 315 "UntagResource":{ 316 "name":"UntagResource", 317 "http":{ 318 "method":"DELETE", 319 "requestUri":"/2020-11-20/tags/{resourceArn}" 320 }, 321 "input":{"shape":"UntagResourceRequest"}, 322 "output":{"shape":"UntagResourceResponse"}, 323 "errors":[ 324 {"shape":"AccessDeniedException"}, 325 {"shape":"InternalServerException"}, 326 {"shape":"ValidationException"}, 327 {"shape":"ConflictException"}, 328 {"shape":"ResourceNotFoundException"}, 329 {"shape":"ThrottlingException"} 330 ] 331 }, 332 "UpdateDatasetEntries":{ 333 "name":"UpdateDatasetEntries", 334 "http":{ 335 "method":"PATCH", 336 "requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries", 337 "responseCode":202 338 }, 339 "input":{"shape":"UpdateDatasetEntriesRequest"}, 340 "output":{"shape":"UpdateDatasetEntriesResponse"}, 341 "errors":[ 342 {"shape":"AccessDeniedException"}, 343 {"shape":"InternalServerException"}, 344 {"shape":"ValidationException"}, 345 {"shape":"ConflictException"}, 346 {"shape":"ResourceNotFoundException"}, 347 {"shape":"ThrottlingException"} 348 ] 349 } 350 }, 351 "shapes":{ 352 "AccessDeniedException":{ 353 "type":"structure", 354 "required":["Message"], 355 "members":{ 356 "Message":{"shape":"ExceptionString"} 357 }, 358 "error":{"httpStatusCode":403}, 359 "exception":true 360 }, 361 "AnomalyClassFilter":{ 362 "type":"string", 363 "max":10, 364 "min":1, 365 "pattern":"(normal|anomaly)" 366 }, 367 "Boolean":{"type":"boolean"}, 368 "ClientToken":{ 369 "type":"string", 370 "max":64, 371 "min":1, 372 "pattern":"^[a-zA-Z0-9-]+$" 373 }, 374 "ConflictException":{ 375 "type":"structure", 376 "required":[ 377 "Message", 378 "ResourceId", 379 "ResourceType" 380 ], 381 "members":{ 382 "Message":{"shape":"ExceptionString"}, 383 "ResourceId":{"shape":"ExceptionString"}, 384 "ResourceType":{"shape":"ResourceType"} 385 }, 386 "error":{"httpStatusCode":409}, 387 "exception":true 388 }, 389 "ContentType":{ 390 "type":"string", 391 "max":255, 392 "min":1, 393 "pattern":".*" 394 }, 395 "CreateDatasetRequest":{ 396 "type":"structure", 397 "required":[ 398 "ProjectName", 399 "DatasetType" 400 ], 401 "members":{ 402 "ProjectName":{ 403 "shape":"ProjectName", 404 "location":"uri", 405 "locationName":"projectName" 406 }, 407 "DatasetType":{"shape":"DatasetType"}, 408 "DatasetSource":{"shape":"DatasetSource"}, 409 "ClientToken":{ 410 "shape":"ClientToken", 411 "idempotencyToken":true, 412 "location":"header", 413 "locationName":"X-Amzn-Client-Token" 414 } 415 } 416 }, 417 "CreateDatasetResponse":{ 418 "type":"structure", 419 "members":{ 420 "DatasetMetadata":{"shape":"DatasetMetadata"} 421 } 422 }, 423 "CreateModelRequest":{ 424 "type":"structure", 425 "required":[ 426 "ProjectName", 427 "OutputConfig" 428 ], 429 "members":{ 430 "ProjectName":{ 431 "shape":"ProjectName", 432 "location":"uri", 433 "locationName":"projectName" 434 }, 435 "Description":{"shape":"ModelDescriptionMessage"}, 436 "ClientToken":{ 437 "shape":"ClientToken", 438 "idempotencyToken":true, 439 "location":"header", 440 "locationName":"X-Amzn-Client-Token" 441 }, 442 "OutputConfig":{"shape":"OutputConfig"}, 443 "KmsKeyId":{"shape":"KmsKeyId"}, 444 "Tags":{"shape":"TagList"} 445 } 446 }, 447 "CreateModelResponse":{ 448 "type":"structure", 449 "members":{ 450 "ModelMetadata":{"shape":"ModelMetadata"} 451 } 452 }, 453 "CreateProjectRequest":{ 454 "type":"structure", 455 "required":["ProjectName"], 456 "members":{ 457 "ProjectName":{"shape":"ProjectName"}, 458 "ClientToken":{ 459 "shape":"ClientToken", 460 "idempotencyToken":true, 461 "location":"header", 462 "locationName":"X-Amzn-Client-Token" 463 } 464 } 465 }, 466 "CreateProjectResponse":{ 467 "type":"structure", 468 "members":{ 469 "ProjectMetadata":{"shape":"ProjectMetadata"} 470 } 471 }, 472 "DatasetChanges":{ 473 "type":"blob", 474 "max":10485760, 475 "min":1 476 }, 477 "DatasetDescription":{ 478 "type":"structure", 479 "members":{ 480 "ProjectName":{"shape":"ProjectName"}, 481 "DatasetType":{"shape":"DatasetType"}, 482 "CreationTimestamp":{"shape":"DateTime"}, 483 "LastUpdatedTimestamp":{"shape":"DateTime"}, 484 "Status":{"shape":"DatasetStatus"}, 485 "StatusMessage":{"shape":"DatasetStatusMessage"}, 486 "ImageStats":{"shape":"DatasetImageStats"} 487 } 488 }, 489 "DatasetEntry":{ 490 "type":"string", 491 "max":8192, 492 "min":2, 493 "pattern":"^\\{.*\\}$" 494 }, 495 "DatasetEntryList":{ 496 "type":"list", 497 "member":{"shape":"DatasetEntry"} 498 }, 499 "DatasetGroundTruthManifest":{ 500 "type":"structure", 501 "members":{ 502 "S3Object":{"shape":"InputS3Object"} 503 } 504 }, 505 "DatasetImageStats":{ 506 "type":"structure", 507 "members":{ 508 "Total":{"shape":"Integer"}, 509 "Labeled":{"shape":"Integer"}, 510 "Normal":{"shape":"Integer"}, 511 "Anomaly":{"shape":"Integer"} 512 } 513 }, 514 "DatasetMetadata":{ 515 "type":"structure", 516 "members":{ 517 "DatasetType":{"shape":"DatasetType"}, 518 "CreationTimestamp":{"shape":"DateTime"}, 519 "Status":{"shape":"DatasetStatus"}, 520 "StatusMessage":{"shape":"DatasetStatusMessage"} 521 } 522 }, 523 "DatasetMetadataList":{ 524 "type":"list", 525 "member":{"shape":"DatasetMetadata"} 526 }, 527 "DatasetSource":{ 528 "type":"structure", 529 "members":{ 530 "GroundTruthManifest":{"shape":"DatasetGroundTruthManifest"} 531 } 532 }, 533 "DatasetStatus":{ 534 "type":"string", 535 "enum":[ 536 "CREATE_IN_PROGRESS", 537 "CREATE_COMPLETE", 538 "CREATE_FAILED", 539 "UPDATE_IN_PROGRESS", 540 "UPDATE_COMPLETE", 541 "UPDATE_FAILED_ROLLBACK_IN_PROGRESS", 542 "UPDATE_FAILED_ROLLBACK_COMPLETE", 543 "DELETE_IN_PROGRESS", 544 "DELETE_COMPLETE", 545 "DELETE_FAILED" 546 ] 547 }, 548 "DatasetStatusMessage":{"type":"string"}, 549 "DatasetType":{ 550 "type":"string", 551 "max":10, 552 "min":1, 553 "pattern":"train|test" 554 }, 555 "DateTime":{"type":"timestamp"}, 556 "DeleteDatasetRequest":{ 557 "type":"structure", 558 "required":[ 559 "ProjectName", 560 "DatasetType" 561 ], 562 "members":{ 563 "ProjectName":{ 564 "shape":"ProjectName", 565 "location":"uri", 566 "locationName":"projectName" 567 }, 568 "DatasetType":{ 569 "shape":"DatasetType", 570 "location":"uri", 571 "locationName":"datasetType" 572 }, 573 "ClientToken":{ 574 "shape":"ClientToken", 575 "idempotencyToken":true, 576 "location":"header", 577 "locationName":"X-Amzn-Client-Token" 578 } 579 } 580 }, 581 "DeleteDatasetResponse":{ 582 "type":"structure", 583 "members":{ 584 } 585 }, 586 "DeleteModelRequest":{ 587 "type":"structure", 588 "required":[ 589 "ProjectName", 590 "ModelVersion" 591 ], 592 "members":{ 593 "ProjectName":{ 594 "shape":"ProjectName", 595 "location":"uri", 596 "locationName":"projectName" 597 }, 598 "ModelVersion":{ 599 "shape":"ModelVersion", 600 "location":"uri", 601 "locationName":"modelVersion" 602 }, 603 "ClientToken":{ 604 "shape":"ClientToken", 605 "idempotencyToken":true, 606 "location":"header", 607 "locationName":"X-Amzn-Client-Token" 608 } 609 } 610 }, 611 "DeleteModelResponse":{ 612 "type":"structure", 613 "members":{ 614 "ModelArn":{"shape":"ModelArn"} 615 } 616 }, 617 "DeleteProjectRequest":{ 618 "type":"structure", 619 "required":["ProjectName"], 620 "members":{ 621 "ProjectName":{ 622 "shape":"ProjectName", 623 "location":"uri", 624 "locationName":"projectName" 625 }, 626 "ClientToken":{ 627 "shape":"ClientToken", 628 "idempotencyToken":true, 629 "location":"header", 630 "locationName":"X-Amzn-Client-Token" 631 } 632 } 633 }, 634 "DeleteProjectResponse":{ 635 "type":"structure", 636 "members":{ 637 "ProjectArn":{"shape":"ProjectArn"} 638 } 639 }, 640 "DescribeDatasetRequest":{ 641 "type":"structure", 642 "required":[ 643 "ProjectName", 644 "DatasetType" 645 ], 646 "members":{ 647 "ProjectName":{ 648 "shape":"ProjectName", 649 "location":"uri", 650 "locationName":"projectName" 651 }, 652 "DatasetType":{ 653 "shape":"DatasetType", 654 "location":"uri", 655 "locationName":"datasetType" 656 } 657 } 658 }, 659 "DescribeDatasetResponse":{ 660 "type":"structure", 661 "members":{ 662 "DatasetDescription":{"shape":"DatasetDescription"} 663 } 664 }, 665 "DescribeModelRequest":{ 666 "type":"structure", 667 "required":[ 668 "ProjectName", 669 "ModelVersion" 670 ], 671 "members":{ 672 "ProjectName":{ 673 "shape":"ProjectName", 674 "location":"uri", 675 "locationName":"projectName" 676 }, 677 "ModelVersion":{ 678 "shape":"ModelVersion", 679 "location":"uri", 680 "locationName":"modelVersion" 681 } 682 } 683 }, 684 "DescribeModelResponse":{ 685 "type":"structure", 686 "members":{ 687 "ModelDescription":{"shape":"ModelDescription"} 688 } 689 }, 690 "DescribeProjectRequest":{ 691 "type":"structure", 692 "required":["ProjectName"], 693 "members":{ 694 "ProjectName":{ 695 "shape":"ProjectName", 696 "location":"uri", 697 "locationName":"projectName" 698 } 699 } 700 }, 701 "DescribeProjectResponse":{ 702 "type":"structure", 703 "members":{ 704 "ProjectDescription":{"shape":"ProjectDescription"} 705 } 706 }, 707 "DetectAnomaliesRequest":{ 708 "type":"structure", 709 "required":[ 710 "ProjectName", 711 "ModelVersion", 712 "Body", 713 "ContentType" 714 ], 715 "members":{ 716 "ProjectName":{ 717 "shape":"ProjectName", 718 "location":"uri", 719 "locationName":"projectName" 720 }, 721 "ModelVersion":{ 722 "shape":"ModelVersion", 723 "location":"uri", 724 "locationName":"modelVersion" 725 }, 726 "Body":{"shape":"Stream"}, 727 "ContentType":{ 728 "shape":"ContentType", 729 "location":"header", 730 "locationName":"Content-Type" 731 } 732 }, 733 "payload":"Body" 734 }, 735 "DetectAnomaliesResponse":{ 736 "type":"structure", 737 "members":{ 738 "DetectAnomalyResult":{"shape":"DetectAnomalyResult"} 739 } 740 }, 741 "DetectAnomalyResult":{ 742 "type":"structure", 743 "members":{ 744 "Source":{"shape":"ImageSource"}, 745 "IsAnomalous":{"shape":"Boolean"}, 746 "Confidence":{"shape":"Float"} 747 } 748 }, 749 "ExceptionString":{"type":"string"}, 750 "Float":{"type":"float"}, 751 "ImageSource":{ 752 "type":"structure", 753 "members":{ 754 "Type":{"shape":"ImageSourceType"} 755 } 756 }, 757 "ImageSourceType":{ 758 "type":"string", 759 "pattern":"direct" 760 }, 761 "InferenceUnits":{ 762 "type":"integer", 763 "min":1 764 }, 765 "InputS3Object":{ 766 "type":"structure", 767 "required":[ 768 "Bucket", 769 "Key" 770 ], 771 "members":{ 772 "Bucket":{"shape":"S3BucketName"}, 773 "Key":{"shape":"S3ObjectKey"}, 774 "VersionId":{"shape":"S3ObjectVersion"} 775 } 776 }, 777 "Integer":{"type":"integer"}, 778 "InternalServerException":{ 779 "type":"structure", 780 "required":["Message"], 781 "members":{ 782 "Message":{"shape":"ExceptionString"}, 783 "RetryAfterSeconds":{ 784 "shape":"RetryAfterSeconds", 785 "location":"header", 786 "locationName":"Retry-After" 787 } 788 }, 789 "error":{"httpStatusCode":500}, 790 "exception":true, 791 "fault":true 792 }, 793 "IsLabeled":{"type":"boolean"}, 794 "KmsKeyId":{ 795 "type":"string", 796 "max":2048, 797 "min":1, 798 "pattern":"^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$" 799 }, 800 "ListDatasetEntriesRequest":{ 801 "type":"structure", 802 "required":[ 803 "ProjectName", 804 "DatasetType" 805 ], 806 "members":{ 807 "ProjectName":{ 808 "shape":"ProjectName", 809 "location":"uri", 810 "locationName":"projectName" 811 }, 812 "DatasetType":{ 813 "shape":"DatasetType", 814 "location":"uri", 815 "locationName":"datasetType" 816 }, 817 "Labeled":{ 818 "shape":"IsLabeled", 819 "location":"querystring", 820 "locationName":"labeled" 821 }, 822 "AnomalyClass":{ 823 "shape":"AnomalyClassFilter", 824 "location":"querystring", 825 "locationName":"anomalyClass" 826 }, 827 "BeforeCreationDate":{ 828 "shape":"DateTime", 829 "location":"querystring", 830 "locationName":"createdBefore" 831 }, 832 "AfterCreationDate":{ 833 "shape":"DateTime", 834 "location":"querystring", 835 "locationName":"createdAfter" 836 }, 837 "NextToken":{ 838 "shape":"PaginationToken", 839 "location":"querystring", 840 "locationName":"nextToken" 841 }, 842 "MaxResults":{ 843 "shape":"PageSize", 844 "location":"querystring", 845 "locationName":"maxResults" 846 }, 847 "SourceRefContains":{ 848 "shape":"QueryString", 849 "location":"querystring", 850 "locationName":"sourceRefContains" 851 } 852 } 853 }, 854 "ListDatasetEntriesResponse":{ 855 "type":"structure", 856 "members":{ 857 "DatasetEntries":{"shape":"DatasetEntryList"}, 858 "NextToken":{"shape":"PaginationToken"} 859 } 860 }, 861 "ListModelsRequest":{ 862 "type":"structure", 863 "required":["ProjectName"], 864 "members":{ 865 "ProjectName":{ 866 "shape":"ProjectName", 867 "location":"uri", 868 "locationName":"projectName" 869 }, 870 "NextToken":{ 871 "shape":"PaginationToken", 872 "location":"querystring", 873 "locationName":"nextToken" 874 }, 875 "MaxResults":{ 876 "shape":"PageSize", 877 "location":"querystring", 878 "locationName":"maxResults" 879 } 880 } 881 }, 882 "ListModelsResponse":{ 883 "type":"structure", 884 "members":{ 885 "Models":{"shape":"ModelMetadataList"}, 886 "NextToken":{"shape":"PaginationToken"} 887 } 888 }, 889 "ListProjectsRequest":{ 890 "type":"structure", 891 "members":{ 892 "NextToken":{ 893 "shape":"PaginationToken", 894 "location":"querystring", 895 "locationName":"nextToken" 896 }, 897 "MaxResults":{ 898 "shape":"PageSize", 899 "location":"querystring", 900 "locationName":"maxResults" 901 } 902 } 903 }, 904 "ListProjectsResponse":{ 905 "type":"structure", 906 "members":{ 907 "Projects":{"shape":"ProjectMetadataList"}, 908 "NextToken":{"shape":"PaginationToken"} 909 } 910 }, 911 "ListTagsForResourceRequest":{ 912 "type":"structure", 913 "required":["ResourceArn"], 914 "members":{ 915 "ResourceArn":{ 916 "shape":"TagArn", 917 "location":"uri", 918 "locationName":"resourceArn" 919 } 920 } 921 }, 922 "ListTagsForResourceResponse":{ 923 "type":"structure", 924 "members":{ 925 "Tags":{"shape":"TagList"} 926 } 927 }, 928 "ModelArn":{"type":"string"}, 929 "ModelDescription":{ 930 "type":"structure", 931 "members":{ 932 "ModelVersion":{"shape":"ModelVersion"}, 933 "ModelArn":{"shape":"ModelArn"}, 934 "CreationTimestamp":{"shape":"DateTime"}, 935 "Description":{"shape":"ModelDescriptionMessage"}, 936 "Status":{"shape":"ModelStatus"}, 937 "StatusMessage":{"shape":"ModelStatusMessage"}, 938 "Performance":{"shape":"ModelPerformance"}, 939 "OutputConfig":{"shape":"OutputConfig"}, 940 "EvaluationManifest":{"shape":"OutputS3Object"}, 941 "EvaluationResult":{"shape":"OutputS3Object"}, 942 "EvaluationEndTimestamp":{"shape":"DateTime"}, 943 "KmsKeyId":{"shape":"KmsKeyId"} 944 } 945 }, 946 "ModelDescriptionMessage":{ 947 "type":"string", 948 "max":500, 949 "min":1, 950 "pattern":"[0-9A-Za-z\\.\\-_]*" 951 }, 952 "ModelHostingStatus":{ 953 "type":"string", 954 "enum":[ 955 "STARTING_HOSTING", 956 "HOSTED", 957 "HOSTING_FAILED", 958 "STOPPING_HOSTING", 959 "SYSTEM_UPDATING" 960 ] 961 }, 962 "ModelMetadata":{ 963 "type":"structure", 964 "members":{ 965 "CreationTimestamp":{"shape":"DateTime"}, 966 "ModelVersion":{"shape":"ModelVersion"}, 967 "ModelArn":{"shape":"ModelArn"}, 968 "Description":{"shape":"ModelDescriptionMessage"}, 969 "Status":{"shape":"ModelStatus"}, 970 "StatusMessage":{"shape":"ModelStatusMessage"}, 971 "Performance":{"shape":"ModelPerformance"} 972 } 973 }, 974 "ModelMetadataList":{ 975 "type":"list", 976 "member":{"shape":"ModelMetadata"} 977 }, 978 "ModelPerformance":{ 979 "type":"structure", 980 "members":{ 981 "F1Score":{"shape":"Float"}, 982 "Recall":{"shape":"Float"}, 983 "Precision":{"shape":"Float"} 984 } 985 }, 986 "ModelStatus":{ 987 "type":"string", 988 "enum":[ 989 "TRAINING", 990 "TRAINED", 991 "TRAINING_FAILED", 992 "STARTING_HOSTING", 993 "HOSTED", 994 "HOSTING_FAILED", 995 "STOPPING_HOSTING", 996 "SYSTEM_UPDATING", 997 "DELETING" 998 ] 999 }, 1000 "ModelStatusMessage":{"type":"string"}, 1001 "ModelVersion":{ 1002 "type":"string", 1003 "max":10, 1004 "min":1, 1005 "pattern":"([1-9][0-9]*|latest)" 1006 }, 1007 "OutputConfig":{ 1008 "type":"structure", 1009 "required":["S3Location"], 1010 "members":{ 1011 "S3Location":{"shape":"S3Location"} 1012 } 1013 }, 1014 "OutputS3Object":{ 1015 "type":"structure", 1016 "required":[ 1017 "Bucket", 1018 "Key" 1019 ], 1020 "members":{ 1021 "Bucket":{"shape":"S3BucketName"}, 1022 "Key":{"shape":"S3ObjectKey"} 1023 } 1024 }, 1025 "PageSize":{ 1026 "type":"integer", 1027 "max":100, 1028 "min":1 1029 }, 1030 "PaginationToken":{ 1031 "type":"string", 1032 "max":2048, 1033 "pattern":"^[a-zA-Z0-9\\/\\+\\=]{0,2048}$" 1034 }, 1035 "ProjectArn":{"type":"string"}, 1036 "ProjectDescription":{ 1037 "type":"structure", 1038 "members":{ 1039 "ProjectArn":{"shape":"ProjectArn"}, 1040 "ProjectName":{"shape":"ProjectName"}, 1041 "CreationTimestamp":{"shape":"DateTime"}, 1042 "Datasets":{"shape":"DatasetMetadataList"} 1043 } 1044 }, 1045 "ProjectMetadata":{ 1046 "type":"structure", 1047 "members":{ 1048 "ProjectArn":{"shape":"ProjectArn"}, 1049 "ProjectName":{"shape":"ProjectName"}, 1050 "CreationTimestamp":{"shape":"DateTime"} 1051 } 1052 }, 1053 "ProjectMetadataList":{ 1054 "type":"list", 1055 "member":{"shape":"ProjectMetadata"} 1056 }, 1057 "ProjectName":{ 1058 "type":"string", 1059 "max":255, 1060 "min":1, 1061 "pattern":"[a-zA-Z0-9][a-zA-Z0-9_\\-]*" 1062 }, 1063 "QueryString":{ 1064 "type":"string", 1065 "max":2048, 1066 "min":1, 1067 "pattern":".*\\S.*" 1068 }, 1069 "ResourceNotFoundException":{ 1070 "type":"structure", 1071 "required":[ 1072 "Message", 1073 "ResourceId", 1074 "ResourceType" 1075 ], 1076 "members":{ 1077 "Message":{"shape":"ExceptionString"}, 1078 "ResourceId":{"shape":"ExceptionString"}, 1079 "ResourceType":{"shape":"ResourceType"} 1080 }, 1081 "error":{"httpStatusCode":404}, 1082 "exception":true 1083 }, 1084 "ResourceType":{ 1085 "type":"string", 1086 "enum":[ 1087 "PROJECT", 1088 "DATASET", 1089 "MODEL", 1090 "TRIAL" 1091 ] 1092 }, 1093 "RetryAfterSeconds":{"type":"integer"}, 1094 "S3BucketName":{ 1095 "type":"string", 1096 "max":63, 1097 "min":3, 1098 "pattern":"[0-9A-Za-z\\.\\-_]*" 1099 }, 1100 "S3KeyPrefix":{ 1101 "type":"string", 1102 "max":1024, 1103 "pattern":"^([a-zA-Z0-9!_.*'()-][/a-zA-Z0-9!_.*'()-]*)?$" 1104 }, 1105 "S3Location":{ 1106 "type":"structure", 1107 "required":["Bucket"], 1108 "members":{ 1109 "Bucket":{"shape":"S3BucketName"}, 1110 "Prefix":{"shape":"S3KeyPrefix"} 1111 } 1112 }, 1113 "S3ObjectKey":{ 1114 "type":"string", 1115 "max":1024, 1116 "min":1, 1117 "pattern":"^([a-zA-Z0-9!_.*'()-][/a-zA-Z0-9!_.*'()-]*)?$" 1118 }, 1119 "S3ObjectVersion":{ 1120 "type":"string", 1121 "max":1024, 1122 "min":1, 1123 "pattern":".*" 1124 }, 1125 "ServiceQuotaExceededException":{ 1126 "type":"structure", 1127 "required":[ 1128 "Message", 1129 "QuotaCode", 1130 "ServiceCode" 1131 ], 1132 "members":{ 1133 "Message":{"shape":"ExceptionString"}, 1134 "ResourceId":{"shape":"ExceptionString"}, 1135 "ResourceType":{"shape":"ResourceType"}, 1136 "QuotaCode":{"shape":"ExceptionString"}, 1137 "ServiceCode":{"shape":"ExceptionString"} 1138 }, 1139 "error":{"httpStatusCode":402}, 1140 "exception":true 1141 }, 1142 "StartModelRequest":{ 1143 "type":"structure", 1144 "required":[ 1145 "ProjectName", 1146 "ModelVersion", 1147 "MinInferenceUnits" 1148 ], 1149 "members":{ 1150 "ProjectName":{ 1151 "shape":"ProjectName", 1152 "location":"uri", 1153 "locationName":"projectName" 1154 }, 1155 "ModelVersion":{ 1156 "shape":"ModelVersion", 1157 "location":"uri", 1158 "locationName":"modelVersion" 1159 }, 1160 "MinInferenceUnits":{"shape":"InferenceUnits"}, 1161 "ClientToken":{ 1162 "shape":"ClientToken", 1163 "idempotencyToken":true, 1164 "location":"header", 1165 "locationName":"X-Amzn-Client-Token" 1166 } 1167 } 1168 }, 1169 "StartModelResponse":{ 1170 "type":"structure", 1171 "members":{ 1172 "Status":{"shape":"ModelHostingStatus"} 1173 } 1174 }, 1175 "StopModelRequest":{ 1176 "type":"structure", 1177 "required":[ 1178 "ProjectName", 1179 "ModelVersion" 1180 ], 1181 "members":{ 1182 "ProjectName":{ 1183 "shape":"ProjectName", 1184 "location":"uri", 1185 "locationName":"projectName" 1186 }, 1187 "ModelVersion":{ 1188 "shape":"ModelVersion", 1189 "location":"uri", 1190 "locationName":"modelVersion" 1191 }, 1192 "ClientToken":{ 1193 "shape":"ClientToken", 1194 "idempotencyToken":true, 1195 "location":"header", 1196 "locationName":"X-Amzn-Client-Token" 1197 } 1198 } 1199 }, 1200 "StopModelResponse":{ 1201 "type":"structure", 1202 "members":{ 1203 "Status":{"shape":"ModelHostingStatus"} 1204 } 1205 }, 1206 "Stream":{ 1207 "type":"blob", 1208 "requiresLength":true, 1209 "streaming":true 1210 }, 1211 "Tag":{ 1212 "type":"structure", 1213 "required":[ 1214 "Key", 1215 "Value" 1216 ], 1217 "members":{ 1218 "Key":{"shape":"TagKey"}, 1219 "Value":{"shape":"TagValue"} 1220 } 1221 }, 1222 "TagArn":{ 1223 "type":"string", 1224 "max":1011, 1225 "min":1 1226 }, 1227 "TagKey":{ 1228 "type":"string", 1229 "max":128, 1230 "min":1, 1231 "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" 1232 }, 1233 "TagKeyList":{ 1234 "type":"list", 1235 "member":{"shape":"TagKey"}, 1236 "max":200, 1237 "min":0 1238 }, 1239 "TagList":{ 1240 "type":"list", 1241 "member":{"shape":"Tag"}, 1242 "max":200, 1243 "min":0 1244 }, 1245 "TagResourceRequest":{ 1246 "type":"structure", 1247 "required":[ 1248 "ResourceArn", 1249 "Tags" 1250 ], 1251 "members":{ 1252 "ResourceArn":{ 1253 "shape":"TagArn", 1254 "location":"uri", 1255 "locationName":"resourceArn" 1256 }, 1257 "Tags":{"shape":"TagList"} 1258 } 1259 }, 1260 "TagResourceResponse":{ 1261 "type":"structure", 1262 "members":{ 1263 } 1264 }, 1265 "TagValue":{ 1266 "type":"string", 1267 "max":256, 1268 "min":0, 1269 "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" 1270 }, 1271 "ThrottlingException":{ 1272 "type":"structure", 1273 "required":["Message"], 1274 "members":{ 1275 "Message":{"shape":"ExceptionString"}, 1276 "QuotaCode":{"shape":"ExceptionString"}, 1277 "ServiceCode":{"shape":"ExceptionString"}, 1278 "RetryAfterSeconds":{ 1279 "shape":"RetryAfterSeconds", 1280 "location":"header", 1281 "locationName":"Retry-After" 1282 } 1283 }, 1284 "error":{"httpStatusCode":429}, 1285 "exception":true 1286 }, 1287 "UntagResourceRequest":{ 1288 "type":"structure", 1289 "required":[ 1290 "ResourceArn", 1291 "TagKeys" 1292 ], 1293 "members":{ 1294 "ResourceArn":{ 1295 "shape":"TagArn", 1296 "location":"uri", 1297 "locationName":"resourceArn" 1298 }, 1299 "TagKeys":{ 1300 "shape":"TagKeyList", 1301 "location":"querystring", 1302 "locationName":"tagKeys" 1303 } 1304 } 1305 }, 1306 "UntagResourceResponse":{ 1307 "type":"structure", 1308 "members":{ 1309 } 1310 }, 1311 "UpdateDatasetEntriesRequest":{ 1312 "type":"structure", 1313 "required":[ 1314 "ProjectName", 1315 "DatasetType", 1316 "Changes" 1317 ], 1318 "members":{ 1319 "ProjectName":{ 1320 "shape":"ProjectName", 1321 "location":"uri", 1322 "locationName":"projectName" 1323 }, 1324 "DatasetType":{ 1325 "shape":"DatasetType", 1326 "location":"uri", 1327 "locationName":"datasetType" 1328 }, 1329 "Changes":{"shape":"DatasetChanges"}, 1330 "ClientToken":{ 1331 "shape":"ClientToken", 1332 "idempotencyToken":true, 1333 "location":"header", 1334 "locationName":"X-Amzn-Client-Token" 1335 } 1336 } 1337 }, 1338 "UpdateDatasetEntriesResponse":{ 1339 "type":"structure", 1340 "members":{ 1341 "Status":{"shape":"DatasetStatus"} 1342 } 1343 }, 1344 "ValidationException":{ 1345 "type":"structure", 1346 "required":["Message"], 1347 "members":{ 1348 "Message":{"shape":"ExceptionString"} 1349 }, 1350 "error":{"httpStatusCode":400}, 1351 "exception":true 1352 } 1353 } 1354 }