github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/translate/2017-07-01/api-2.json (about) 1 { 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2017-07-01", 5 "endpointPrefix":"translate", 6 "jsonVersion":"1.1", 7 "protocol":"json", 8 "serviceFullName":"Amazon Translate", 9 "serviceId":"Translate", 10 "signatureVersion":"v4", 11 "signingName":"translate", 12 "targetPrefix":"AWSShineFrontendService_20170701", 13 "uid":"translate-2017-07-01" 14 }, 15 "operations":{ 16 "CreateParallelData":{ 17 "name":"CreateParallelData", 18 "http":{ 19 "method":"POST", 20 "requestUri":"/" 21 }, 22 "input":{"shape":"CreateParallelDataRequest"}, 23 "output":{"shape":"CreateParallelDataResponse"}, 24 "errors":[ 25 {"shape":"InvalidParameterValueException"}, 26 {"shape":"InvalidRequestException"}, 27 {"shape":"LimitExceededException"}, 28 {"shape":"TooManyRequestsException"}, 29 {"shape":"ConflictException"}, 30 {"shape":"InternalServerException"} 31 ] 32 }, 33 "DeleteParallelData":{ 34 "name":"DeleteParallelData", 35 "http":{ 36 "method":"POST", 37 "requestUri":"/" 38 }, 39 "input":{"shape":"DeleteParallelDataRequest"}, 40 "output":{"shape":"DeleteParallelDataResponse"}, 41 "errors":[ 42 {"shape":"ConcurrentModificationException"}, 43 {"shape":"ResourceNotFoundException"}, 44 {"shape":"TooManyRequestsException"}, 45 {"shape":"InternalServerException"} 46 ] 47 }, 48 "DeleteTerminology":{ 49 "name":"DeleteTerminology", 50 "http":{ 51 "method":"POST", 52 "requestUri":"/" 53 }, 54 "input":{"shape":"DeleteTerminologyRequest"}, 55 "errors":[ 56 {"shape":"ResourceNotFoundException"}, 57 {"shape":"TooManyRequestsException"}, 58 {"shape":"InvalidParameterValueException"}, 59 {"shape":"InternalServerException"} 60 ] 61 }, 62 "DescribeTextTranslationJob":{ 63 "name":"DescribeTextTranslationJob", 64 "http":{ 65 "method":"POST", 66 "requestUri":"/" 67 }, 68 "input":{"shape":"DescribeTextTranslationJobRequest"}, 69 "output":{"shape":"DescribeTextTranslationJobResponse"}, 70 "errors":[ 71 {"shape":"ResourceNotFoundException"}, 72 {"shape":"TooManyRequestsException"}, 73 {"shape":"InternalServerException"} 74 ] 75 }, 76 "GetParallelData":{ 77 "name":"GetParallelData", 78 "http":{ 79 "method":"POST", 80 "requestUri":"/" 81 }, 82 "input":{"shape":"GetParallelDataRequest"}, 83 "output":{"shape":"GetParallelDataResponse"}, 84 "errors":[ 85 {"shape":"ResourceNotFoundException"}, 86 {"shape":"InvalidParameterValueException"}, 87 {"shape":"TooManyRequestsException"}, 88 {"shape":"InternalServerException"} 89 ] 90 }, 91 "GetTerminology":{ 92 "name":"GetTerminology", 93 "http":{ 94 "method":"POST", 95 "requestUri":"/" 96 }, 97 "input":{"shape":"GetTerminologyRequest"}, 98 "output":{"shape":"GetTerminologyResponse"}, 99 "errors":[ 100 {"shape":"ResourceNotFoundException"}, 101 {"shape":"InvalidParameterValueException"}, 102 {"shape":"TooManyRequestsException"}, 103 {"shape":"InternalServerException"} 104 ] 105 }, 106 "ImportTerminology":{ 107 "name":"ImportTerminology", 108 "http":{ 109 "method":"POST", 110 "requestUri":"/" 111 }, 112 "input":{"shape":"ImportTerminologyRequest"}, 113 "output":{"shape":"ImportTerminologyResponse"}, 114 "errors":[ 115 {"shape":"InvalidParameterValueException"}, 116 {"shape":"LimitExceededException"}, 117 {"shape":"TooManyRequestsException"}, 118 {"shape":"InternalServerException"} 119 ] 120 }, 121 "ListParallelData":{ 122 "name":"ListParallelData", 123 "http":{ 124 "method":"POST", 125 "requestUri":"/" 126 }, 127 "input":{"shape":"ListParallelDataRequest"}, 128 "output":{"shape":"ListParallelDataResponse"}, 129 "errors":[ 130 {"shape":"InvalidParameterValueException"}, 131 {"shape":"TooManyRequestsException"}, 132 {"shape":"InternalServerException"} 133 ] 134 }, 135 "ListTerminologies":{ 136 "name":"ListTerminologies", 137 "http":{ 138 "method":"POST", 139 "requestUri":"/" 140 }, 141 "input":{"shape":"ListTerminologiesRequest"}, 142 "output":{"shape":"ListTerminologiesResponse"}, 143 "errors":[ 144 {"shape":"InvalidParameterValueException"}, 145 {"shape":"TooManyRequestsException"}, 146 {"shape":"InternalServerException"} 147 ] 148 }, 149 "ListTextTranslationJobs":{ 150 "name":"ListTextTranslationJobs", 151 "http":{ 152 "method":"POST", 153 "requestUri":"/" 154 }, 155 "input":{"shape":"ListTextTranslationJobsRequest"}, 156 "output":{"shape":"ListTextTranslationJobsResponse"}, 157 "errors":[ 158 {"shape":"InvalidRequestException"}, 159 {"shape":"TooManyRequestsException"}, 160 {"shape":"InvalidFilterException"}, 161 {"shape":"InternalServerException"} 162 ] 163 }, 164 "StartTextTranslationJob":{ 165 "name":"StartTextTranslationJob", 166 "http":{ 167 "method":"POST", 168 "requestUri":"/" 169 }, 170 "input":{"shape":"StartTextTranslationJobRequest"}, 171 "output":{"shape":"StartTextTranslationJobResponse"}, 172 "errors":[ 173 {"shape":"TooManyRequestsException"}, 174 {"shape":"UnsupportedLanguagePairException"}, 175 {"shape":"InvalidRequestException"}, 176 {"shape":"ResourceNotFoundException"}, 177 {"shape":"InternalServerException"} 178 ] 179 }, 180 "StopTextTranslationJob":{ 181 "name":"StopTextTranslationJob", 182 "http":{ 183 "method":"POST", 184 "requestUri":"/" 185 }, 186 "input":{"shape":"StopTextTranslationJobRequest"}, 187 "output":{"shape":"StopTextTranslationJobResponse"}, 188 "errors":[ 189 {"shape":"ResourceNotFoundException"}, 190 {"shape":"TooManyRequestsException"}, 191 {"shape":"InternalServerException"} 192 ] 193 }, 194 "TranslateText":{ 195 "name":"TranslateText", 196 "http":{ 197 "method":"POST", 198 "requestUri":"/" 199 }, 200 "input":{"shape":"TranslateTextRequest"}, 201 "output":{"shape":"TranslateTextResponse"}, 202 "errors":[ 203 {"shape":"InvalidRequestException"}, 204 {"shape":"TextSizeLimitExceededException"}, 205 {"shape":"TooManyRequestsException"}, 206 {"shape":"UnsupportedLanguagePairException"}, 207 {"shape":"DetectedLanguageLowConfidenceException"}, 208 {"shape":"ResourceNotFoundException"}, 209 {"shape":"InternalServerException"}, 210 {"shape":"ServiceUnavailableException"} 211 ] 212 }, 213 "UpdateParallelData":{ 214 "name":"UpdateParallelData", 215 "http":{ 216 "method":"POST", 217 "requestUri":"/" 218 }, 219 "input":{"shape":"UpdateParallelDataRequest"}, 220 "output":{"shape":"UpdateParallelDataResponse"}, 221 "errors":[ 222 {"shape":"ConcurrentModificationException"}, 223 {"shape":"InvalidParameterValueException"}, 224 {"shape":"InvalidRequestException"}, 225 {"shape":"LimitExceededException"}, 226 {"shape":"TooManyRequestsException"}, 227 {"shape":"ConflictException"}, 228 {"shape":"ResourceNotFoundException"}, 229 {"shape":"InternalServerException"} 230 ] 231 } 232 }, 233 "shapes":{ 234 "AppliedTerminology":{ 235 "type":"structure", 236 "members":{ 237 "Name":{"shape":"ResourceName"}, 238 "Terms":{"shape":"TermList"} 239 } 240 }, 241 "AppliedTerminologyList":{ 242 "type":"list", 243 "member":{"shape":"AppliedTerminology"} 244 }, 245 "BoundedLengthString":{ 246 "type":"string", 247 "max":5000, 248 "min":1, 249 "pattern":"[\\P{M}\\p{M}]{1,5000}" 250 }, 251 "ClientTokenString":{ 252 "type":"string", 253 "max":64, 254 "min":1, 255 "pattern":"^[a-zA-Z0-9-]+$" 256 }, 257 "ConcurrentModificationException":{ 258 "type":"structure", 259 "members":{ 260 "Message":{"shape":"String"} 261 }, 262 "exception":true 263 }, 264 "ConflictException":{ 265 "type":"structure", 266 "members":{ 267 "Message":{"shape":"String"} 268 }, 269 "exception":true 270 }, 271 "ContentType":{ 272 "type":"string", 273 "max":256, 274 "pattern":"^[-\\w.]+\\/[-\\w.+]+$" 275 }, 276 "CreateParallelDataRequest":{ 277 "type":"structure", 278 "required":[ 279 "Name", 280 "ParallelDataConfig", 281 "ClientToken" 282 ], 283 "members":{ 284 "Name":{"shape":"ResourceName"}, 285 "Description":{"shape":"Description"}, 286 "ParallelDataConfig":{"shape":"ParallelDataConfig"}, 287 "EncryptionKey":{"shape":"EncryptionKey"}, 288 "ClientToken":{ 289 "shape":"ClientTokenString", 290 "idempotencyToken":true 291 } 292 } 293 }, 294 "CreateParallelDataResponse":{ 295 "type":"structure", 296 "members":{ 297 "Name":{"shape":"ResourceName"}, 298 "Status":{"shape":"ParallelDataStatus"} 299 } 300 }, 301 "DeleteParallelDataRequest":{ 302 "type":"structure", 303 "required":["Name"], 304 "members":{ 305 "Name":{"shape":"ResourceName"} 306 } 307 }, 308 "DeleteParallelDataResponse":{ 309 "type":"structure", 310 "members":{ 311 "Name":{"shape":"ResourceName"}, 312 "Status":{"shape":"ParallelDataStatus"} 313 } 314 }, 315 "DeleteTerminologyRequest":{ 316 "type":"structure", 317 "required":["Name"], 318 "members":{ 319 "Name":{"shape":"ResourceName"} 320 } 321 }, 322 "DescribeTextTranslationJobRequest":{ 323 "type":"structure", 324 "required":["JobId"], 325 "members":{ 326 "JobId":{"shape":"JobId"} 327 } 328 }, 329 "DescribeTextTranslationJobResponse":{ 330 "type":"structure", 331 "members":{ 332 "TextTranslationJobProperties":{"shape":"TextTranslationJobProperties"} 333 } 334 }, 335 "Description":{ 336 "type":"string", 337 "max":256, 338 "pattern":"[\\P{M}\\p{M}]{0,256}" 339 }, 340 "DetectedLanguageLowConfidenceException":{ 341 "type":"structure", 342 "members":{ 343 "Message":{"shape":"String"}, 344 "DetectedLanguageCode":{"shape":"LanguageCodeString"} 345 }, 346 "exception":true 347 }, 348 "EncryptionKey":{ 349 "type":"structure", 350 "required":[ 351 "Type", 352 "Id" 353 ], 354 "members":{ 355 "Type":{"shape":"EncryptionKeyType"}, 356 "Id":{"shape":"EncryptionKeyID"} 357 } 358 }, 359 "EncryptionKeyID":{ 360 "type":"string", 361 "max":400, 362 "min":1, 363 "pattern":"(arn:aws((-us-gov)|(-iso)|(-iso-b)|(-cn))?:kms:)?([a-z]{2}-[a-z]+(-[a-z]+)?-\\d:)?(\\d{12}:)?(((key/)?[a-zA-Z0-9-_]+)|(alias/[a-zA-Z0-9:/_-]+))" 364 }, 365 "EncryptionKeyType":{ 366 "type":"string", 367 "enum":["KMS"] 368 }, 369 "GetParallelDataRequest":{ 370 "type":"structure", 371 "required":["Name"], 372 "members":{ 373 "Name":{"shape":"ResourceName"} 374 } 375 }, 376 "GetParallelDataResponse":{ 377 "type":"structure", 378 "members":{ 379 "ParallelDataProperties":{"shape":"ParallelDataProperties"}, 380 "DataLocation":{"shape":"ParallelDataDataLocation"}, 381 "AuxiliaryDataLocation":{"shape":"ParallelDataDataLocation"}, 382 "LatestUpdateAttemptAuxiliaryDataLocation":{"shape":"ParallelDataDataLocation"} 383 } 384 }, 385 "GetTerminologyRequest":{ 386 "type":"structure", 387 "required":[ 388 "Name", 389 "TerminologyDataFormat" 390 ], 391 "members":{ 392 "Name":{"shape":"ResourceName"}, 393 "TerminologyDataFormat":{"shape":"TerminologyDataFormat"} 394 } 395 }, 396 "GetTerminologyResponse":{ 397 "type":"structure", 398 "members":{ 399 "TerminologyProperties":{"shape":"TerminologyProperties"}, 400 "TerminologyDataLocation":{"shape":"TerminologyDataLocation"} 401 } 402 }, 403 "IamRoleArn":{ 404 "type":"string", 405 "max":2048, 406 "min":20, 407 "pattern":"arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+" 408 }, 409 "ImportTerminologyRequest":{ 410 "type":"structure", 411 "required":[ 412 "Name", 413 "MergeStrategy", 414 "TerminologyData" 415 ], 416 "members":{ 417 "Name":{"shape":"ResourceName"}, 418 "MergeStrategy":{"shape":"MergeStrategy"}, 419 "Description":{"shape":"Description"}, 420 "TerminologyData":{"shape":"TerminologyData"}, 421 "EncryptionKey":{"shape":"EncryptionKey"} 422 } 423 }, 424 "ImportTerminologyResponse":{ 425 "type":"structure", 426 "members":{ 427 "TerminologyProperties":{"shape":"TerminologyProperties"} 428 } 429 }, 430 "InputDataConfig":{ 431 "type":"structure", 432 "required":[ 433 "S3Uri", 434 "ContentType" 435 ], 436 "members":{ 437 "S3Uri":{"shape":"S3Uri"}, 438 "ContentType":{"shape":"ContentType"} 439 } 440 }, 441 "Integer":{"type":"integer"}, 442 "InternalServerException":{ 443 "type":"structure", 444 "members":{ 445 "Message":{"shape":"String"} 446 }, 447 "exception":true, 448 "fault":true 449 }, 450 "InvalidFilterException":{ 451 "type":"structure", 452 "members":{ 453 "Message":{"shape":"String"} 454 }, 455 "exception":true 456 }, 457 "InvalidParameterValueException":{ 458 "type":"structure", 459 "members":{ 460 "Message":{"shape":"String"} 461 }, 462 "exception":true 463 }, 464 "InvalidRequestException":{ 465 "type":"structure", 466 "members":{ 467 "Message":{"shape":"String"} 468 }, 469 "exception":true 470 }, 471 "JobDetails":{ 472 "type":"structure", 473 "members":{ 474 "TranslatedDocumentsCount":{"shape":"Integer"}, 475 "DocumentsWithErrorsCount":{"shape":"Integer"}, 476 "InputDocumentsCount":{"shape":"Integer"} 477 } 478 }, 479 "JobId":{ 480 "type":"string", 481 "max":32, 482 "min":1, 483 "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$" 484 }, 485 "JobName":{ 486 "type":"string", 487 "max":256, 488 "min":1, 489 "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$" 490 }, 491 "JobStatus":{ 492 "type":"string", 493 "enum":[ 494 "SUBMITTED", 495 "IN_PROGRESS", 496 "COMPLETED", 497 "COMPLETED_WITH_ERROR", 498 "FAILED", 499 "STOP_REQUESTED", 500 "STOPPED" 501 ] 502 }, 503 "LanguageCodeString":{ 504 "type":"string", 505 "max":5, 506 "min":2 507 }, 508 "LanguageCodeStringList":{ 509 "type":"list", 510 "member":{"shape":"LanguageCodeString"} 511 }, 512 "LimitExceededException":{ 513 "type":"structure", 514 "members":{ 515 "Message":{"shape":"String"} 516 }, 517 "exception":true 518 }, 519 "ListParallelDataRequest":{ 520 "type":"structure", 521 "members":{ 522 "NextToken":{"shape":"NextToken"}, 523 "MaxResults":{"shape":"MaxResultsInteger"} 524 } 525 }, 526 "ListParallelDataResponse":{ 527 "type":"structure", 528 "members":{ 529 "ParallelDataPropertiesList":{"shape":"ParallelDataPropertiesList"}, 530 "NextToken":{"shape":"NextToken"} 531 } 532 }, 533 "ListTerminologiesRequest":{ 534 "type":"structure", 535 "members":{ 536 "NextToken":{"shape":"NextToken"}, 537 "MaxResults":{"shape":"MaxResultsInteger"} 538 } 539 }, 540 "ListTerminologiesResponse":{ 541 "type":"structure", 542 "members":{ 543 "TerminologyPropertiesList":{"shape":"TerminologyPropertiesList"}, 544 "NextToken":{"shape":"NextToken"} 545 } 546 }, 547 "ListTextTranslationJobsRequest":{ 548 "type":"structure", 549 "members":{ 550 "Filter":{"shape":"TextTranslationJobFilter"}, 551 "NextToken":{"shape":"NextToken"}, 552 "MaxResults":{"shape":"MaxResultsInteger"} 553 } 554 }, 555 "ListTextTranslationJobsResponse":{ 556 "type":"structure", 557 "members":{ 558 "TextTranslationJobPropertiesList":{"shape":"TextTranslationJobPropertiesList"}, 559 "NextToken":{"shape":"NextToken"} 560 } 561 }, 562 "Long":{"type":"long"}, 563 "MaxResultsInteger":{ 564 "type":"integer", 565 "max":500, 566 "min":1 567 }, 568 "MergeStrategy":{ 569 "type":"string", 570 "enum":["OVERWRITE"] 571 }, 572 "NextToken":{ 573 "type":"string", 574 "max":8192, 575 "pattern":"\\p{ASCII}{0,8192}" 576 }, 577 "OutputDataConfig":{ 578 "type":"structure", 579 "required":["S3Uri"], 580 "members":{ 581 "S3Uri":{"shape":"S3Uri"} 582 } 583 }, 584 "ParallelDataArn":{ 585 "type":"string", 586 "max":512, 587 "min":1 588 }, 589 "ParallelDataConfig":{ 590 "type":"structure", 591 "required":[ 592 "S3Uri", 593 "Format" 594 ], 595 "members":{ 596 "S3Uri":{"shape":"S3Uri"}, 597 "Format":{"shape":"ParallelDataFormat"} 598 } 599 }, 600 "ParallelDataDataLocation":{ 601 "type":"structure", 602 "required":[ 603 "RepositoryType", 604 "Location" 605 ], 606 "members":{ 607 "RepositoryType":{"shape":"String"}, 608 "Location":{"shape":"String"} 609 } 610 }, 611 "ParallelDataFormat":{ 612 "type":"string", 613 "enum":[ 614 "TSV", 615 "CSV", 616 "TMX" 617 ] 618 }, 619 "ParallelDataProperties":{ 620 "type":"structure", 621 "members":{ 622 "Name":{"shape":"ResourceName"}, 623 "Arn":{"shape":"ParallelDataArn"}, 624 "Description":{"shape":"Description"}, 625 "Status":{"shape":"ParallelDataStatus"}, 626 "SourceLanguageCode":{"shape":"LanguageCodeString"}, 627 "TargetLanguageCodes":{"shape":"LanguageCodeStringList"}, 628 "ParallelDataConfig":{"shape":"ParallelDataConfig"}, 629 "Message":{"shape":"UnboundedLengthString"}, 630 "ImportedDataSize":{"shape":"Long"}, 631 "ImportedRecordCount":{"shape":"Long"}, 632 "FailedRecordCount":{"shape":"Long"}, 633 "SkippedRecordCount":{"shape":"Long"}, 634 "EncryptionKey":{"shape":"EncryptionKey"}, 635 "CreatedAt":{"shape":"Timestamp"}, 636 "LastUpdatedAt":{"shape":"Timestamp"}, 637 "LatestUpdateAttemptStatus":{"shape":"ParallelDataStatus"}, 638 "LatestUpdateAttemptAt":{"shape":"Timestamp"} 639 } 640 }, 641 "ParallelDataPropertiesList":{ 642 "type":"list", 643 "member":{"shape":"ParallelDataProperties"} 644 }, 645 "ParallelDataStatus":{ 646 "type":"string", 647 "enum":[ 648 "CREATING", 649 "UPDATING", 650 "ACTIVE", 651 "DELETING", 652 "FAILED" 653 ] 654 }, 655 "ResourceName":{ 656 "type":"string", 657 "max":256, 658 "min":1, 659 "pattern":"^([A-Za-z0-9-]_?)+$" 660 }, 661 "ResourceNameList":{ 662 "type":"list", 663 "member":{"shape":"ResourceName"} 664 }, 665 "ResourceNotFoundException":{ 666 "type":"structure", 667 "members":{ 668 "Message":{"shape":"String"} 669 }, 670 "exception":true 671 }, 672 "S3Uri":{ 673 "type":"string", 674 "max":1024, 675 "pattern":"s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9](/.*)?" 676 }, 677 "ServiceUnavailableException":{ 678 "type":"structure", 679 "members":{ 680 "Message":{"shape":"String"} 681 }, 682 "exception":true, 683 "fault":true 684 }, 685 "StartTextTranslationJobRequest":{ 686 "type":"structure", 687 "required":[ 688 "InputDataConfig", 689 "OutputDataConfig", 690 "DataAccessRoleArn", 691 "SourceLanguageCode", 692 "TargetLanguageCodes", 693 "ClientToken" 694 ], 695 "members":{ 696 "JobName":{"shape":"JobName"}, 697 "InputDataConfig":{"shape":"InputDataConfig"}, 698 "OutputDataConfig":{"shape":"OutputDataConfig"}, 699 "DataAccessRoleArn":{"shape":"IamRoleArn"}, 700 "SourceLanguageCode":{"shape":"LanguageCodeString"}, 701 "TargetLanguageCodes":{"shape":"TargetLanguageCodeStringList"}, 702 "TerminologyNames":{"shape":"ResourceNameList"}, 703 "ParallelDataNames":{"shape":"ResourceNameList"}, 704 "ClientToken":{ 705 "shape":"ClientTokenString", 706 "idempotencyToken":true 707 } 708 } 709 }, 710 "StartTextTranslationJobResponse":{ 711 "type":"structure", 712 "members":{ 713 "JobId":{"shape":"JobId"}, 714 "JobStatus":{"shape":"JobStatus"} 715 } 716 }, 717 "StopTextTranslationJobRequest":{ 718 "type":"structure", 719 "required":["JobId"], 720 "members":{ 721 "JobId":{"shape":"JobId"} 722 } 723 }, 724 "StopTextTranslationJobResponse":{ 725 "type":"structure", 726 "members":{ 727 "JobId":{"shape":"JobId"}, 728 "JobStatus":{"shape":"JobStatus"} 729 } 730 }, 731 "String":{ 732 "type":"string", 733 "max":10000, 734 "pattern":"[\\P{M}\\p{M}]{0,10000}" 735 }, 736 "TargetLanguageCodeStringList":{ 737 "type":"list", 738 "member":{"shape":"LanguageCodeString"}, 739 "max":1, 740 "min":1 741 }, 742 "Term":{ 743 "type":"structure", 744 "members":{ 745 "SourceText":{"shape":"String"}, 746 "TargetText":{"shape":"String"} 747 } 748 }, 749 "TermList":{ 750 "type":"list", 751 "member":{"shape":"Term"} 752 }, 753 "TerminologyArn":{ 754 "type":"string", 755 "max":512, 756 "min":1 757 }, 758 "TerminologyData":{ 759 "type":"structure", 760 "required":[ 761 "File", 762 "Format" 763 ], 764 "members":{ 765 "File":{"shape":"TerminologyFile"}, 766 "Format":{"shape":"TerminologyDataFormat"} 767 } 768 }, 769 "TerminologyDataFormat":{ 770 "type":"string", 771 "enum":[ 772 "CSV", 773 "TMX" 774 ] 775 }, 776 "TerminologyDataLocation":{ 777 "type":"structure", 778 "required":[ 779 "RepositoryType", 780 "Location" 781 ], 782 "members":{ 783 "RepositoryType":{"shape":"String"}, 784 "Location":{"shape":"String"} 785 } 786 }, 787 "TerminologyFile":{ 788 "type":"blob", 789 "max":10485760, 790 "sensitive":true 791 }, 792 "TerminologyProperties":{ 793 "type":"structure", 794 "members":{ 795 "Name":{"shape":"ResourceName"}, 796 "Description":{"shape":"Description"}, 797 "Arn":{"shape":"TerminologyArn"}, 798 "SourceLanguageCode":{"shape":"LanguageCodeString"}, 799 "TargetLanguageCodes":{"shape":"LanguageCodeStringList"}, 800 "EncryptionKey":{"shape":"EncryptionKey"}, 801 "SizeBytes":{"shape":"Integer"}, 802 "TermCount":{"shape":"Integer"}, 803 "CreatedAt":{"shape":"Timestamp"}, 804 "LastUpdatedAt":{"shape":"Timestamp"} 805 } 806 }, 807 "TerminologyPropertiesList":{ 808 "type":"list", 809 "member":{"shape":"TerminologyProperties"} 810 }, 811 "TextSizeLimitExceededException":{ 812 "type":"structure", 813 "members":{ 814 "Message":{"shape":"String"} 815 }, 816 "exception":true 817 }, 818 "TextTranslationJobFilter":{ 819 "type":"structure", 820 "members":{ 821 "JobName":{"shape":"JobName"}, 822 "JobStatus":{"shape":"JobStatus"}, 823 "SubmittedBeforeTime":{"shape":"Timestamp"}, 824 "SubmittedAfterTime":{"shape":"Timestamp"} 825 } 826 }, 827 "TextTranslationJobProperties":{ 828 "type":"structure", 829 "members":{ 830 "JobId":{"shape":"JobId"}, 831 "JobName":{"shape":"JobName"}, 832 "JobStatus":{"shape":"JobStatus"}, 833 "JobDetails":{"shape":"JobDetails"}, 834 "SourceLanguageCode":{"shape":"LanguageCodeString"}, 835 "TargetLanguageCodes":{"shape":"TargetLanguageCodeStringList"}, 836 "TerminologyNames":{"shape":"ResourceNameList"}, 837 "ParallelDataNames":{"shape":"ResourceNameList"}, 838 "Message":{"shape":"UnboundedLengthString"}, 839 "SubmittedTime":{"shape":"Timestamp"}, 840 "EndTime":{"shape":"Timestamp"}, 841 "InputDataConfig":{"shape":"InputDataConfig"}, 842 "OutputDataConfig":{"shape":"OutputDataConfig"}, 843 "DataAccessRoleArn":{"shape":"IamRoleArn"} 844 } 845 }, 846 "TextTranslationJobPropertiesList":{ 847 "type":"list", 848 "member":{"shape":"TextTranslationJobProperties"} 849 }, 850 "Timestamp":{"type":"timestamp"}, 851 "TooManyRequestsException":{ 852 "type":"structure", 853 "members":{ 854 "Message":{"shape":"String"} 855 }, 856 "exception":true 857 }, 858 "TranslateTextRequest":{ 859 "type":"structure", 860 "required":[ 861 "Text", 862 "SourceLanguageCode", 863 "TargetLanguageCode" 864 ], 865 "members":{ 866 "Text":{"shape":"BoundedLengthString"}, 867 "TerminologyNames":{"shape":"ResourceNameList"}, 868 "SourceLanguageCode":{"shape":"LanguageCodeString"}, 869 "TargetLanguageCode":{"shape":"LanguageCodeString"} 870 } 871 }, 872 "TranslateTextResponse":{ 873 "type":"structure", 874 "required":[ 875 "TranslatedText", 876 "SourceLanguageCode", 877 "TargetLanguageCode" 878 ], 879 "members":{ 880 "TranslatedText":{"shape":"String"}, 881 "SourceLanguageCode":{"shape":"LanguageCodeString"}, 882 "TargetLanguageCode":{"shape":"LanguageCodeString"}, 883 "AppliedTerminologies":{"shape":"AppliedTerminologyList"} 884 } 885 }, 886 "UnboundedLengthString":{"type":"string"}, 887 "UnsupportedLanguagePairException":{ 888 "type":"structure", 889 "members":{ 890 "Message":{"shape":"String"}, 891 "SourceLanguageCode":{"shape":"LanguageCodeString"}, 892 "TargetLanguageCode":{"shape":"LanguageCodeString"} 893 }, 894 "exception":true 895 }, 896 "UpdateParallelDataRequest":{ 897 "type":"structure", 898 "required":[ 899 "Name", 900 "ParallelDataConfig", 901 "ClientToken" 902 ], 903 "members":{ 904 "Name":{"shape":"ResourceName"}, 905 "Description":{"shape":"Description"}, 906 "ParallelDataConfig":{"shape":"ParallelDataConfig"}, 907 "ClientToken":{ 908 "shape":"ClientTokenString", 909 "idempotencyToken":true 910 } 911 } 912 }, 913 "UpdateParallelDataResponse":{ 914 "type":"structure", 915 "members":{ 916 "Name":{"shape":"ResourceName"}, 917 "Status":{"shape":"ParallelDataStatus"}, 918 "LatestUpdateAttemptStatus":{"shape":"ParallelDataStatus"}, 919 "LatestUpdateAttemptAt":{"shape":"Timestamp"} 920 } 921 } 922 } 923 }