Skip to content

Commit e017c7a

Browse files
authored
feat(aws-android-sdk-translate): update models to latest (#3028)
1 parent 347cfd1 commit e017c7a

25 files changed

+2251
-2
lines changed

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

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ public interface AmazonTranslate {
102102
* @throws InvalidRequestException
103103
* @throws LimitExceededException
104104
* @throws TooManyRequestsException
105+
* @throws TooManyTagsException
105106
* @throws ConflictException
107+
* @throws ConcurrentModificationException
106108
* @throws InternalServerException
107109
* @throws AmazonClientException If any internal errors are encountered
108110
* inside the client while attempting to make the request or
@@ -252,6 +254,8 @@ GetTerminologyResult getTerminology(GetTerminologyRequest getTerminologyRequest)
252254
* @throws InvalidParameterValueException
253255
* @throws LimitExceededException
254256
* @throws TooManyRequestsException
257+
* @throws TooManyTagsException
258+
* @throws ConcurrentModificationException
255259
* @throws InternalServerException
256260
* @throws AmazonClientException If any internal errors are encountered
257261
* inside the client while attempting to make the request or
@@ -310,6 +314,26 @@ ListLanguagesResult listLanguages(ListLanguagesRequest listLanguagesRequest)
310314
ListParallelDataResult listParallelData(ListParallelDataRequest listParallelDataRequest)
311315
throws AmazonClientException, AmazonServiceException;
312316

317+
/**
318+
* @param listTagsForResourceRequest
319+
* @return listTagsForResourceResult The response from the
320+
* ListTagsForResource service method, as returned by Amazon
321+
* Translate.
322+
* @throws InvalidParameterValueException
323+
* @throws ResourceNotFoundException
324+
* @throws InternalServerException
325+
* @throws AmazonClientException If any internal errors are encountered
326+
* inside the client while attempting to make the request or
327+
* handle the response. For example if a network connection is
328+
* not available.
329+
* @throws AmazonServiceException If an error response is returned by Amazon
330+
* Translate indicating either a problem with the data in the
331+
* request, or a server side issue.
332+
*/
333+
ListTagsForResourceResult listTagsForResource(
334+
ListTagsForResourceRequest listTagsForResourceRequest) throws AmazonClientException,
335+
AmazonServiceException;
336+
313337
/**
314338
* <p>
315339
* Provides a list of custom terminologies associated with your account.
@@ -435,6 +459,26 @@ StopTextTranslationJobResult stopTextTranslationJob(
435459
StopTextTranslationJobRequest stopTextTranslationJobRequest)
436460
throws AmazonClientException, AmazonServiceException;
437461

462+
/**
463+
* @param tagResourceRequest
464+
* @return tagResourceResult The response from the TagResource service
465+
* method, as returned by Amazon Translate.
466+
* @throws InvalidParameterValueException
467+
* @throws ConcurrentModificationException
468+
* @throws ResourceNotFoundException
469+
* @throws TooManyTagsException
470+
* @throws InternalServerException
471+
* @throws AmazonClientException If any internal errors are encountered
472+
* inside the client while attempting to make the request or
473+
* handle the response. For example if a network connection is
474+
* not available.
475+
* @throws AmazonServiceException If an error response is returned by Amazon
476+
* Translate indicating either a problem with the data in the
477+
* request, or a server side issue.
478+
*/
479+
TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
480+
throws AmazonClientException, AmazonServiceException;
481+
438482
/**
439483
* <p>
440484
* Translates input text from the source language to the target language.
@@ -464,6 +508,25 @@ StopTextTranslationJobResult stopTextTranslationJob(
464508
TranslateTextResult translateText(TranslateTextRequest translateTextRequest)
465509
throws AmazonClientException, AmazonServiceException;
466510

511+
/**
512+
* @param untagResourceRequest
513+
* @return untagResourceResult The response from the UntagResource service
514+
* method, as returned by Amazon Translate.
515+
* @throws InvalidParameterValueException
516+
* @throws ConcurrentModificationException
517+
* @throws ResourceNotFoundException
518+
* @throws InternalServerException
519+
* @throws AmazonClientException If any internal errors are encountered
520+
* inside the client while attempting to make the request or
521+
* handle the response. For example if a network connection is
522+
* not available.
523+
* @throws AmazonServiceException If an error response is returned by Amazon
524+
* Translate indicating either a problem with the data in the
525+
* request, or a server side issue.
526+
*/
527+
UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
528+
throws AmazonClientException, AmazonServiceException;
529+
467530
/**
468531
* <p>
469532
* Updates a previously created parallel data resource by importing a new

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

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ public interface AmazonTranslateAsync extends AmazonTranslate {
4747
* @throws InvalidRequestException
4848
* @throws LimitExceededException
4949
* @throws TooManyRequestsException
50+
* @throws TooManyTagsException
5051
* @throws ConflictException
52+
* @throws ConcurrentModificationException
5153
* @throws InternalServerException
5254
* @throws AmazonClientException If any internal errors are encountered
5355
* inside the client while attempting to make the request or
@@ -82,7 +84,9 @@ Future<CreateParallelDataResult> createParallelDataAsync(
8284
* @throws InvalidRequestException
8385
* @throws LimitExceededException
8486
* @throws TooManyRequestsException
87+
* @throws TooManyTagsException
8588
* @throws ConflictException
89+
* @throws ConcurrentModificationException
8690
* @throws InternalServerException
8791
* @throws AmazonClientException If any internal errors are encountered
8892
* inside the client while attempting to make the request or
@@ -387,6 +391,8 @@ Future<GetTerminologyResult> getTerminologyAsync(GetTerminologyRequest getTermin
387391
* @throws InvalidParameterValueException
388392
* @throws LimitExceededException
389393
* @throws TooManyRequestsException
394+
* @throws TooManyTagsException
395+
* @throws ConcurrentModificationException
390396
* @throws InternalServerException
391397
* @throws AmazonClientException If any internal errors are encountered
392398
* inside the client while attempting to make the request or
@@ -426,6 +432,8 @@ Future<ImportTerminologyResult> importTerminologyAsync(
426432
* @throws InvalidParameterValueException
427433
* @throws LimitExceededException
428434
* @throws TooManyRequestsException
435+
* @throws TooManyTagsException
436+
* @throws ConcurrentModificationException
429437
* @throws InternalServerException
430438
* @throws AmazonClientException If any internal errors are encountered
431439
* inside the client while attempting to make the request or
@@ -544,6 +552,51 @@ Future<ListParallelDataResult> listParallelDataAsync(
544552
AsyncHandler<ListParallelDataRequest, ListParallelDataResult> asyncHandler)
545553
throws AmazonServiceException, AmazonClientException;
546554

555+
/**
556+
* @param listTagsForResourceRequest
557+
* @return A Java Future object containing the response from the
558+
* ListTagsForResource service method, as returned by Amazon
559+
* Translate.
560+
* @throws InvalidParameterValueException
561+
* @throws ResourceNotFoundException
562+
* @throws InternalServerException
563+
* @throws AmazonClientException If any internal errors are encountered
564+
* inside the client while attempting to make the request or
565+
* handle the response. For example if a network connection is
566+
* not available.
567+
* @throws AmazonServiceException If an error response is returned by Amazon
568+
* Translate indicating either a problem with the data in the
569+
* request, or a server side issue.
570+
*/
571+
Future<ListTagsForResourceResult> listTagsForResourceAsync(
572+
ListTagsForResourceRequest listTagsForResourceRequest) throws AmazonServiceException,
573+
AmazonClientException;
574+
575+
/**
576+
* @param listTagsForResourceRequest
577+
* @param asyncHandler Asynchronous callback handler for events in the
578+
* life-cycle of the request. Users could provide the
579+
* implementation of the four callback methods in this interface
580+
* to process the operation result or handle the exception.
581+
* @return A Java Future object containing the response from the
582+
* ListTagsForResource service method, as returned by Amazon
583+
* Translate.
584+
* @throws InvalidParameterValueException
585+
* @throws ResourceNotFoundException
586+
* @throws InternalServerException
587+
* @throws AmazonClientException If any internal errors are encountered
588+
* inside the client while attempting to make the request or
589+
* handle the response. For example if a network connection is
590+
* not available.
591+
* @throws AmazonServiceException If an error response is returned by Amazon
592+
* Translate indicating either a problem with the data in the
593+
* request, or a server side issue.
594+
*/
595+
Future<ListTagsForResourceResult> listTagsForResourceAsync(
596+
ListTagsForResourceRequest listTagsForResourceRequest,
597+
AsyncHandler<ListTagsForResourceRequest, ListTagsForResourceResult> asyncHandler)
598+
throws AmazonServiceException, AmazonClientException;
599+
547600
/**
548601
* <p>
549602
* Provides a list of custom terminologies associated with your account.
@@ -818,6 +871,51 @@ Future<StopTextTranslationJobResult> stopTextTranslationJobAsync(
818871
AsyncHandler<StopTextTranslationJobRequest, StopTextTranslationJobResult> asyncHandler)
819872
throws AmazonServiceException, AmazonClientException;
820873

874+
/**
875+
* @param tagResourceRequest
876+
* @return A Java Future object containing the response from the TagResource
877+
* service method, as returned by Amazon Translate.
878+
* @throws InvalidParameterValueException
879+
* @throws ConcurrentModificationException
880+
* @throws ResourceNotFoundException
881+
* @throws TooManyTagsException
882+
* @throws InternalServerException
883+
* @throws AmazonClientException If any internal errors are encountered
884+
* inside the client while attempting to make the request or
885+
* handle the response. For example if a network connection is
886+
* not available.
887+
* @throws AmazonServiceException If an error response is returned by Amazon
888+
* Translate indicating either a problem with the data in the
889+
* request, or a server side issue.
890+
*/
891+
Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
892+
throws AmazonServiceException, AmazonClientException;
893+
894+
/**
895+
* @param tagResourceRequest
896+
* @param asyncHandler Asynchronous callback handler for events in the
897+
* life-cycle of the request. Users could provide the
898+
* implementation of the four callback methods in this interface
899+
* to process the operation result or handle the exception.
900+
* @return A Java Future object containing the response from the TagResource
901+
* service method, as returned by Amazon Translate.
902+
* @throws InvalidParameterValueException
903+
* @throws ConcurrentModificationException
904+
* @throws ResourceNotFoundException
905+
* @throws TooManyTagsException
906+
* @throws InternalServerException
907+
* @throws AmazonClientException If any internal errors are encountered
908+
* inside the client while attempting to make the request or
909+
* handle the response. For example if a network connection is
910+
* not available.
911+
* @throws AmazonServiceException If an error response is returned by Amazon
912+
* Translate indicating either a problem with the data in the
913+
* request, or a server side issue.
914+
*/
915+
Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest,
916+
AsyncHandler<TagResourceRequest, TagResourceResult> asyncHandler)
917+
throws AmazonServiceException, AmazonClientException;
918+
821919
/**
822920
* <p>
823921
* Translates input text from the source language to the target language.
@@ -881,6 +979,49 @@ Future<TranslateTextResult> translateTextAsync(TranslateTextRequest translateTex
881979
AsyncHandler<TranslateTextRequest, TranslateTextResult> asyncHandler)
882980
throws AmazonServiceException, AmazonClientException;
883981

982+
/**
983+
* @param untagResourceRequest
984+
* @return A Java Future object containing the response from the
985+
* UntagResource service method, as returned by Amazon Translate.
986+
* @throws InvalidParameterValueException
987+
* @throws ConcurrentModificationException
988+
* @throws ResourceNotFoundException
989+
* @throws InternalServerException
990+
* @throws AmazonClientException If any internal errors are encountered
991+
* inside the client while attempting to make the request or
992+
* handle the response. For example if a network connection is
993+
* not available.
994+
* @throws AmazonServiceException If an error response is returned by Amazon
995+
* Translate indicating either a problem with the data in the
996+
* request, or a server side issue.
997+
*/
998+
Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
999+
throws AmazonServiceException, AmazonClientException;
1000+
1001+
/**
1002+
* @param untagResourceRequest
1003+
* @param asyncHandler Asynchronous callback handler for events in the
1004+
* life-cycle of the request. Users could provide the
1005+
* implementation of the four callback methods in this interface
1006+
* to process the operation result or handle the exception.
1007+
* @return A Java Future object containing the response from the
1008+
* UntagResource service method, as returned by Amazon Translate.
1009+
* @throws InvalidParameterValueException
1010+
* @throws ConcurrentModificationException
1011+
* @throws ResourceNotFoundException
1012+
* @throws InternalServerException
1013+
* @throws AmazonClientException If any internal errors are encountered
1014+
* inside the client while attempting to make the request or
1015+
* handle the response. For example if a network connection is
1016+
* not available.
1017+
* @throws AmazonServiceException If an error response is returned by Amazon
1018+
* Translate indicating either a problem with the data in the
1019+
* request, or a server side issue.
1020+
*/
1021+
Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest,
1022+
AsyncHandler<UntagResourceRequest, UntagResourceResult> asyncHandler)
1023+
throws AmazonServiceException, AmazonClientException;
1024+
8841025
/**
8851026
* <p>
8861027
* Updates a previously created parallel data resource by importing a new

0 commit comments

Comments
 (0)