Skip to content

Commit 4128c45

Browse files
authored
feat(aws-android-sdk-translate): update models to latest (#2730)
1 parent ca58d07 commit 4128c45

File tree

137 files changed

+3430
-374
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+3430
-374
lines changed

aws-android-sdk-translate/src/main/java/com/amazonaws/services/translate/AmazonTranslate.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -89,10 +89,10 @@ public interface AmazonTranslate {
8989
/**
9090
* <p>
9191
* Creates a parallel data resource in Amazon Translate by importing an
92-
* input file from Amazon S3. Parallel data files contain examples of source
93-
* phrases and their translations from your translation memory. By adding
94-
* parallel data, you can influence the style, tone, and word choice in your
95-
* translation output.
92+
* input file from Amazon S3. Parallel data files contain examples that show
93+
* how you want segments of text to be translated. By adding parallel data,
94+
* you can influence the style, tone, and word choice in your translation
95+
* output.
9696
* </p>
9797
*
9898
* @param createParallelDataRequest
@@ -161,7 +161,7 @@ void deleteTerminology(DeleteTerminologyRequest deleteTerminologyRequest)
161161

162162
/**
163163
* <p>
164-
* Gets the properties associated with an asycnhronous batch translation job
164+
* Gets the properties associated with an asynchronous batch translation job
165165
* including name, ID, status, source and target languages, input/output S3
166166
* buckets, and so on.
167167
* </p>
@@ -361,6 +361,7 @@ ListTextTranslationJobsResult listTextTranslationJobs(
361361
* @throws UnsupportedLanguagePairException
362362
* @throws InvalidRequestException
363363
* @throws ResourceNotFoundException
364+
* @throws InvalidParameterValueException
364365
* @throws InternalServerException
365366
* @throws AmazonClientException If any internal errors are encountered
366367
* inside the client while attempting to make the request or

aws-android-sdk-translate/src/main/java/com/amazonaws/services/translate/AmazonTranslateAsync.java

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -33,10 +33,10 @@ public interface AmazonTranslateAsync extends AmazonTranslate {
3333
/**
3434
* <p>
3535
* Creates a parallel data resource in Amazon Translate by importing an
36-
* input file from Amazon S3. Parallel data files contain examples of source
37-
* phrases and their translations from your translation memory. By adding
38-
* parallel data, you can influence the style, tone, and word choice in your
39-
* translation output.
36+
* input file from Amazon S3. Parallel data files contain examples that show
37+
* how you want segments of text to be translated. By adding parallel data,
38+
* you can influence the style, tone, and word choice in your translation
39+
* output.
4040
* </p>
4141
*
4242
* @param createParallelDataRequest
@@ -64,10 +64,10 @@ Future<CreateParallelDataResult> createParallelDataAsync(
6464
/**
6565
* <p>
6666
* Creates a parallel data resource in Amazon Translate by importing an
67-
* input file from Amazon S3. Parallel data files contain examples of source
68-
* phrases and their translations from your translation memory. By adding
69-
* parallel data, you can influence the style, tone, and word choice in your
70-
* translation output.
67+
* input file from Amazon S3. Parallel data files contain examples that show
68+
* how you want segments of text to be translated. By adding parallel data,
69+
* you can influence the style, tone, and word choice in your translation
70+
* output.
7171
* </p>
7272
*
7373
* @param createParallelDataRequest
@@ -207,7 +207,7 @@ Future<Void> deleteTerminologyAsync(DeleteTerminologyRequest deleteTerminologyRe
207207

208208
/**
209209
* <p>
210-
* Gets the properties associated with an asycnhronous batch translation job
210+
* Gets the properties associated with an asynchronous batch translation job
211211
* including name, ID, status, source and target languages, input/output S3
212212
* buckets, and so on.
213213
* </p>
@@ -233,7 +233,7 @@ Future<DescribeTextTranslationJobResult> describeTextTranslationJobAsync(
233233

234234
/**
235235
* <p>
236-
* Gets the properties associated with an asycnhronous batch translation job
236+
* Gets the properties associated with an asynchronous batch translation job
237237
* including name, ID, status, source and target languages, input/output S3
238238
* buckets, and so on.
239239
* </p>
@@ -628,6 +628,7 @@ Future<ListTextTranslationJobsResult> listTextTranslationJobsAsync(
628628
* @throws UnsupportedLanguagePairException
629629
* @throws InvalidRequestException
630630
* @throws ResourceNotFoundException
631+
* @throws InvalidParameterValueException
631632
* @throws InternalServerException
632633
* @throws AmazonClientException If any internal errors are encountered
633634
* inside the client while attempting to make the request or
@@ -672,6 +673,7 @@ Future<StartTextTranslationJobResult> startTextTranslationJobAsync(
672673
* @throws UnsupportedLanguagePairException
673674
* @throws InvalidRequestException
674675
* @throws ResourceNotFoundException
676+
* @throws InvalidParameterValueException
675677
* @throws InternalServerException
676678
* @throws AmazonClientException If any internal errors are encountered
677679
* inside the client while attempting to make the request or

aws-android-sdk-translate/src/main/java/com/amazonaws/services/translate/AmazonTranslateAsyncClient.java

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -260,10 +260,10 @@ public void shutdown() {
260260
/**
261261
* <p>
262262
* Creates a parallel data resource in Amazon Translate by importing an
263-
* input file from Amazon S3. Parallel data files contain examples of source
264-
* phrases and their translations from your translation memory. By adding
265-
* parallel data, you can influence the style, tone, and word choice in your
266-
* translation output.
263+
* input file from Amazon S3. Parallel data files contain examples that show
264+
* how you want segments of text to be translated. By adding parallel data,
265+
* you can influence the style, tone, and word choice in your translation
266+
* output.
267267
* </p>
268268
*
269269
* @param createParallelDataRequest
@@ -297,10 +297,10 @@ public CreateParallelDataResult call() throws Exception {
297297
/**
298298
* <p>
299299
* Creates a parallel data resource in Amazon Translate by importing an
300-
* input file from Amazon S3. Parallel data files contain examples of source
301-
* phrases and their translations from your translation memory. By adding
302-
* parallel data, you can influence the style, tone, and word choice in your
303-
* translation output.
300+
* input file from Amazon S3. Parallel data files contain examples that show
301+
* how you want segments of text to be translated. By adding parallel data,
302+
* you can influence the style, tone, and word choice in your translation
303+
* output.
304304
* </p>
305305
*
306306
* @param createParallelDataRequest
@@ -485,7 +485,7 @@ public Void call() throws Exception {
485485

486486
/**
487487
* <p>
488-
* Gets the properties associated with an asycnhronous batch translation job
488+
* Gets the properties associated with an asynchronous batch translation job
489489
* including name, ID, status, source and target languages, input/output S3
490490
* buckets, and so on.
491491
* </p>
@@ -517,7 +517,7 @@ public DescribeTextTranslationJobResult call() throws Exception {
517517

518518
/**
519519
* <p>
520-
* Gets the properties associated with an asycnhronous batch translation job
520+
* Gets the properties associated with an asynchronous batch translation job
521521
* including name, ID, status, source and target languages, input/output S3
522522
* buckets, and so on.
523523
* </p>
@@ -1021,6 +1021,7 @@ public ListTextTranslationJobsResult call() throws Exception {
10211021
* @throws UnsupportedLanguagePairException
10221022
* @throws InvalidRequestException
10231023
* @throws ResourceNotFoundException
1024+
* @throws InvalidParameterValueException
10241025
* @throws InternalServerException
10251026
* @throws AmazonClientException If any internal errors are encountered
10261027
* inside the client while attempting to make the request or
@@ -1067,6 +1068,7 @@ public StartTextTranslationJobResult call() throws Exception {
10671068
* @throws UnsupportedLanguagePairException
10681069
* @throws InvalidRequestException
10691070
* @throws ResourceNotFoundException
1071+
* @throws InvalidParameterValueException
10701072
* @throws InternalServerException
10711073
* @throws AmazonClientException If any internal errors are encountered
10721074
* inside the client while attempting to make the request or

aws-android-sdk-translate/src/main/java/com/amazonaws/services/translate/AmazonTranslateClient.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -361,10 +361,10 @@ private static ClientConfiguration adjustClientConfiguration(ClientConfiguration
361361
/**
362362
* <p>
363363
* Creates a parallel data resource in Amazon Translate by importing an
364-
* input file from Amazon S3. Parallel data files contain examples of source
365-
* phrases and their translations from your translation memory. By adding
366-
* parallel data, you can influence the style, tone, and word choice in your
367-
* translation output.
364+
* input file from Amazon S3. Parallel data files contain examples that show
365+
* how you want segments of text to be translated. By adding parallel data,
366+
* you can influence the style, tone, and word choice in your translation
367+
* output.
368368
* </p>
369369
*
370370
* @param createParallelDataRequest
@@ -511,7 +511,7 @@ public void deleteTerminology(DeleteTerminologyRequest deleteTerminologyRequest)
511511

512512
/**
513513
* <p>
514-
* Gets the properties associated with an asycnhronous batch translation job
514+
* Gets the properties associated with an asynchronous batch translation job
515515
* including name, ID, status, source and target languages, input/output S3
516516
* buckets, and so on.
517517
* </p>
@@ -899,6 +899,7 @@ public ListTextTranslationJobsResult listTextTranslationJobs(
899899
* @throws UnsupportedLanguagePairException
900900
* @throws InvalidRequestException
901901
* @throws ResourceNotFoundException
902+
* @throws InvalidParameterValueException
902903
* @throws InternalServerException
903904
* @throws AmazonClientException If any internal errors are encountered
904905
* inside the client while attempting to make the request or

aws-android-sdk-translate/src/main/java/com/amazonaws/services/translate/model/AppliedTerminology.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

aws-android-sdk-translate/src/main/java/com/amazonaws/services/translate/model/ConcurrentModificationException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

aws-android-sdk-translate/src/main/java/com/amazonaws/services/translate/model/ConflictException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

aws-android-sdk-translate/src/main/java/com/amazonaws/services/translate/model/CreateParallelDataRequest.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -22,10 +22,9 @@
2222
/**
2323
* <p>
2424
* Creates a parallel data resource in Amazon Translate by importing an input
25-
* file from Amazon S3. Parallel data files contain examples of source phrases
26-
* and their translations from your translation memory. By adding parallel data,
27-
* you can influence the style, tone, and word choice in your translation
28-
* output.
25+
* file from Amazon S3. Parallel data files contain examples that show how you
26+
* want segments of text to be translated. By adding parallel data, you can
27+
* influence the style, tone, and word choice in your translation output.
2928
* </p>
3029
*/
3130
public class CreateParallelDataRequest extends AmazonWebServiceRequest implements Serializable {

aws-android-sdk-translate/src/main/java/com/amazonaws/services/translate/model/CreateParallelDataResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

aws-android-sdk-translate/src/main/java/com/amazonaws/services/translate/model/DeleteParallelDataRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)