In this version:
9 new static entities to manage static data sent and returned from the service. Bellow is the list with the name of static entities created:
TranslateContentType
TranslateDirectionality
TranslateEncryptionType
TranslateJobStatus
TranslateMergeStrategy
TranslateParallelDataStatus
TranslateProfanity
TranslateDataFormat
TranslateLanguage
Validation was added to all public methods inside the connector, instead of transparently sending everything to the AWS service.
There is a new TranslateRequestValidation exception to manage the validation output
This validation acts on:
mandatory fields
integer ranges
string length
<breaking change> Updated all structures to use the created static entities identifier, instead of returning a text value. Below is the list with the name of updated structures:
CreateParallelData_Response
DeleteParallelData_Response
GetTerminology_Request
ImportTerminology_Request
TerminologyDatum
ListTerminologies_Request
TextTranslationJobFilter
ValidationMessage
StartTextTranslationJob_Request
StartTextTranslationJob_Response
StopTextTranslationJob_Response
AppliedSetting
Setting
TranslateText_Request
TranslateText_Response
updateParallelData_Response
DataFormat
DirectionalityType
EncryptionKey
EncryptionKeyType
InputDataConfig
JobStatusValue
ParallelDataConfig
ParallelDataProperty
ParallelDataStatus
ProfanityType
TerminologyProperty
TextTranslationJobProperties
TranslationSettings
In this version, five new methods have been added to customize translations with parallel data:
CreateParallelData - Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3.
DeleteParallelData - Deletes a parallel data resource in Amazon Translate.
GetParallelData - Provides information about a parallel data resource.
ListParallelData - Provides a list of your parallel data resources in Amazon Translate.
UpdateParallelData - Updates a previously created parallel data resource by importing a new input file from Amazon S3.
<bug fixing> The datatype of the following structure attributes was changed from “Text” to “Date Time”:
TextTranslationJobFilter structure
SubmittedAfterTime
SubmittedBeforeTime
TerminologyProperty structure
CreatedAt
LastUpdatedAt
TextTranslationJobProperties structure
EndTime
SubmittedTime
In this version, four new methods have been added to translate text asynchronously, in batch :
DescribeTextTranslationJob - Provides detailed information about a batch text translation job.
ListTextTranslationJobs - Lists all submitted asynchronous text translation operations
StartTextTranslationJob - Start translating text asynchronously in batch
StopTextTranslationJob - Stops a running batch text translation operation