ITranslateClient
Interface in AWS.Translate
Interface for Amazon Translate service client.
Methods
CreateParallelData
function CreateParallelData( const ARequest: ITranslateCreateParallelDataRequest): ITranslateCreateParallelDataResponse;
ITranslateCreateParallelDataRequest → ITranslateCreateParallelDataResponse
Create a parallel data resource in Amazon Translate by importing an input file from Amazon S3.
Parameters
| Name | Description |
|---|---|
ARequest | A CreateParallelData request object. |
Returns
Response containing CreateParallelData results.
DeleteParallelData
function DeleteParallelData( const ARequest: ITranslateDeleteParallelDataRequest): ITranslateDeleteParallelDataResponse; overload;
ITranslateDeleteParallelDataRequest → ITranslateDeleteParallelDataResponse
Delete a parallel data resource in Amazon Translate.
Parameters
| Name | Description |
|---|---|
ARequest | A DeleteParallelData request object. |
Returns
Response containing DeleteParallelData results.
function DeleteParallelData( const AName: string): ITranslateDeleteParallelDataResponse; overload;
ITranslateDeleteParallelDataResponse
Delete a parallel data resource in Amazon Translate.
Parameters
| Name | Description |
|---|---|
AName | Specify the unique name of a parallel data resource in Amazon Translate to delete. |
Returns
Response containing DeleteParallelData results.
DeleteTerminology
function DeleteTerminology( const ARequest: ITranslateDeleteTerminologyRequest): ITranslateDeleteTerminologyResponse; overload;
ITranslateDeleteTerminologyRequest → ITranslateDeleteTerminologyResponse
Delete a custom terminology in Amazon Translate.
Parameters
| Name | Description |
|---|---|
ARequest | A DeleteTerminology request object. |
Returns
Response containing DeleteTerminology results.
function DeleteTerminology( const AName: string): ITranslateDeleteTerminologyResponse; overload;
ITranslateDeleteTerminologyResponse
Delete a custom terminology in Amazon Translate.
Parameters
| Name | Description |
|---|---|
AName | Specify the unique name of a custom terminology in Amazon Translate to delete. |
Returns
Response containing DeleteTerminology results.
DescribeTextTranslationJob
function DescribeTextTranslationJob( const ARequest: ITranslateDescribeTextTranslationJobRequest): ITranslateDescribeTextTranslationJobResponse; overload;
ITranslateDescribeTextTranslationJobRequest → ITranslateDescribeTextTranslationJobResponse
Fetch the details of an asynchronous batch translation job.
Parameters
| Name | Description |
|---|---|
ARequest | A DescribeTextTranslationJob request object. |
Returns
Response containing DescribeTextTranslationJob results.
function DescribeTextTranslationJob( const AJobId: string): ITranslateDescribeTextTranslationJobResponse; overload;
ITranslateDescribeTextTranslationJobResponse
Fetch the details of an asynchronous batch translation job.
Parameters
| Name | Description |
|---|---|
AJob | Specify the unique identifier of a batch translation job started with StartTextTranslationJob. |
Returns
Response containing DescribeTextTranslationJob results.
GetParallelData
function GetParallelData( const ARequest: ITranslateGetParallelDataRequest): ITranslateGetParallelDataResponse; overload;
ITranslateGetParallelDataRequest → ITranslateGetParallelDataResponse
Fetch the details of a parallel data resource.
Parameters
| Name | Description |
|---|---|
ARequest | A GetParallelData request object. |
Returns
Response containing GetParallelData results.
function GetParallelData( const AName: string): ITranslateGetParallelDataResponse; overload;
ITranslateGetParallelDataResponse
Fetch the details of a parallel data resource.
Parameters
| Name | Description |
|---|---|
AName | Specify the name of a parallel data resource to fetch. |
Returns
Response containing GetParallelData results.
GetTerminology
function GetTerminology( const ARequest: ITranslateGetTerminologyRequest): ITranslateGetTerminologyResponse; overload;
ITranslateGetTerminologyRequest → ITranslateGetTerminologyResponse
Fetch a custom terminology.
Parameters
| Name | Description |
|---|---|
ARequest | A GetTerminology request object. |
Returns
Response containing GetTerminology results.
function GetTerminology( const AName: string): ITranslateGetTerminologyResponse; overload;
ITranslateGetTerminologyResponse
Fetch a custom terminology.
Parameters
| Name | Description |
|---|---|
AName | Specify the name of a custom terminology to fetch. |
Returns
Response containing GetTerminology results.
ImportTerminology
function ImportTerminology( const ARequest: ITranslateImportTerminologyRequest): ITranslateImportTerminologyResponse;
ITranslateImportTerminologyRequest → ITranslateImportTerminologyResponse
Create or update a custom terminology.
If a custom terminology with the name does not already exist, one will be created. If a terminology already exists it will be merged based on the specified merge strategy.
Parameters
| Name | Description |
|---|---|
ARequest | A ImportTerminology request object. |
Returns
Response containing ImportTerminology results.
ListLanguages
function ListLanguages: ITranslateListLanguagesResponse; overload;
ITranslateListLanguagesResponse
Fetch a list of languages (RFC-5646 codes and names) that Amazon Translate supports.
Returns
Response containing ListLanguages results.
function ListLanguages( const ARequest: ITranslateListLanguagesRequest): ITranslateListLanguagesResponse; overload;
ITranslateListLanguagesRequest → ITranslateListLanguagesResponse
Fetch a list of languages (RFC-5646 codes and names) that Amazon Translate supports.
Parameters
| Name | Description |
|---|---|
ARequest | A ListLanguages request object. |
Returns
Response containing ListLanguages results.
function ListLanguages( const ADisplayLanguageCode: string): ITranslateListLanguagesResponse; overload;
ITranslateListLanguagesResponse
Fetch a list of languages (RFC-5646 codes and names) that Amazon Translate supports.
Parameters
| Name | Description |
|---|---|
ADisplayLanguageCode | Specify the language code for the language to use when returning language names in the response. The default language code is. |
Returns
Response containing ListLanguages results.
function ListLanguages(const ADisplayLanguageCode: string; const AMaxResults: Integer; const ANextToken: string = ''): ITranslateListLanguagesResponse; overload;
ITranslateListLanguagesResponse
Fetch a list of languages (RFC-5646 codes and names) that Amazon Translate supports.
Parameters
| Name | Description |
|---|---|
ADisplayLanguageCode | Specify the language code for the language to use when returning language names in the response. The default language code is. |
AMaxResults | Specify the maximum number of languages returned for each request. Minimum value of 1. Maximum value of 500. |
ANextToken | Specify a NextToken from a previous request to fetch the next page of languages. |
Returns
Response containing ListLanguages results.
ListParallelData
function ListParallelData( const ARequest: ITranslateListParallelDataRequest): ITranslateListParallelDataResponse; overload;
ITranslateListParallelDataRequest → ITranslateListParallelDataResponse
Fetch a list of parallel data resources in your Amazon Translate account.
Parameters
| Name | Description |
|---|---|
ARequest | A ListParallelData request object. |
Returns
Response containing ListParallelData results.
function ListParallelData( const AMaxResults: Integer; const ANextToken: string = ''): ITranslateListParallelDataResponse; overload;
ITranslateListParallelDataResponse
Fetch a list of parallel data resources in your Amazon Translate account.
Parameters
| Name | Description |
|---|---|
AMaxResults | Specify the maximum number of parallel data resources returned for each request. Minimum value of 1. Maximum value of 500. |
ANextToken | Specify a NextToken from a previous request to fetch the next page of parallel data resources. |
Returns
Response containing ListParallelData results.
function ListParallelData: ITranslateListParallelDataResponse; overload;
ITranslateListParallelDataResponse
Fetch a list of parallel data resources in your Amazon Translate account.
Returns
Response containing ListParallelData results.
ListTagsForResource
function ListTagsForResource( const ARequest: ITranslateListTagsForResourceRequest): ITranslateListTagsForResourceResponse; overload;
ITranslateListTagsForResourceRequest → ITranslateListTagsForResourceResponse
Fetch a list of all tags associated with a given Amazon Translate resource.
Parameters
| Name | Description |
|---|---|
ARequest | A ListTagsForResource request object. |
Returns
Response containing ListTagsForResource results.
function ListTagsForResource( const AResourceArn: TARN): ITranslateListTagsForResourceResponse; overload;
ITranslateListTagsForResourceResponse
Fetch a list of all tags associated with a given Amazon Translate resource.
Parameters
| Name | Description |
|---|---|
AResourceArn | The Amazon Resource Name (ARN) of an Amazon Translate resource. |
Returns
Response containing ListTagsForResource results.
ListTerminologies
function ListTerminologies( const ARequest: ITranslateListTerminologiesRequest): ITranslateListTerminologiesResponse; overload;
ITranslateListTerminologiesRequest → ITranslateListTerminologiesResponse
Fetch a list of custom terminologies in your Amazon Translate account.
Parameters
| Name | Description |
|---|---|
ARequest | A ListTerminologies request object. |
Returns
Response containing ListTerminologies results.
function ListTerminologies( const AMaxResults: Integer; const ANextToken: string = ''): ITranslateListTerminologiesResponse; overload;
ITranslateListTerminologiesResponse
Fetch a list of custom terminologies in your Amazon Translate account.
Parameters
| Name | Description |
|---|---|
AMaxResults | Specify the maximum number of custom terminologies returned for each request. Minimum value of 1. Maximum value of 500. |
ANextToken | Specify a NextToken from a previous request to fetch the next page of custom terminologies. |
Returns
Response containing ListTerminologies results.
function ListTerminologies: ITranslateListTerminologiesResponse; overload;
ITranslateListTerminologiesResponse
Fetch a list of custom terminologies in your Amazon Translate account.
Returns
Response containing ListTerminologies results.
ListTextTranslationJobs
function ListTextTranslationJobs( const ARequest: ITranslateListTextTranslationJobsRequest): ITranslateListTextTranslationJobsResponse; overload;
ITranslateListTextTranslationJobsRequest → ITranslateListTextTranslationJobsResponse
Fetch a list of batch translation jobs in your Amazon Translate account.
Parameters
| Name | Description |
|---|---|
ARequest | A ListTextTranslationJobs request object. |
Returns
Response containing ListTextTranslationJobs results.
function ListTextTranslationJobs( const AMaxResults: Integer; const ANextToken: string = ''): ITranslateListTextTranslationJobsResponse; overload;
ITranslateListTextTranslationJobsResponse
Fetch a list of batch translation jobs in your Amazon Translate account.
Parameters
| Name | Description |
|---|---|
AMaxResults | Specify the maximum number of results returned for each request. Minimum value of 1. Maximum value of 500. |
ANextToken | Specify a NextToken from a previous request to fetch the next page of results. |
Returns
Response containing ListTextTranslationJobs results.
function ListTextTranslationJobs: ITranslateListTextTranslationJobsResponse; overload;
ITranslateListTextTranslationJobsResponse
Fetch a list of batch translation jobs in your Amazon Translate account.
Returns
Response containing ListTextTranslationJobs results.
StartTextTranslationJob
function StartTextTranslationJob( const ARequest: ITranslateStartTextTranslationJobRequest): ITranslateStartTextTranslationJobResponse;
ITranslateStartTextTranslationJobRequest → ITranslateStartTextTranslationJobResponse
Start an asynchronous batch translation job.
Parameters
| Name | Description |
|---|---|
ARequest | A StartTextTranslationJob request object. |
Returns
Response containing StartTextTranslationJob results.
StopTextTranslationJob
function StopTextTranslationJob( const ARequest: ITranslateStopTextTranslationJobRequest): ITranslateStopTextTranslationJobResponse; overload;
ITranslateStopTextTranslationJobRequest → ITranslateStopTextTranslationJobResponse
Stop an asynchronous batch translation job that is in progress.
Parameters
| Name | Description |
|---|---|
ARequest | A StopTextTranslationJob request object. |
Returns
Response containing StopTextTranslationJob results.
function StopTextTranslationJob( const AJobId: string): ITranslateStopTextTranslationJobResponse; overload;
ITranslateStopTextTranslationJobResponse
Stop an asynchronous batch translation job that is in progress.
Parameters
| Name | Description |
|---|---|
AJobId | Specify the identifier of the job to be stopped. |
Returns
Response containing StopTextTranslationJob results.
TagResource
function TagResource(const ARequest: ITranslateTagResourceRequest): ITranslateTagResourceResponse;
ITranslateTagResourceRequest → ITranslateTagResourceResponse
Associate tags with an Amazon Translate resource.
Parameters
| Name | Description |
|---|---|
ARequest | A TagResource request object. |
Returns
A response containing TagResource results.
TranslateText
function TranslateText( const ARequest: ITranslateTranslateTextRequest): ITranslateTranslateTextResponse; overload;
ITranslateTranslateTextRequest → ITranslateTranslateTextResponse
Translate text from a source language to a target language.
Parameters
| Name | Description |
|---|---|
ARequest | A TranslateText request object. |
Returns
Response containing TranslateText results.
function TranslateText( const ASourceLanguageCode, ATargetLanguageCode, AText: string): ITranslateTranslateTextResponse; overload;
ITranslateTranslateTextResponse
Translate text from a source language to a target language.
Parameters
| Name | Description |
|---|---|
ASourceLanguageCode | Specify the language code of the source text. |
ATargetLanguageCode | Specify the language code of the desired output language. |
AText | Specify text to translate. The text can be a maximum of 5,000 bytes which may be less than 5,000 characters depending on character set used. |
Returns
Response containing TranslateText results.
UntagResource
function UntagResource( const ARequest: ITranslateUntagResourceRequest): ITranslateUntagResourceResponse; overload;
ITranslateUntagResourceRequest → ITranslateUntagResourceResponse
Remove tags associated with an Amazon Translate resource.
Parameters
| Name | Description |
|---|---|
ARequest | An UntagResource request object. |
Returns
Response containing UntagResource results.
function UntagResource(const AResourceArn: TARN; const ATagKeys: array of string): ITranslateUntagResourceResponse; overload;
ITranslateUntagResourceResponse
Remove tags associated with an Amazon Translate resource.
Parameters
| Name | Description |
|---|---|
AResourceArn | Specify the Amazon Resource Name (ARN) of an Amazon Translate resource. |
ATagKeys | Specify a list of tag keys to remove. |
Returns
Response containing UntagResource results.
UpdateParallelData
function UpdateParallelData( const ARequest: ITranslateUpdateParallelDataRequest): ITranslateUpdateParallelDataResponse;
ITranslateUpdateParallelDataRequest → ITranslateUpdateParallelDataResponse
Update an existing parallel data resource by importing a new input file from Amazon S3.
Parameters
| Name | Description |
|---|---|
ARequest | A UpdateParallelData request object. |
Returns
Response containing UpdateParallelData results.