Skip to content

Commit 1ca964e

Browse files
authored
feat(aws-android-sdk-transcribe): update models to latest (#2684)
1 parent 3f3f249 commit 1ca964e

File tree

79 files changed

+6650
-3182
lines changed

Some content is hidden

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

79 files changed

+6650
-3182
lines changed

aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribe.java

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ CreateLanguageModelResult createLanguageModel(
145145

146146
/**
147147
* <p>
148-
* Creates a new custom vocabulary that you can use to change how Amazon
148+
* Creates a new custom vocabulary that you can use to modify how Amazon
149149
* Transcribe Medical transcribes your audio file.
150150
* </p>
151151
*
@@ -742,6 +742,32 @@ ListMedicalVocabulariesResult listMedicalVocabularies(
742742
ListMedicalVocabulariesRequest listMedicalVocabulariesRequest)
743743
throws AmazonClientException, AmazonServiceException;
744744

745+
/**
746+
* <p>
747+
* Lists all tags associated with a given transcription job, vocabulary, or
748+
* resource.
749+
* </p>
750+
*
751+
* @param listTagsForResourceRequest
752+
* @return listTagsForResourceResult The response from the
753+
* ListTagsForResource service method, as returned by Amazon
754+
* Transcribe.
755+
* @throws BadRequestException
756+
* @throws NotFoundException
757+
* @throws LimitExceededException
758+
* @throws InternalFailureException
759+
* @throws AmazonClientException If any internal errors are encountered
760+
* inside the client while attempting to make the request or
761+
* handle the response. For example if a network connection is
762+
* not available.
763+
* @throws AmazonServiceException If an error response is returned by Amazon
764+
* Transcribe indicating either a problem with the data in the
765+
* request, or a server side issue.
766+
*/
767+
ListTagsForResourceResult listTagsForResource(
768+
ListTagsForResourceRequest listTagsForResourceRequest) throws AmazonClientException,
769+
AmazonServiceException;
770+
745771
/**
746772
* <p>
747773
* Lists transcription jobs with the specified status.
@@ -894,6 +920,54 @@ StartTranscriptionJobResult startTranscriptionJob(
894920
StartTranscriptionJobRequest startTranscriptionJobRequest)
895921
throws AmazonClientException, AmazonServiceException;
896922

923+
/**
924+
* <p>
925+
* Tags an Amazon Transcribe resource with the given list of tags.
926+
* </p>
927+
*
928+
* @param tagResourceRequest
929+
* @return tagResourceResult The response from the TagResource service
930+
* method, as returned by Amazon Transcribe.
931+
* @throws BadRequestException
932+
* @throws ConflictException
933+
* @throws NotFoundException
934+
* @throws LimitExceededException
935+
* @throws InternalFailureException
936+
* @throws AmazonClientException If any internal errors are encountered
937+
* inside the client while attempting to make the request or
938+
* handle the response. For example if a network connection is
939+
* not available.
940+
* @throws AmazonServiceException If an error response is returned by Amazon
941+
* Transcribe indicating either a problem with the data in the
942+
* request, or a server side issue.
943+
*/
944+
TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
945+
throws AmazonClientException, AmazonServiceException;
946+
947+
/**
948+
* <p>
949+
* Removes specified tags from a specified Amazon Transcribe resource.
950+
* </p>
951+
*
952+
* @param untagResourceRequest
953+
* @return untagResourceResult The response from the UntagResource service
954+
* method, as returned by Amazon Transcribe.
955+
* @throws LimitExceededException
956+
* @throws BadRequestException
957+
* @throws ConflictException
958+
* @throws NotFoundException
959+
* @throws InternalFailureException
960+
* @throws AmazonClientException If any internal errors are encountered
961+
* inside the client while attempting to make the request or
962+
* handle the response. For example if a network connection is
963+
* not available.
964+
* @throws AmazonServiceException If an error response is returned by Amazon
965+
* Transcribe indicating either a problem with the data in the
966+
* request, or a server side issue.
967+
*/
968+
UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
969+
throws AmazonClientException, AmazonServiceException;
970+
897971
/**
898972
* <p>
899973
* Updates the call analytics category with new values. The

aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeAsync.java

Lines changed: 165 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Future<CreateLanguageModelResult> createLanguageModelAsync(
157157

158158
/**
159159
* <p>
160-
* Creates a new custom vocabulary that you can use to change how Amazon
160+
* Creates a new custom vocabulary that you can use to modify how Amazon
161161
* Transcribe Medical transcribes your audio file.
162162
* </p>
163163
*
@@ -183,7 +183,7 @@ Future<CreateMedicalVocabularyResult> createMedicalVocabularyAsync(
183183

184184
/**
185185
* <p>
186-
* Creates a new custom vocabulary that you can use to change how Amazon
186+
* Creates a new custom vocabulary that you can use to modify how Amazon
187187
* Transcribe Medical transcribes your audio file.
188188
* </p>
189189
*
@@ -1523,6 +1523,63 @@ Future<ListMedicalVocabulariesResult> listMedicalVocabulariesAsync(
15231523
AsyncHandler<ListMedicalVocabulariesRequest, ListMedicalVocabulariesResult> asyncHandler)
15241524
throws AmazonServiceException, AmazonClientException;
15251525

1526+
/**
1527+
* <p>
1528+
* Lists all tags associated with a given transcription job, vocabulary, or
1529+
* resource.
1530+
* </p>
1531+
*
1532+
* @param listTagsForResourceRequest
1533+
* @return A Java Future object containing the response from the
1534+
* ListTagsForResource service method, as returned by Amazon
1535+
* Transcribe.
1536+
* @throws BadRequestException
1537+
* @throws NotFoundException
1538+
* @throws LimitExceededException
1539+
* @throws InternalFailureException
1540+
* @throws AmazonClientException If any internal errors are encountered
1541+
* inside the client while attempting to make the request or
1542+
* handle the response. For example if a network connection is
1543+
* not available.
1544+
* @throws AmazonServiceException If an error response is returned by Amazon
1545+
* Transcribe indicating either a problem with the data in the
1546+
* request, or a server side issue.
1547+
*/
1548+
Future<ListTagsForResourceResult> listTagsForResourceAsync(
1549+
ListTagsForResourceRequest listTagsForResourceRequest) throws AmazonServiceException,
1550+
AmazonClientException;
1551+
1552+
/**
1553+
* <p>
1554+
* Lists all tags associated with a given transcription job, vocabulary, or
1555+
* resource.
1556+
* </p>
1557+
*
1558+
* @param listTagsForResourceRequest
1559+
* @param asyncHandler Asynchronous callback handler for events in the
1560+
* life-cycle of the request. Users could provide the
1561+
* implementation of the four callback methods in this interface
1562+
* to process the operation result or handle the exception.
1563+
* @return A Java Future object containing the response from the
1564+
* ListTagsForResource service method, as returned by Amazon
1565+
* Transcribe.
1566+
* @throws BadRequestException
1567+
* @throws NotFoundException
1568+
* @throws LimitExceededException
1569+
* @throws InternalFailureException
1570+
* @throws AmazonClientException If any internal errors are encountered
1571+
* inside the client while attempting to make the request or
1572+
* handle the response. For example if a network connection is
1573+
* not available.
1574+
* @throws AmazonServiceException If an error response is returned by Amazon
1575+
* Transcribe indicating either a problem with the data in the
1576+
* request, or a server side issue.
1577+
*/
1578+
Future<ListTagsForResourceResult> listTagsForResourceAsync(
1579+
ListTagsForResourceRequest listTagsForResourceRequest,
1580+
AsyncHandler<ListTagsForResourceRequest, ListTagsForResourceResult> asyncHandler)
1581+
throws AmazonServiceException, AmazonClientException;
1582+
15261583
/**
15271584
* <p>
15281585
* Lists transcription jobs with the specified status.
@@ -1861,6 +1918,112 @@ Future<StartTranscriptionJobResult> startTranscriptionJobAsync(
18611918
AsyncHandler<StartTranscriptionJobRequest, StartTranscriptionJobResult> asyncHandler)
18621919
throws AmazonServiceException, AmazonClientException;
18631920

1921+
/**
1922+
* <p>
1923+
* Tags an Amazon Transcribe resource with the given list of tags.
1924+
* </p>
1925+
*
1926+
* @param tagResourceRequest
1927+
* @return A Java Future object containing the response from the TagResource
1928+
* service method, as returned by Amazon Transcribe.
1929+
* @throws BadRequestException
1930+
* @throws ConflictException
1931+
* @throws NotFoundException
1932+
* @throws LimitExceededException
1933+
* @throws InternalFailureException
1934+
* @throws AmazonClientException If any internal errors are encountered
1935+
* inside the client while attempting to make the request or
1936+
* handle the response. For example if a network connection is
1937+
* not available.
1938+
* @throws AmazonServiceException If an error response is returned by Amazon
1939+
* Transcribe indicating either a problem with the data in the
1940+
* request, or a server side issue.
1941+
*/
1942+
Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
1943+
throws AmazonServiceException, AmazonClientException;
1944+
1945+
/**
1946+
* <p>
1947+
* Tags an Amazon Transcribe resource with the given list of tags.
1948+
* </p>
1949+
*
1950+
* @param tagResourceRequest
1951+
* @param asyncHandler Asynchronous callback handler for events in the
1952+
* life-cycle of the request. Users could provide the
1953+
* implementation of the four callback methods in this interface
1954+
* to process the operation result or handle the exception.
1955+
* @return A Java Future object containing the response from the TagResource
1956+
* service method, as returned by Amazon Transcribe.
1957+
* @throws BadRequestException
1958+
* @throws ConflictException
1959+
* @throws NotFoundException
1960+
* @throws LimitExceededException
1961+
* @throws InternalFailureException
1962+
* @throws AmazonClientException If any internal errors are encountered
1963+
* inside the client while attempting to make the request or
1964+
* handle the response. For example if a network connection is
1965+
* not available.
1966+
* @throws AmazonServiceException If an error response is returned by Amazon
1967+
* Transcribe indicating either a problem with the data in the
1968+
* request, or a server side issue.
1969+
*/
1970+
Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest,
1971+
AsyncHandler<TagResourceRequest, TagResourceResult> asyncHandler)
1972+
throws AmazonServiceException, AmazonClientException;
1973+
1974+
/**
1975+
* <p>
1976+
* Removes specified tags from a specified Amazon Transcribe resource.
1977+
* </p>
1978+
*
1979+
* @param untagResourceRequest
1980+
* @return A Java Future object containing the response from the
1981+
* UntagResource service method, as returned by Amazon Transcribe.
1982+
* @throws LimitExceededException
1983+
* @throws BadRequestException
1984+
* @throws ConflictException
1985+
* @throws NotFoundException
1986+
* @throws InternalFailureException
1987+
* @throws AmazonClientException If any internal errors are encountered
1988+
* inside the client while attempting to make the request or
1989+
* handle the response. For example if a network connection is
1990+
* not available.
1991+
* @throws AmazonServiceException If an error response is returned by Amazon
1992+
* Transcribe indicating either a problem with the data in the
1993+
* request, or a server side issue.
1994+
*/
1995+
Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
1996+
throws AmazonServiceException, AmazonClientException;
1997+
1998+
/**
1999+
* <p>
2000+
* Removes specified tags from a specified Amazon Transcribe resource.
2001+
* </p>
2002+
*
2003+
* @param untagResourceRequest
2004+
* @param asyncHandler Asynchronous callback handler for events in the
2005+
* life-cycle of the request. Users could provide the
2006+
* implementation of the four callback methods in this interface
2007+
* to process the operation result or handle the exception.
2008+
* @return A Java Future object containing the response from the
2009+
* UntagResource service method, as returned by Amazon Transcribe.
2010+
* @throws LimitExceededException
2011+
* @throws BadRequestException
2012+
* @throws ConflictException
2013+
* @throws NotFoundException
2014+
* @throws InternalFailureException
2015+
* @throws AmazonClientException If any internal errors are encountered
2016+
* inside the client while attempting to make the request or
2017+
* handle the response. For example if a network connection is
2018+
* not available.
2019+
* @throws AmazonServiceException If an error response is returned by Amazon
2020+
* Transcribe indicating either a problem with the data in the
2021+
* request, or a server side issue.
2022+
*/
2023+
Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest,
2024+
AsyncHandler<UntagResourceRequest, UntagResourceResult> asyncHandler)
2025+
throws AmazonServiceException, AmazonClientException;
2026+
18642027
/**
18652028
* <p>
18662029
* Updates the call analytics category with new values. The

0 commit comments

Comments
 (0)