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      "documentation":"<p>Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3. Parallel data files contain examples of source phrases and their translations from your translation memory. By adding parallel data, you can influence the style, tone, and word choice in your translation output.</p>"
33    },
34    "DeleteParallelData":{
35      "name":"DeleteParallelData",
36      "http":{
37        "method":"POST",
38        "requestUri":"/"
39      },
40      "input":{"shape":"DeleteParallelDataRequest"},
41      "output":{"shape":"DeleteParallelDataResponse"},
42      "errors":[
43        {"shape":"ConcurrentModificationException"},
44        {"shape":"ResourceNotFoundException"},
45        {"shape":"TooManyRequestsException"},
46        {"shape":"InternalServerException"}
47      ],
48      "documentation":"<p>Deletes a parallel data resource in Amazon Translate.</p>"
49    },
50    "DeleteTerminology":{
51      "name":"DeleteTerminology",
52      "http":{
53        "method":"POST",
54        "requestUri":"/"
55      },
56      "input":{"shape":"DeleteTerminologyRequest"},
57      "errors":[
58        {"shape":"ResourceNotFoundException"},
59        {"shape":"TooManyRequestsException"},
60        {"shape":"InvalidParameterValueException"},
61        {"shape":"InternalServerException"}
62      ],
63      "documentation":"<p>A synchronous action that deletes a custom terminology.</p>"
64    },
65    "DescribeTextTranslationJob":{
66      "name":"DescribeTextTranslationJob",
67      "http":{
68        "method":"POST",
69        "requestUri":"/"
70      },
71      "input":{"shape":"DescribeTextTranslationJobRequest"},
72      "output":{"shape":"DescribeTextTranslationJobResponse"},
73      "errors":[
74        {"shape":"ResourceNotFoundException"},
75        {"shape":"TooManyRequestsException"},
76        {"shape":"InternalServerException"}
77      ],
78      "documentation":"<p>Gets the properties associated with an asycnhronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.</p>"
79    },
80    "GetParallelData":{
81      "name":"GetParallelData",
82      "http":{
83        "method":"POST",
84        "requestUri":"/"
85      },
86      "input":{"shape":"GetParallelDataRequest"},
87      "output":{"shape":"GetParallelDataResponse"},
88      "errors":[
89        {"shape":"ResourceNotFoundException"},
90        {"shape":"InvalidParameterValueException"},
91        {"shape":"TooManyRequestsException"},
92        {"shape":"InternalServerException"}
93      ],
94      "documentation":"<p>Provides information about a parallel data resource.</p>"
95    },
96    "GetTerminology":{
97      "name":"GetTerminology",
98      "http":{
99        "method":"POST",
100        "requestUri":"/"
101      },
102      "input":{"shape":"GetTerminologyRequest"},
103      "output":{"shape":"GetTerminologyResponse"},
104      "errors":[
105        {"shape":"ResourceNotFoundException"},
106        {"shape":"InvalidParameterValueException"},
107        {"shape":"TooManyRequestsException"},
108        {"shape":"InternalServerException"}
109      ],
110      "documentation":"<p>Retrieves a custom terminology.</p>"
111    },
112    "ImportTerminology":{
113      "name":"ImportTerminology",
114      "http":{
115        "method":"POST",
116        "requestUri":"/"
117      },
118      "input":{"shape":"ImportTerminologyRequest"},
119      "output":{"shape":"ImportTerminologyResponse"},
120      "errors":[
121        {"shape":"InvalidParameterValueException"},
122        {"shape":"LimitExceededException"},
123        {"shape":"TooManyRequestsException"},
124        {"shape":"InternalServerException"}
125      ],
126      "documentation":"<p>Creates or updates a custom terminology, depending on whether or not one already exists for the given terminology name. Importing a terminology with the same name as an existing one will merge the terminologies based on the chosen merge strategy. Currently, the only supported merge strategy is OVERWRITE, and so the imported terminology will overwrite an existing terminology of the same name.</p> <p>If you import a terminology that overwrites an existing one, the new terminology take up to 10 minutes to fully propagate and be available for use in a translation due to cache policies with the DataPlane service that performs the translations.</p>"
127    },
128    "ListParallelData":{
129      "name":"ListParallelData",
130      "http":{
131        "method":"POST",
132        "requestUri":"/"
133      },
134      "input":{"shape":"ListParallelDataRequest"},
135      "output":{"shape":"ListParallelDataResponse"},
136      "errors":[
137        {"shape":"InvalidParameterValueException"},
138        {"shape":"TooManyRequestsException"},
139        {"shape":"InternalServerException"}
140      ],
141      "documentation":"<p>Provides a list of your parallel data resources in Amazon Translate.</p>"
142    },
143    "ListTerminologies":{
144      "name":"ListTerminologies",
145      "http":{
146        "method":"POST",
147        "requestUri":"/"
148      },
149      "input":{"shape":"ListTerminologiesRequest"},
150      "output":{"shape":"ListTerminologiesResponse"},
151      "errors":[
152        {"shape":"InvalidParameterValueException"},
153        {"shape":"TooManyRequestsException"},
154        {"shape":"InternalServerException"}
155      ],
156      "documentation":"<p>Provides a list of custom terminologies associated with your account.</p>"
157    },
158    "ListTextTranslationJobs":{
159      "name":"ListTextTranslationJobs",
160      "http":{
161        "method":"POST",
162        "requestUri":"/"
163      },
164      "input":{"shape":"ListTextTranslationJobsRequest"},
165      "output":{"shape":"ListTextTranslationJobsResponse"},
166      "errors":[
167        {"shape":"InvalidRequestException"},
168        {"shape":"TooManyRequestsException"},
169        {"shape":"InvalidFilterException"},
170        {"shape":"InternalServerException"}
171      ],
172      "documentation":"<p>Gets a list of the batch translation jobs that you have submitted.</p>"
173    },
174    "StartTextTranslationJob":{
175      "name":"StartTextTranslationJob",
176      "http":{
177        "method":"POST",
178        "requestUri":"/"
179      },
180      "input":{"shape":"StartTextTranslationJobRequest"},
181      "output":{"shape":"StartTextTranslationJobResponse"},
182      "errors":[
183        {"shape":"TooManyRequestsException"},
184        {"shape":"UnsupportedLanguagePairException"},
185        {"shape":"InvalidRequestException"},
186        {"shape":"ResourceNotFoundException"},
187        {"shape":"InternalServerException"}
188      ],
189      "documentation":"<p>Starts an asynchronous batch translation job. Batch translation jobs can be used to translate large volumes of text across multiple documents at once. For more information, see <a>async</a>.</p> <p>Batch translation jobs can be described with the <a>DescribeTextTranslationJob</a> operation, listed with the <a>ListTextTranslationJobs</a> operation, and stopped with the <a>StopTextTranslationJob</a> operation.</p> <note> <p>Amazon Translate does not support batch translation of multiple source languages at once.</p> </note>"
190    },
191    "StopTextTranslationJob":{
192      "name":"StopTextTranslationJob",
193      "http":{
194        "method":"POST",
195        "requestUri":"/"
196      },
197      "input":{"shape":"StopTextTranslationJobRequest"},
198      "output":{"shape":"StopTextTranslationJobResponse"},
199      "errors":[
200        {"shape":"ResourceNotFoundException"},
201        {"shape":"TooManyRequestsException"},
202        {"shape":"InternalServerException"}
203      ],
204      "documentation":"<p>Stops an asynchronous batch translation job that is in progress.</p> <p>If the job's state is <code>IN_PROGRESS</code>, the job will be marked for termination and put into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped, it is put into the <code>COMPLETED</code> state. Otherwise, the job is put into the <code>STOPPED</code> state.</p> <p>Asynchronous batch translation jobs are started with the <a>StartTextTranslationJob</a> operation. You can use the <a>DescribeTextTranslationJob</a> or <a>ListTextTranslationJobs</a> operations to get a batch translation job's <code>JobId</code>.</p>"
205    },
206    "TranslateText":{
207      "name":"TranslateText",
208      "http":{
209        "method":"POST",
210        "requestUri":"/"
211      },
212      "input":{"shape":"TranslateTextRequest"},
213      "output":{"shape":"TranslateTextResponse"},
214      "errors":[
215        {"shape":"InvalidRequestException"},
216        {"shape":"TextSizeLimitExceededException"},
217        {"shape":"TooManyRequestsException"},
218        {"shape":"UnsupportedLanguagePairException"},
219        {"shape":"DetectedLanguageLowConfidenceException"},
220        {"shape":"ResourceNotFoundException"},
221        {"shape":"InternalServerException"},
222        {"shape":"ServiceUnavailableException"}
223      ],
224      "documentation":"<p>Translates input text from the source language to the target language. For a list of available languages and language codes, see <a>what-is-languages</a>.</p>"
225    },
226    "UpdateParallelData":{
227      "name":"UpdateParallelData",
228      "http":{
229        "method":"POST",
230        "requestUri":"/"
231      },
232      "input":{"shape":"UpdateParallelDataRequest"},
233      "output":{"shape":"UpdateParallelDataResponse"},
234      "errors":[
235        {"shape":"ConcurrentModificationException"},
236        {"shape":"InvalidParameterValueException"},
237        {"shape":"InvalidRequestException"},
238        {"shape":"LimitExceededException"},
239        {"shape":"TooManyRequestsException"},
240        {"shape":"ConflictException"},
241        {"shape":"ResourceNotFoundException"},
242        {"shape":"InternalServerException"}
243      ],
244      "documentation":"<p>Updates a previously created parallel data resource by importing a new input file from Amazon S3.</p>"
245    }
246  },
247  "shapes":{
248    "AppliedTerminology":{
249      "type":"structure",
250      "members":{
251        "Name":{
252          "shape":"ResourceName",
253          "documentation":"<p>The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.</p>"
254        },
255        "Terms":{
256          "shape":"TermList",
257          "documentation":"<p>The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250 terms in the source text. </p>"
258        }
259      },
260      "documentation":"<p>The custom terminology applied to the input text by Amazon Translate for the translated text response. This is optional in the response and will only be present if you specified terminology input in the request. Currently, only one terminology can be applied per TranslateText request.</p>"
261    },
262    "AppliedTerminologyList":{
263      "type":"list",
264      "member":{"shape":"AppliedTerminology"}
265    },
266    "BoundedLengthString":{
267      "type":"string",
268      "max":5000,
269      "min":1,
270      "pattern":"[\\P{M}\\p{M}]{1,5000}"
271    },
272    "ClientTokenString":{
273      "type":"string",
274      "max":64,
275      "min":1,
276      "pattern":"^[a-zA-Z0-9-]+$"
277    },
278    "ConcurrentModificationException":{
279      "type":"structure",
280      "members":{
281        "Message":{"shape":"String"}
282      },
283      "documentation":"<p>Another modification is being made. That modification must complete before you can make your change.</p>",
284      "exception":true
285    },
286    "ConflictException":{
287      "type":"structure",
288      "members":{
289        "Message":{"shape":"String"}
290      },
291      "documentation":"<p>There was a conflict processing the request. Try your request again.</p>",
292      "exception":true
293    },
294    "ContentType":{
295      "type":"string",
296      "max":256,
297      "pattern":"^[-\\w.]+\\/[-\\w.+]+$"
298    },
299    "CreateParallelDataRequest":{
300      "type":"structure",
301      "required":[
302        "Name",
303        "ParallelDataConfig",
304        "ClientToken"
305      ],
306      "members":{
307        "Name":{
308          "shape":"ResourceName",
309          "documentation":"<p>A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.</p>"
310        },
311        "Description":{
312          "shape":"Description",
313          "documentation":"<p>A custom description for the parallel data resource in Amazon Translate.</p>"
314        },
315        "ParallelDataConfig":{
316          "shape":"ParallelDataConfig",
317          "documentation":"<p>Specifies the format and S3 location of the parallel data input file.</p>"
318        },
319        "EncryptionKey":{"shape":"EncryptionKey"},
320        "ClientToken":{
321          "shape":"ClientTokenString",
322          "documentation":"<p>A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.</p>",
323          "idempotencyToken":true
324        }
325      }
326    },
327    "CreateParallelDataResponse":{
328      "type":"structure",
329      "members":{
330        "Name":{
331          "shape":"ResourceName",
332          "documentation":"<p>The custom name that you assigned to the parallel data resource.</p>"
333        },
334        "Status":{
335          "shape":"ParallelDataStatus",
336          "documentation":"<p>The status of the parallel data resource. When the resource is ready for you to use, the status is <code>ACTIVE</code>.</p>"
337        }
338      }
339    },
340    "DeleteParallelDataRequest":{
341      "type":"structure",
342      "required":["Name"],
343      "members":{
344        "Name":{
345          "shape":"ResourceName",
346          "documentation":"<p>The name of the parallel data resource that is being deleted.</p>"
347        }
348      }
349    },
350    "DeleteParallelDataResponse":{
351      "type":"structure",
352      "members":{
353        "Name":{
354          "shape":"ResourceName",
355          "documentation":"<p>The name of the parallel data resource that is being deleted.</p>"
356        },
357        "Status":{
358          "shape":"ParallelDataStatus",
359          "documentation":"<p>The status of the parallel data deletion.</p>"
360        }
361      }
362    },
363    "DeleteTerminologyRequest":{
364      "type":"structure",
365      "required":["Name"],
366      "members":{
367        "Name":{
368          "shape":"ResourceName",
369          "documentation":"<p>The name of the custom terminology being deleted. </p>"
370        }
371      }
372    },
373    "DescribeTextTranslationJobRequest":{
374      "type":"structure",
375      "required":["JobId"],
376      "members":{
377        "JobId":{
378          "shape":"JobId",
379          "documentation":"<p>The identifier that Amazon Translate generated for the job. The <a>StartTextTranslationJob</a> operation returns this identifier in its response.</p>"
380        }
381      }
382    },
383    "DescribeTextTranslationJobResponse":{
384      "type":"structure",
385      "members":{
386        "TextTranslationJobProperties":{
387          "shape":"TextTranslationJobProperties",
388          "documentation":"<p>An object that contains the properties associated with an asynchronous batch translation job.</p>"
389        }
390      }
391    },
392    "Description":{
393      "type":"string",
394      "max":256,
395      "pattern":"[\\P{M}\\p{M}]{0,256}"
396    },
397    "DetectedLanguageLowConfidenceException":{
398      "type":"structure",
399      "members":{
400        "Message":{"shape":"String"},
401        "DetectedLanguageCode":{
402          "shape":"LanguageCodeString",
403          "documentation":"<p>The language code of the auto-detected language from Amazon Comprehend.</p>"
404        }
405      },
406      "documentation":"<p>The confidence that Amazon Comprehend accurately detected the source language is low. If a low confidence level is acceptable for your application, you can use the language in the exception to call Amazon Translate again. For more information, see the <a href=\"https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectDominantLanguage.html\">DetectDominantLanguage</a> operation in the <i>Amazon Comprehend Developer Guide</i>. </p>",
407      "exception":true
408    },
409    "EncryptionKey":{
410      "type":"structure",
411      "required":[
412        "Type",
413        "Id"
414      ],
415      "members":{
416        "Type":{
417          "shape":"EncryptionKeyType",
418          "documentation":"<p>The type of encryption key used by Amazon Translate to encrypt custom terminologies.</p>"
419        },
420        "Id":{
421          "shape":"EncryptionKeyID",
422          "documentation":"<p>The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.</p>"
423        }
424      },
425      "documentation":"<p>The encryption key used to encrypt this object.</p>"
426    },
427    "EncryptionKeyID":{
428      "type":"string",
429      "max":400,
430      "min":1,
431      "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:/_-]+))"
432    },
433    "EncryptionKeyType":{
434      "type":"string",
435      "enum":["KMS"]
436    },
437    "GetParallelDataRequest":{
438      "type":"structure",
439      "required":["Name"],
440      "members":{
441        "Name":{
442          "shape":"ResourceName",
443          "documentation":"<p>The name of the parallel data resource that is being retrieved.</p>"
444        }
445      }
446    },
447    "GetParallelDataResponse":{
448      "type":"structure",
449      "members":{
450        "ParallelDataProperties":{
451          "shape":"ParallelDataProperties",
452          "documentation":"<p>The properties of the parallel data resource that is being retrieved.</p>"
453        },
454        "DataLocation":{
455          "shape":"ParallelDataDataLocation",
456          "documentation":"<p>The location of the most recent parallel data input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30 minute expiration.</p>"
457        },
458        "AuxiliaryDataLocation":{
459          "shape":"ParallelDataDataLocation",
460          "documentation":"<p>The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a parallel data resource. The location is returned as a presigned URL to that has a 30 minute expiration.</p>"
461        },
462        "LatestUpdateAttemptAuxiliaryDataLocation":{
463          "shape":"ParallelDataDataLocation",
464          "documentation":"<p>The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to update a parallel data resource. The location is returned as a presigned URL to that has a 30 minute expiration.</p>"
465        }
466      }
467    },
468    "GetTerminologyRequest":{
469      "type":"structure",
470      "required":[
471        "Name",
472        "TerminologyDataFormat"
473      ],
474      "members":{
475        "Name":{
476          "shape":"ResourceName",
477          "documentation":"<p>The name of the custom terminology being retrieved.</p>"
478        },
479        "TerminologyDataFormat":{
480          "shape":"TerminologyDataFormat",
481          "documentation":"<p>The data format of the custom terminology being retrieved, either CSV or TMX.</p>"
482        }
483      }
484    },
485    "GetTerminologyResponse":{
486      "type":"structure",
487      "members":{
488        "TerminologyProperties":{
489          "shape":"TerminologyProperties",
490          "documentation":"<p>The properties of the custom terminology being retrieved.</p>"
491        },
492        "TerminologyDataLocation":{
493          "shape":"TerminologyDataLocation",
494          "documentation":"<p>The data location of the custom terminology being retrieved. The custom terminology file is returned in a presigned url that has a 30 minute expiration.</p>"
495        }
496      }
497    },
498    "IamRoleArn":{
499      "type":"string",
500      "max":2048,
501      "min":20,
502      "pattern":"arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+"
503    },
504    "ImportTerminologyRequest":{
505      "type":"structure",
506      "required":[
507        "Name",
508        "MergeStrategy",
509        "TerminologyData"
510      ],
511      "members":{
512        "Name":{
513          "shape":"ResourceName",
514          "documentation":"<p>The name of the custom terminology being imported.</p>"
515        },
516        "MergeStrategy":{
517          "shape":"MergeStrategy",
518          "documentation":"<p>The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge strategy is supported. In this case, the imported terminology will overwrite an existing terminology of the same name.</p>"
519        },
520        "Description":{
521          "shape":"Description",
522          "documentation":"<p>The description of the custom terminology being imported.</p>"
523        },
524        "TerminologyData":{
525          "shape":"TerminologyData",
526          "documentation":"<p>The terminology data for the custom terminology being imported.</p>"
527        },
528        "EncryptionKey":{
529          "shape":"EncryptionKey",
530          "documentation":"<p>The encryption key for the custom terminology being imported.</p>"
531        }
532      }
533    },
534    "ImportTerminologyResponse":{
535      "type":"structure",
536      "members":{
537        "TerminologyProperties":{
538          "shape":"TerminologyProperties",
539          "documentation":"<p>The properties of the custom terminology being imported.</p>"
540        }
541      }
542    },
543    "InputDataConfig":{
544      "type":"structure",
545      "required":[
546        "S3Uri",
547        "ContentType"
548      ],
549      "members":{
550        "S3Uri":{
551          "shape":"S3Uri",
552          "documentation":"<p>The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the API endpoint you are calling.</p>"
553        },
554        "ContentType":{
555          "shape":"ContentType",
556          "documentation":"<p>Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:</p> <ul> <li> <p> <code>text/html</code>: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the <code>html</code> element in each file.</p> </li> <li> <p> <code>text/plain</code>: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.</p> </li> <li> <p> <code>application/vnd.openxmlformats-officedocument.wordprocessingml.document</code>: The input data consists of one or more Word documents (.docx).</p> </li> <li> <p> <code>application/vnd.openxmlformats-officedocument.presentationml.presentation</code>: The input data consists of one or more PowerPoint Presentation files (.pptx).</p> </li> <li> <p> <code>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</code>: The input data consists of one or more Excel Workbook files (.xlsx).</p> </li> </ul> <important> <p>If you structure your input data as HTML, ensure that you set this parameter to <code>text/html</code>. By doing so, you cut costs by limiting the translation to the contents of the <code>html</code> element in each file. Otherwise, if you set this parameter to <code>text/plain</code>, your costs will cover the translation of every character.</p> </important>"
557        }
558      },
559      "documentation":"<p>The input configuration properties for requesting a batch translation job.</p>"
560    },
561    "Integer":{"type":"integer"},
562    "InternalServerException":{
563      "type":"structure",
564      "members":{
565        "Message":{"shape":"String"}
566      },
567      "documentation":"<p>An internal server error occurred. Retry your request.</p>",
568      "exception":true,
569      "fault":true
570    },
571    "InvalidFilterException":{
572      "type":"structure",
573      "members":{
574        "Message":{"shape":"String"}
575      },
576      "documentation":"<p>The filter specified for the operation is invalid. Specify a different filter.</p>",
577      "exception":true
578    },
579    "InvalidParameterValueException":{
580      "type":"structure",
581      "members":{
582        "Message":{"shape":"String"}
583      },
584      "documentation":"<p>The value of the parameter is invalid. Review the value of the parameter you are using to correct it, and then retry your operation.</p>",
585      "exception":true
586    },
587    "InvalidRequestException":{
588      "type":"structure",
589      "members":{
590        "Message":{"shape":"String"}
591      },
592      "documentation":"<p> The request that you made is invalid. Check your request to determine why it's invalid and then retry the request. </p>",
593      "exception":true
594    },
595    "JobDetails":{
596      "type":"structure",
597      "members":{
598        "TranslatedDocumentsCount":{
599          "shape":"Integer",
600          "documentation":"<p>The number of documents successfully processed during a translation job.</p>"
601        },
602        "DocumentsWithErrorsCount":{
603          "shape":"Integer",
604          "documentation":"<p>The number of documents that could not be processed during a translation job.</p>"
605        },
606        "InputDocumentsCount":{
607          "shape":"Integer",
608          "documentation":"<p>The number of documents used as input in a translation job.</p>"
609        }
610      },
611      "documentation":"<p>The number of documents successfully and unsuccessfully processed during a translation job.</p>"
612    },
613    "JobId":{
614      "type":"string",
615      "max":32,
616      "min":1,
617      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$"
618    },
619    "JobName":{
620      "type":"string",
621      "max":256,
622      "min":1,
623      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$"
624    },
625    "JobStatus":{
626      "type":"string",
627      "enum":[
628        "SUBMITTED",
629        "IN_PROGRESS",
630        "COMPLETED",
631        "COMPLETED_WITH_ERROR",
632        "FAILED",
633        "STOP_REQUESTED",
634        "STOPPED"
635      ]
636    },
637    "LanguageCodeString":{
638      "type":"string",
639      "max":5,
640      "min":2
641    },
642    "LanguageCodeStringList":{
643      "type":"list",
644      "member":{"shape":"LanguageCodeString"}
645    },
646    "LimitExceededException":{
647      "type":"structure",
648      "members":{
649        "Message":{"shape":"String"}
650      },
651      "documentation":"<p>The specified limit has been exceeded. Review your request and retry it with a quantity below the stated limit.</p>",
652      "exception":true
653    },
654    "ListParallelDataRequest":{
655      "type":"structure",
656      "members":{
657        "NextToken":{
658          "shape":"NextToken",
659          "documentation":"<p>A string that specifies the next page of results to return in a paginated response.</p>"
660        },
661        "MaxResults":{
662          "shape":"MaxResultsInteger",
663          "documentation":"<p>The maximum number of parallel data resources returned for each request.</p>"
664        }
665      }
666    },
667    "ListParallelDataResponse":{
668      "type":"structure",
669      "members":{
670        "ParallelDataPropertiesList":{
671          "shape":"ParallelDataPropertiesList",
672          "documentation":"<p>The properties of the parallel data resources returned by this request.</p>"
673        },
674        "NextToken":{
675          "shape":"NextToken",
676          "documentation":"<p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>"
677        }
678      }
679    },
680    "ListTerminologiesRequest":{
681      "type":"structure",
682      "members":{
683        "NextToken":{
684          "shape":"NextToken",
685          "documentation":"<p>If the result of the request to ListTerminologies was truncated, include the NextToken to fetch the next group of custom terminologies. </p>"
686        },
687        "MaxResults":{
688          "shape":"MaxResultsInteger",
689          "documentation":"<p>The maximum number of custom terminologies returned per list request.</p>"
690        }
691      }
692    },
693    "ListTerminologiesResponse":{
694      "type":"structure",
695      "members":{
696        "TerminologyPropertiesList":{
697          "shape":"TerminologyPropertiesList",
698          "documentation":"<p>The properties list of the custom terminologies returned on the list request.</p>"
699        },
700        "NextToken":{
701          "shape":"NextToken",
702          "documentation":"<p> If the response to the ListTerminologies was truncated, the NextToken fetches the next group of custom terminologies.</p>"
703        }
704      }
705    },
706    "ListTextTranslationJobsRequest":{
707      "type":"structure",
708      "members":{
709        "Filter":{
710          "shape":"TextTranslationJobFilter",
711          "documentation":"<p>The parameters that specify which batch translation jobs to retrieve. Filters include job name, job status, and submission time. You can only set one filter at a time.</p>"
712        },
713        "NextToken":{
714          "shape":"NextToken",
715          "documentation":"<p>The token to request the next page of results.</p>"
716        },
717        "MaxResults":{
718          "shape":"MaxResultsInteger",
719          "documentation":"<p>The maximum number of results to return in each page. The default value is 100.</p>"
720        }
721      }
722    },
723    "ListTextTranslationJobsResponse":{
724      "type":"structure",
725      "members":{
726        "TextTranslationJobPropertiesList":{
727          "shape":"TextTranslationJobPropertiesList",
728          "documentation":"<p>A list containing the properties of each job that is returned.</p>"
729        },
730        "NextToken":{
731          "shape":"NextToken",
732          "documentation":"<p>The token to use to retreive the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
733        }
734      }
735    },
736    "Long":{"type":"long"},
737    "MaxResultsInteger":{
738      "type":"integer",
739      "max":500,
740      "min":1
741    },
742    "MergeStrategy":{
743      "type":"string",
744      "enum":["OVERWRITE"]
745    },
746    "NextToken":{
747      "type":"string",
748      "max":8192,
749      "pattern":"\\p{ASCII}{0,8192}"
750    },
751    "OutputDataConfig":{
752      "type":"structure",
753      "required":["S3Uri"],
754      "members":{
755        "S3Uri":{
756          "shape":"S3Uri",
757          "documentation":"<p>The URI of the S3 folder that contains a translation job's output file. The folder must be in the same Region as the API endpoint that you are calling.</p>"
758        }
759      },
760      "documentation":"<p>The output configuration properties for a batch translation job.</p>"
761    },
762    "ParallelDataArn":{
763      "type":"string",
764      "max":512,
765      "min":1
766    },
767    "ParallelDataConfig":{
768      "type":"structure",
769      "required":[
770        "S3Uri",
771        "Format"
772      ],
773      "members":{
774        "S3Uri":{
775          "shape":"S3Uri",
776          "documentation":"<p>The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling.</p>"
777        },
778        "Format":{
779          "shape":"ParallelDataFormat",
780          "documentation":"<p>The format of the parallel data input file.</p>"
781        }
782      },
783      "documentation":"<p>Specifies the format and S3 location of the parallel data input file.</p>"
784    },
785    "ParallelDataDataLocation":{
786      "type":"structure",
787      "required":[
788        "RepositoryType",
789        "Location"
790      ],
791      "members":{
792        "RepositoryType":{
793          "shape":"String",
794          "documentation":"<p>Describes the repository that contains the parallel data input file.</p>"
795        },
796        "Location":{
797          "shape":"String",
798          "documentation":"<p>The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to that has a 30 minute expiration.</p>"
799        }
800      },
801      "documentation":"<p>The location of the most recent parallel data input file that was successfully imported into Amazon Translate.</p>"
802    },
803    "ParallelDataFormat":{
804      "type":"string",
805      "enum":[
806        "TSV",
807        "CSV",
808        "TMX"
809      ]
810    },
811    "ParallelDataProperties":{
812      "type":"structure",
813      "members":{
814        "Name":{
815          "shape":"ResourceName",
816          "documentation":"<p>The custom name assigned to the parallel data resource.</p>"
817        },
818        "Arn":{
819          "shape":"ParallelDataArn",
820          "documentation":"<p>The Amazon Resource Name (ARN) of the parallel data resource.</p>"
821        },
822        "Description":{
823          "shape":"Description",
824          "documentation":"<p>The description assigned to the parallel data resource.</p>"
825        },
826        "Status":{
827          "shape":"ParallelDataStatus",
828          "documentation":"<p>The status of the parallel data resource. When the parallel data is ready for you to use, the status is <code>ACTIVE</code>.</p>"
829        },
830        "SourceLanguageCode":{
831          "shape":"LanguageCodeString",
832          "documentation":"<p>The source language of the translations in the parallel data file.</p>"
833        },
834        "TargetLanguageCodes":{
835          "shape":"LanguageCodeStringList",
836          "documentation":"<p>The language codes for the target languages available in the parallel data file. All possible target languages are returned as an array.</p>"
837        },
838        "ParallelDataConfig":{
839          "shape":"ParallelDataConfig",
840          "documentation":"<p>Specifies the format and S3 location of the parallel data input file.</p>"
841        },
842        "Message":{
843          "shape":"UnboundedLengthString",
844          "documentation":"<p>Additional information from Amazon Translate about the parallel data resource. </p>"
845        },
846        "ImportedDataSize":{
847          "shape":"Long",
848          "documentation":"<p>The number of UTF-8 characters that Amazon Translate imported from the parallel data input file. This number includes only the characters in your translation examples. It does not include characters that are used to format your file. For example, if you provided a Translation Memory Exchange (.tmx) file, this number does not include the tags.</p>"
849        },
850        "ImportedRecordCount":{
851          "shape":"Long",
852          "documentation":"<p>The number of records successfully imported from the parallel data input file.</p>"
853        },
854        "FailedRecordCount":{
855          "shape":"Long",
856          "documentation":"<p>The number of records unsuccessfully imported from the parallel data input file.</p>"
857        },
858        "SkippedRecordCount":{
859          "shape":"Long",
860          "documentation":"<p>The number of items in the input file that Amazon Translate skipped when you created or updated the parallel data resource. For example, Amazon Translate skips empty records, empty target texts, and empty lines.</p>"
861        },
862        "EncryptionKey":{"shape":"EncryptionKey"},
863        "CreatedAt":{
864          "shape":"Timestamp",
865          "documentation":"<p>The time at which the parallel data resource was created.</p>"
866        },
867        "LastUpdatedAt":{
868          "shape":"Timestamp",
869          "documentation":"<p>The time at which the parallel data resource was last updated.</p>"
870        },
871        "LatestUpdateAttemptStatus":{
872          "shape":"ParallelDataStatus",
873          "documentation":"<p>The status of the most recent update attempt for the parallel data resource.</p>"
874        },
875        "LatestUpdateAttemptAt":{
876          "shape":"Timestamp",
877          "documentation":"<p>The time that the most recent update was attempted.</p>"
878        }
879      },
880      "documentation":"<p>The properties of a parallel data resource.</p>"
881    },
882    "ParallelDataPropertiesList":{
883      "type":"list",
884      "member":{"shape":"ParallelDataProperties"}
885    },
886    "ParallelDataStatus":{
887      "type":"string",
888      "enum":[
889        "CREATING",
890        "UPDATING",
891        "ACTIVE",
892        "DELETING",
893        "FAILED"
894      ]
895    },
896    "ResourceName":{
897      "type":"string",
898      "max":256,
899      "min":1,
900      "pattern":"^([A-Za-z0-9-]_?)+$"
901    },
902    "ResourceNameList":{
903      "type":"list",
904      "member":{"shape":"ResourceName"}
905    },
906    "ResourceNotFoundException":{
907      "type":"structure",
908      "members":{
909        "Message":{"shape":"String"}
910      },
911      "documentation":"<p>The resource you are looking for has not been found. Review the resource you're looking for and see if a different resource will accomplish your needs before retrying the revised request.</p>",
912      "exception":true
913    },
914    "S3Uri":{
915      "type":"string",
916      "max":1024,
917      "pattern":"s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9](/.*)?"
918    },
919    "ServiceUnavailableException":{
920      "type":"structure",
921      "members":{
922        "Message":{"shape":"String"}
923      },
924      "documentation":"<p>The Amazon Translate service is temporarily unavailable. Please wait a bit and then retry your request.</p>",
925      "exception":true,
926      "fault":true
927    },
928    "StartTextTranslationJobRequest":{
929      "type":"structure",
930      "required":[
931        "InputDataConfig",
932        "OutputDataConfig",
933        "DataAccessRoleArn",
934        "SourceLanguageCode",
935        "TargetLanguageCodes",
936        "ClientToken"
937      ],
938      "members":{
939        "JobName":{
940          "shape":"JobName",
941          "documentation":"<p>The name of the batch translation job to be performed.</p>"
942        },
943        "InputDataConfig":{
944          "shape":"InputDataConfig",
945          "documentation":"<p>Specifies the format and S3 location of the input documents for the translation job.</p>"
946        },
947        "OutputDataConfig":{
948          "shape":"OutputDataConfig",
949          "documentation":"<p>Specifies the S3 folder to which your job output will be saved. </p>"
950        },
951        "DataAccessRoleArn":{
952          "shape":"IamRoleArn",
953          "documentation":"<p>The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more nformation, see <a>identity-and-access-management</a>.</p>"
954        },
955        "SourceLanguageCode":{
956          "shape":"LanguageCodeString",
957          "documentation":"<p>The language code of the input language. For a list of language codes, see <a>what-is-languages</a>.</p> <p>Amazon Translate does not automatically detect a source language during batch translation jobs.</p>"
958        },
959        "TargetLanguageCodes":{
960          "shape":"TargetLanguageCodeStringList",
961          "documentation":"<p>The language code of the output language.</p>"
962        },
963        "TerminologyNames":{
964          "shape":"ResourceNameList",
965          "documentation":"<p>The name of the terminology to use in the batch translation job. For a list of available terminologies, use the <a>ListTerminologies</a> operation.</p>"
966        },
967        "ParallelDataNames":{
968          "shape":"ResourceNameList",
969          "documentation":"<p>The names of the parallel data resources to use in the batch translation job. For a list of available parallel data resources, use the <a>ListParallelData</a> operation.</p>"
970        },
971        "ClientToken":{
972          "shape":"ClientTokenString",
973          "documentation":"<p>A unique identifier for the request. This token is auto-generated when using the Amazon Translate SDK.</p>",
974          "idempotencyToken":true
975        }
976      }
977    },
978    "StartTextTranslationJobResponse":{
979      "type":"structure",
980      "members":{
981        "JobId":{
982          "shape":"JobId",
983          "documentation":"<p>The identifier generated for the job. To get the status of a job, use this ID with the <a>DescribeTextTranslationJob</a> operation.</p>"
984        },
985        "JobStatus":{
986          "shape":"JobStatus",
987          "documentation":"<p>The status of the job. Possible values include:</p> <ul> <li> <p> <code>SUBMITTED</code> - The job has been received and is queued for processing.</p> </li> <li> <p> <code>IN_PROGRESS</code> - Amazon Translate is processing the job.</p> </li> <li> <p> <code>COMPLETED</code> - The job was successfully completed and the output is available.</p> </li> <li> <p> <code>COMPLETED_WITH_ERROR</code> - The job was completed with errors. The errors can be analyzed in the job's output.</p> </li> <li> <p> <code>FAILED</code> - The job did not complete. To get details, use the <a>DescribeTextTranslationJob</a> operation.</p> </li> <li> <p> <code>STOP_REQUESTED</code> - The user who started the job has requested that it be stopped.</p> </li> <li> <p> <code>STOPPED</code> - The job has been stopped.</p> </li> </ul>"
988        }
989      }
990    },
991    "StopTextTranslationJobRequest":{
992      "type":"structure",
993      "required":["JobId"],
994      "members":{
995        "JobId":{
996          "shape":"JobId",
997          "documentation":"<p>The job ID of the job to be stopped.</p>"
998        }
999      }
1000    },
1001    "StopTextTranslationJobResponse":{
1002      "type":"structure",
1003      "members":{
1004        "JobId":{
1005          "shape":"JobId",
1006          "documentation":"<p>The job ID of the stopped batch translation job.</p>"
1007        },
1008        "JobStatus":{
1009          "shape":"JobStatus",
1010          "documentation":"<p>The status of the designated job. Upon successful completion, the job's status will be <code>STOPPED</code>.</p>"
1011        }
1012      }
1013    },
1014    "String":{
1015      "type":"string",
1016      "max":10000,
1017      "pattern":"[\\P{M}\\p{M}]{0,10000}"
1018    },
1019    "TargetLanguageCodeStringList":{
1020      "type":"list",
1021      "member":{"shape":"LanguageCodeString"},
1022      "max":1,
1023      "min":1
1024    },
1025    "Term":{
1026      "type":"structure",
1027      "members":{
1028        "SourceText":{
1029          "shape":"String",
1030          "documentation":"<p>The source text of the term being translated by the custom terminology.</p>"
1031        },
1032        "TargetText":{
1033          "shape":"String",
1034          "documentation":"<p>The target text of the term being translated by the custom terminology.</p>"
1035        }
1036      },
1037      "documentation":"<p>The term being translated by the custom terminology.</p>"
1038    },
1039    "TermList":{
1040      "type":"list",
1041      "member":{"shape":"Term"}
1042    },
1043    "TerminologyArn":{
1044      "type":"string",
1045      "max":512,
1046      "min":1
1047    },
1048    "TerminologyData":{
1049      "type":"structure",
1050      "required":[
1051        "File",
1052        "Format"
1053      ],
1054      "members":{
1055        "File":{
1056          "shape":"TerminologyFile",
1057          "documentation":"<p>The file containing the custom terminology data. Your version of the AWS SDK performs a Base64-encoding on this field before sending a request to the AWS service. Users of the SDK should not perform Base64-encoding themselves.</p>"
1058        },
1059        "Format":{
1060          "shape":"TerminologyDataFormat",
1061          "documentation":"<p>The data format of the custom terminology. Either CSV or TMX.</p>"
1062        }
1063      },
1064      "documentation":"<p>The data associated with the custom terminology.</p>"
1065    },
1066    "TerminologyDataFormat":{
1067      "type":"string",
1068      "enum":[
1069        "CSV",
1070        "TMX"
1071      ]
1072    },
1073    "TerminologyDataLocation":{
1074      "type":"structure",
1075      "required":[
1076        "RepositoryType",
1077        "Location"
1078      ],
1079      "members":{
1080        "RepositoryType":{
1081          "shape":"String",
1082          "documentation":"<p>The repository type for the custom terminology data.</p>"
1083        },
1084        "Location":{
1085          "shape":"String",
1086          "documentation":"<p>The location of the custom terminology data.</p>"
1087        }
1088      },
1089      "documentation":"<p>The location of the custom terminology data.</p>"
1090    },
1091    "TerminologyFile":{
1092      "type":"blob",
1093      "max":10485760,
1094      "sensitive":true
1095    },
1096    "TerminologyProperties":{
1097      "type":"structure",
1098      "members":{
1099        "Name":{
1100          "shape":"ResourceName",
1101          "documentation":"<p>The name of the custom terminology.</p>"
1102        },
1103        "Description":{
1104          "shape":"Description",
1105          "documentation":"<p>The description of the custom terminology properties.</p>"
1106        },
1107        "Arn":{
1108          "shape":"TerminologyArn",
1109          "documentation":"<p> The Amazon Resource Name (ARN) of the custom terminology. </p>"
1110        },
1111        "SourceLanguageCode":{
1112          "shape":"LanguageCodeString",
1113          "documentation":"<p>The language code for the source text of the translation request for which the custom terminology is being used.</p>"
1114        },
1115        "TargetLanguageCodes":{
1116          "shape":"LanguageCodeStringList",
1117          "documentation":"<p>The language codes for the target languages available with the custom terminology file. All possible target languages are returned in array.</p>"
1118        },
1119        "EncryptionKey":{
1120          "shape":"EncryptionKey",
1121          "documentation":"<p>The encryption key for the custom terminology.</p>"
1122        },
1123        "SizeBytes":{
1124          "shape":"Integer",
1125          "documentation":"<p>The size of the file used when importing a custom terminology.</p>"
1126        },
1127        "TermCount":{
1128          "shape":"Integer",
1129          "documentation":"<p>The number of terms included in the custom terminology.</p>"
1130        },
1131        "CreatedAt":{
1132          "shape":"Timestamp",
1133          "documentation":"<p>The time at which the custom terminology was created, based on the timestamp.</p>"
1134        },
1135        "LastUpdatedAt":{
1136          "shape":"Timestamp",
1137          "documentation":"<p>The time at which the custom terminology was last update, based on the timestamp.</p>"
1138        }
1139      },
1140      "documentation":"<p>The properties of the custom terminology.</p>"
1141    },
1142    "TerminologyPropertiesList":{
1143      "type":"list",
1144      "member":{"shape":"TerminologyProperties"}
1145    },
1146    "TextSizeLimitExceededException":{
1147      "type":"structure",
1148      "members":{
1149        "Message":{"shape":"String"}
1150      },
1151      "documentation":"<p> The size of the text you submitted exceeds the size limit. Reduce the size of the text or use a smaller document and then retry your request. </p>",
1152      "exception":true
1153    },
1154    "TextTranslationJobFilter":{
1155      "type":"structure",
1156      "members":{
1157        "JobName":{
1158          "shape":"JobName",
1159          "documentation":"<p>Filters the list of jobs by name.</p>"
1160        },
1161        "JobStatus":{
1162          "shape":"JobStatus",
1163          "documentation":"<p>Filters the list of jobs based by job status.</p>"
1164        },
1165        "SubmittedBeforeTime":{
1166          "shape":"Timestamp",
1167          "documentation":"<p>Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.</p>"
1168        },
1169        "SubmittedAfterTime":{
1170          "shape":"Timestamp",
1171          "documentation":"<p>Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.</p>"
1172        }
1173      },
1174      "documentation":"<p>Provides information for filtering a list of translation jobs. For more information, see <a>ListTextTranslationJobs</a>.</p>"
1175    },
1176    "TextTranslationJobProperties":{
1177      "type":"structure",
1178      "members":{
1179        "JobId":{
1180          "shape":"JobId",
1181          "documentation":"<p>The ID of the translation job.</p>"
1182        },
1183        "JobName":{
1184          "shape":"JobName",
1185          "documentation":"<p>The user-defined name of the translation job.</p>"
1186        },
1187        "JobStatus":{
1188          "shape":"JobStatus",
1189          "documentation":"<p>The status of the translation job.</p>"
1190        },
1191        "JobDetails":{
1192          "shape":"JobDetails",
1193          "documentation":"<p>The number of documents successfully and unsuccessfully processed during the translation job.</p>"
1194        },
1195        "SourceLanguageCode":{
1196          "shape":"LanguageCodeString",
1197          "documentation":"<p>The language code of the language of the source text. The language must be a language supported by Amazon Translate.</p>"
1198        },
1199        "TargetLanguageCodes":{
1200          "shape":"TargetLanguageCodeStringList",
1201          "documentation":"<p>The language code of the language of the target text. The language must be a language supported by Amazon Translate.</p>"
1202        },
1203        "TerminologyNames":{
1204          "shape":"ResourceNameList",
1205          "documentation":"<p>A list containing the names of the terminologies applied to a translation job. Only one terminology can be applied per <a>StartTextTranslationJob</a> request at this time.</p>"
1206        },
1207        "ParallelDataNames":{
1208          "shape":"ResourceNameList",
1209          "documentation":"<p>A list containing the names of the parallel data resources applied to the translation job.</p>"
1210        },
1211        "Message":{
1212          "shape":"UnboundedLengthString",
1213          "documentation":"<p>An explanation of any errors that may have occured during the translation job.</p>"
1214        },
1215        "SubmittedTime":{
1216          "shape":"Timestamp",
1217          "documentation":"<p>The time at which the translation job was submitted.</p>"
1218        },
1219        "EndTime":{
1220          "shape":"Timestamp",
1221          "documentation":"<p>The time at which the translation job ended.</p>"
1222        },
1223        "InputDataConfig":{
1224          "shape":"InputDataConfig",
1225          "documentation":"<p>The input configuration properties that were specified when the job was requested.</p>"
1226        },
1227        "OutputDataConfig":{
1228          "shape":"OutputDataConfig",
1229          "documentation":"<p>The output configuration properties that were specified when the job was requested.</p>"
1230        },
1231        "DataAccessRoleArn":{
1232          "shape":"IamRoleArn",
1233          "documentation":"<p>The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that granted Amazon Translate read access to the job's input data.</p>"
1234        }
1235      },
1236      "documentation":"<p>Provides information about a translation job.</p>"
1237    },
1238    "TextTranslationJobPropertiesList":{
1239      "type":"list",
1240      "member":{"shape":"TextTranslationJobProperties"}
1241    },
1242    "Timestamp":{"type":"timestamp"},
1243    "TooManyRequestsException":{
1244      "type":"structure",
1245      "members":{
1246        "Message":{"shape":"String"}
1247      },
1248      "documentation":"<p> You have made too many requests within a short period of time. Wait for a short time and then try your request again.</p>",
1249      "exception":true
1250    },
1251    "TranslateTextRequest":{
1252      "type":"structure",
1253      "required":[
1254        "Text",
1255        "SourceLanguageCode",
1256        "TargetLanguageCode"
1257      ],
1258      "members":{
1259        "Text":{
1260          "shape":"BoundedLengthString",
1261          "documentation":"<p>The text to translate. The text string can be a maximum of 5,000 bytes long. Depending on your character set, this may be fewer than 5,000 characters.</p>"
1262        },
1263        "TerminologyNames":{
1264          "shape":"ResourceNameList",
1265          "documentation":"<p>The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most in a <code>TranslateText</code> request. Terminology lists can contain a maximum of 256 terms.</p>"
1266        },
1267        "SourceLanguageCode":{
1268          "shape":"LanguageCodeString",
1269          "documentation":"<p>The language code for the language of the source text. The language must be a language supported by Amazon Translate. For a list of language codes, see <a>what-is-languages</a>.</p> <p>To have Amazon Translate determine the source language of your text, you can specify <code>auto</code> in the <code>SourceLanguageCode</code> field. If you specify <code>auto</code>, Amazon Translate will call <a href=\"https://docs.aws.amazon.com/comprehend/latest/dg/comprehend-general.html\">Amazon Comprehend</a> to determine the source language.</p>"
1270        },
1271        "TargetLanguageCode":{
1272          "shape":"LanguageCodeString",
1273          "documentation":"<p>The language code requested for the language of the target text. The language must be a language supported by Amazon Translate.</p>"
1274        }
1275      }
1276    },
1277    "TranslateTextResponse":{
1278      "type":"structure",
1279      "required":[
1280        "TranslatedText",
1281        "SourceLanguageCode",
1282        "TargetLanguageCode"
1283      ],
1284      "members":{
1285        "TranslatedText":{
1286          "shape":"String",
1287          "documentation":"<p>The translated text.</p>"
1288        },
1289        "SourceLanguageCode":{
1290          "shape":"LanguageCodeString",
1291          "documentation":"<p>The language code for the language of the source text.</p>"
1292        },
1293        "TargetLanguageCode":{
1294          "shape":"LanguageCodeString",
1295          "documentation":"<p>The language code for the language of the target text. </p>"
1296        },
1297        "AppliedTerminologies":{
1298          "shape":"AppliedTerminologyList",
1299          "documentation":"<p>The names of the custom terminologies applied to the input text by Amazon Translate for the translated text response.</p>"
1300        }
1301      }
1302    },
1303    "UnboundedLengthString":{"type":"string"},
1304    "UnsupportedLanguagePairException":{
1305      "type":"structure",
1306      "members":{
1307        "Message":{"shape":"String"},
1308        "SourceLanguageCode":{
1309          "shape":"LanguageCodeString",
1310          "documentation":"<p>The language code for the language of the input text. </p>"
1311        },
1312        "TargetLanguageCode":{
1313          "shape":"LanguageCodeString",
1314          "documentation":"<p>The language code for the language of the translated text. </p>"
1315        }
1316      },
1317      "documentation":"<p>Amazon Translate does not support translation from the language of the source text into the requested target language. For more information, see <a>how-to-error-msg</a>. </p>",
1318      "exception":true
1319    },
1320    "UpdateParallelDataRequest":{
1321      "type":"structure",
1322      "required":[
1323        "Name",
1324        "ParallelDataConfig",
1325        "ClientToken"
1326      ],
1327      "members":{
1328        "Name":{
1329          "shape":"ResourceName",
1330          "documentation":"<p>The name of the parallel data resource being updated.</p>"
1331        },
1332        "Description":{
1333          "shape":"Description",
1334          "documentation":"<p>A custom description for the parallel data resource in Amazon Translate.</p>"
1335        },
1336        "ParallelDataConfig":{
1337          "shape":"ParallelDataConfig",
1338          "documentation":"<p>Specifies the format and S3 location of the parallel data input file.</p>"
1339        },
1340        "ClientToken":{
1341          "shape":"ClientTokenString",
1342          "documentation":"<p>A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.</p>",
1343          "idempotencyToken":true
1344        }
1345      }
1346    },
1347    "UpdateParallelDataResponse":{
1348      "type":"structure",
1349      "members":{
1350        "Name":{
1351          "shape":"ResourceName",
1352          "documentation":"<p>The name of the parallel data resource being updated.</p>"
1353        },
1354        "Status":{
1355          "shape":"ParallelDataStatus",
1356          "documentation":"<p>The status of the parallel data resource that you are attempting to update. Your update request is accepted only if this status is either <code>ACTIVE</code> or <code>FAILED</code>.</p>"
1357        },
1358        "LatestUpdateAttemptStatus":{
1359          "shape":"ParallelDataStatus",
1360          "documentation":"<p>The status of the parallel data update attempt. When the updated parallel data resource is ready for you to use, the status is <code>ACTIVE</code>.</p>"
1361        },
1362        "LatestUpdateAttemptAt":{
1363          "shape":"Timestamp",
1364          "documentation":"<p>The time that the most recent update was attempted.</p>"
1365        }
1366      }
1367    }
1368  },
1369  "documentation":"<p>Provides translation between one source language and another of the same set of languages.</p>"
1370}
1371