Skip to content

Commit 4341db0

Browse files
feat(aws-android-sdk-transcribe): update models to latest (#2562)
Co-authored-by: Raphael Kim <[email protected]>
1 parent 9526e8e commit 4341db0

File tree

92 files changed

+20204
-354
lines changed

Some content is hidden

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

92 files changed

+20204
-354
lines changed

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

Lines changed: 254 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,37 @@ public interface AmazonTranscribe {
8585
*/
8686
public void setRegion(Region region) throws java.lang.IllegalArgumentException;
8787

88+
/**
89+
* <p>
90+
* Creates an analytics category. Amazon Transcribe applies the conditions
91+
* specified by your analytics categories to your call analytics jobs. For
92+
* each analytics category, you specify one or more rules. For example, you
93+
* can specify a rule that the customer sentiment was neutral or negative
94+
* within that category. If you start a call analytics job, Amazon
95+
* Transcribe applies the category to the analytics job that you've
96+
* specified.
97+
* </p>
98+
*
99+
* @param createCallAnalyticsCategoryRequest
100+
* @return createCallAnalyticsCategoryResult The response from the
101+
* CreateCallAnalyticsCategory service method, as returned by Amazon
102+
* Transcribe.
103+
* @throws BadRequestException
104+
* @throws LimitExceededException
105+
* @throws InternalFailureException
106+
* @throws ConflictException
107+
* @throws AmazonClientException If any internal errors are encountered
108+
* inside the client while attempting to make the request or
109+
* handle the response. For example if a network connection is
110+
* not available.
111+
* @throws AmazonServiceException If an error response is returned by Amazon
112+
* Transcribe indicating either a problem with the data in the
113+
* request, or a server side issue.
114+
*/
115+
CreateCallAnalyticsCategoryResult createCallAnalyticsCategory(
116+
CreateCallAnalyticsCategoryRequest createCallAnalyticsCategoryRequest)
117+
throws AmazonClientException, AmazonServiceException;
118+
88119
/**
89120
* <p>
90121
* Creates a new custom language model. Use Amazon S3 prefixes to provide
@@ -188,6 +219,55 @@ CreateVocabularyFilterResult createVocabularyFilter(
188219
CreateVocabularyFilterRequest createVocabularyFilterRequest)
189220
throws AmazonClientException, AmazonServiceException;
190221

222+
/**
223+
* <p>
224+
* Deletes a call analytics category using its name.
225+
* </p>
226+
*
227+
* @param deleteCallAnalyticsCategoryRequest
228+
* @return deleteCallAnalyticsCategoryResult The response from the
229+
* DeleteCallAnalyticsCategory service method, as returned by Amazon
230+
* Transcribe.
231+
* @throws NotFoundException
232+
* @throws LimitExceededException
233+
* @throws BadRequestException
234+
* @throws InternalFailureException
235+
* @throws AmazonClientException If any internal errors are encountered
236+
* inside the client while attempting to make the request or
237+
* handle the response. For example if a network connection is
238+
* not available.
239+
* @throws AmazonServiceException If an error response is returned by Amazon
240+
* Transcribe indicating either a problem with the data in the
241+
* request, or a server side issue.
242+
*/
243+
DeleteCallAnalyticsCategoryResult deleteCallAnalyticsCategory(
244+
DeleteCallAnalyticsCategoryRequest deleteCallAnalyticsCategoryRequest)
245+
throws AmazonClientException, AmazonServiceException;
246+
247+
/**
248+
* <p>
249+
* Deletes a call analytics job using its name.
250+
* </p>
251+
*
252+
* @param deleteCallAnalyticsJobRequest
253+
* @return deleteCallAnalyticsJobResult The response from the
254+
* DeleteCallAnalyticsJob service method, as returned by Amazon
255+
* Transcribe.
256+
* @throws LimitExceededException
257+
* @throws BadRequestException
258+
* @throws InternalFailureException
259+
* @throws AmazonClientException If any internal errors are encountered
260+
* inside the client while attempting to make the request or
261+
* handle the response. For example if a network connection is
262+
* not available.
263+
* @throws AmazonServiceException If an error response is returned by Amazon
264+
* Transcribe indicating either a problem with the data in the
265+
* request, or a server side issue.
266+
*/
267+
DeleteCallAnalyticsJobResult deleteCallAnalyticsJob(
268+
DeleteCallAnalyticsJobRequest deleteCallAnalyticsJobRequest)
269+
throws AmazonClientException, AmazonServiceException;
270+
191271
/**
192272
* <p>
193273
* Deletes a custom language model using its name.
@@ -317,12 +397,13 @@ void deleteVocabularyFilter(DeleteVocabularyFilterRequest deleteVocabularyFilter
317397
/**
318398
* <p>
319399
* Gets information about a single custom language model. Use this
320-
* information to see details about the language model in your AWS account.
321-
* You can also see whether the base language model used to create your
322-
* custom language model has been updated. If Amazon Transcribe has updated
323-
* the base model, you can create a new custom language model using the
324-
* updated base model. If the language model wasn't created, you can use
325-
* this operation to understand why Amazon Transcribe couldn't create it.
400+
* information to see details about the language model in your Amazon Web
401+
* Services account. You can also see whether the base language model used
402+
* to create your custom language model has been updated. If Amazon
403+
* Transcribe has updated the base model, you can create a new custom
404+
* language model using the updated base model. If the language model wasn't
405+
* created, you can use this operation to understand why Amazon Transcribe
406+
* couldn't create it.
326407
* </p>
327408
*
328409
* @param describeLanguageModelRequest
@@ -345,6 +426,62 @@ DescribeLanguageModelResult describeLanguageModel(
345426
DescribeLanguageModelRequest describeLanguageModelRequest)
346427
throws AmazonClientException, AmazonServiceException;
347428

429+
/**
430+
* <p>
431+
* Retrieves information about a call analytics category.
432+
* </p>
433+
*
434+
* @param getCallAnalyticsCategoryRequest
435+
* @return getCallAnalyticsCategoryResult The response from the
436+
* GetCallAnalyticsCategory service method, as returned by Amazon
437+
* Transcribe.
438+
* @throws NotFoundException
439+
* @throws LimitExceededException
440+
* @throws InternalFailureException
441+
* @throws BadRequestException
442+
* @throws AmazonClientException If any internal errors are encountered
443+
* inside the client while attempting to make the request or
444+
* handle the response. For example if a network connection is
445+
* not available.
446+
* @throws AmazonServiceException If an error response is returned by Amazon
447+
* Transcribe indicating either a problem with the data in the
448+
* request, or a server side issue.
449+
*/
450+
GetCallAnalyticsCategoryResult getCallAnalyticsCategory(
451+
GetCallAnalyticsCategoryRequest getCallAnalyticsCategoryRequest)
452+
throws AmazonClientException, AmazonServiceException;
453+
454+
/**
455+
* <p>
456+
* Returns information about a call analytics job. To see the status of the
457+
* job, check the <code>CallAnalyticsJobStatus</code> field. If the status
458+
* is <code>COMPLETED</code>, the job is finished and you can find the
459+
* results at the location specified in the <code>TranscriptFileUri</code>
460+
* field. If you enable personally identifiable information (PII) redaction,
461+
* the redacted transcript appears in the
462+
* <code>RedactedTranscriptFileUri</code> field.
463+
* </p>
464+
*
465+
* @param getCallAnalyticsJobRequest
466+
* @return getCallAnalyticsJobResult The response from the
467+
* GetCallAnalyticsJob service method, as returned by Amazon
468+
* Transcribe.
469+
* @throws BadRequestException
470+
* @throws LimitExceededException
471+
* @throws InternalFailureException
472+
* @throws NotFoundException
473+
* @throws AmazonClientException If any internal errors are encountered
474+
* inside the client while attempting to make the request or
475+
* handle the response. For example if a network connection is
476+
* not available.
477+
* @throws AmazonServiceException If an error response is returned by Amazon
478+
* Transcribe indicating either a problem with the data in the
479+
* request, or a server side issue.
480+
*/
481+
GetCallAnalyticsJobResult getCallAnalyticsJob(
482+
GetCallAnalyticsJobRequest getCallAnalyticsJobRequest) throws AmazonClientException,
483+
AmazonServiceException;
484+
348485
/**
349486
* <p>
350487
* Returns information about a transcription job from Amazon Transcribe
@@ -477,6 +614,58 @@ GetVocabularyFilterResult getVocabularyFilter(
477614
GetVocabularyFilterRequest getVocabularyFilterRequest) throws AmazonClientException,
478615
AmazonServiceException;
479616

617+
/**
618+
* <p>
619+
* Provides more information about the call analytics categories that you've
620+
* created. You can use the information in this list to find a specific
621+
* category. You can then use the operation to get more information about
622+
* it.
623+
* </p>
624+
*
625+
* @param listCallAnalyticsCategoriesRequest
626+
* @return listCallAnalyticsCategoriesResult The response from the
627+
* ListCallAnalyticsCategories service method, as returned by Amazon
628+
* Transcribe.
629+
* @throws BadRequestException
630+
* @throws LimitExceededException
631+
* @throws InternalFailureException
632+
* @throws AmazonClientException If any internal errors are encountered
633+
* inside the client while attempting to make the request or
634+
* handle the response. For example if a network connection is
635+
* not available.
636+
* @throws AmazonServiceException If an error response is returned by Amazon
637+
* Transcribe indicating either a problem with the data in the
638+
* request, or a server side issue.
639+
*/
640+
ListCallAnalyticsCategoriesResult listCallAnalyticsCategories(
641+
ListCallAnalyticsCategoriesRequest listCallAnalyticsCategoriesRequest)
642+
throws AmazonClientException, AmazonServiceException;
643+
644+
/**
645+
* <p>
646+
* List call analytics jobs with a specified status or substring that
647+
* matches their names.
648+
* </p>
649+
*
650+
* @param listCallAnalyticsJobsRequest
651+
* @return listCallAnalyticsJobsResult The response from the
652+
* ListCallAnalyticsJobs service method, as returned by Amazon
653+
* Transcribe.
654+
* @throws BadRequestException
655+
* @throws LimitExceededException
656+
* @throws InternalFailureException
657+
* @throws AmazonClientException If any internal errors are encountered
658+
* inside the client while attempting to make the request or
659+
* handle the response. For example if a network connection is
660+
* not available.
661+
* @throws AmazonServiceException If an error response is returned by Amazon
662+
* Transcribe indicating either a problem with the data in the
663+
* request, or a server side issue.
664+
*/
665+
ListCallAnalyticsJobsResult listCallAnalyticsJobs(
666+
ListCallAnalyticsJobsRequest listCallAnalyticsJobsRequest)
667+
throws AmazonClientException, AmazonServiceException;
668+
480669
/**
481670
* <p>
482671
* Provides more information about the custom language models you've
@@ -624,6 +813,37 @@ ListVocabularyFiltersResult listVocabularyFilters(
624813
ListVocabularyFiltersRequest listVocabularyFiltersRequest)
625814
throws AmazonClientException, AmazonServiceException;
626815

816+
/**
817+
* <p>
818+
* Starts an asynchronous analytics job that not only transcribes the audio
819+
* recording of a caller and agent, but also returns additional insights.
820+
* These insights include how quickly or loudly the caller or agent was
821+
* speaking. To retrieve additional insights with your analytics jobs,
822+
* create categories. A category is a way to classify analytics jobs based
823+
* on attributes, such as a customer's sentiment or a particular phrase
824+
* being used during the call. For more information, see the operation.
825+
* </p>
826+
*
827+
* @param startCallAnalyticsJobRequest
828+
* @return startCallAnalyticsJobResult The response from the
829+
* StartCallAnalyticsJob service method, as returned by Amazon
830+
* Transcribe.
831+
* @throws BadRequestException
832+
* @throws LimitExceededException
833+
* @throws InternalFailureException
834+
* @throws ConflictException
835+
* @throws AmazonClientException If any internal errors are encountered
836+
* inside the client while attempting to make the request or
837+
* handle the response. For example if a network connection is
838+
* not available.
839+
* @throws AmazonServiceException If an error response is returned by Amazon
840+
* Transcribe indicating either a problem with the data in the
841+
* request, or a server side issue.
842+
*/
843+
StartCallAnalyticsJobResult startCallAnalyticsJob(
844+
StartCallAnalyticsJobRequest startCallAnalyticsJobRequest)
845+
throws AmazonClientException, AmazonServiceException;
846+
627847
/**
628848
* <p>
629849
* Starts a batch job to transcribe medical speech to text.
@@ -674,6 +894,34 @@ StartTranscriptionJobResult startTranscriptionJob(
674894
StartTranscriptionJobRequest startTranscriptionJobRequest)
675895
throws AmazonClientException, AmazonServiceException;
676896

897+
/**
898+
* <p>
899+
* Updates the call analytics category with new values. The
900+
* <code>UpdateCallAnalyticsCategory</code> operation overwrites all of the
901+
* existing information with the values that you provide in the request.
902+
* </p>
903+
*
904+
* @param updateCallAnalyticsCategoryRequest
905+
* @return updateCallAnalyticsCategoryResult The response from the
906+
* UpdateCallAnalyticsCategory service method, as returned by Amazon
907+
* Transcribe.
908+
* @throws BadRequestException
909+
* @throws LimitExceededException
910+
* @throws InternalFailureException
911+
* @throws NotFoundException
912+
* @throws ConflictException
913+
* @throws AmazonClientException If any internal errors are encountered
914+
* inside the client while attempting to make the request or
915+
* handle the response. For example if a network connection is
916+
* not available.
917+
* @throws AmazonServiceException If an error response is returned by Amazon
918+
* Transcribe indicating either a problem with the data in the
919+
* request, or a server side issue.
920+
*/
921+
UpdateCallAnalyticsCategoryResult updateCallAnalyticsCategory(
922+
UpdateCallAnalyticsCategoryRequest updateCallAnalyticsCategoryRequest)
923+
throws AmazonClientException, AmazonServiceException;
924+
677925
/**
678926
* <p>
679927
* Updates a vocabulary with new values that you provide in a different text

0 commit comments

Comments
 (0)