Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transcribe Update models to latest #2562

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,37 @@ public interface AmazonTranscribe {
*/
public void setRegion(Region region) throws java.lang.IllegalArgumentException;

/**
* <p>
* Creates an analytics category. Amazon Transcribe applies the conditions
* specified by your analytics categories to your call analytics jobs. For
* each analytics category, you specify one or more rules. For example, you
* can specify a rule that the customer sentiment was neutral or negative
* within that category. If you start a call analytics job, Amazon
* Transcribe applies the category to the analytics job that you've
* specified.
* </p>
*
* @param createCallAnalyticsCategoryRequest
* @return createCallAnalyticsCategoryResult The response from the
* CreateCallAnalyticsCategory service method, as returned by Amazon
* Transcribe.
* @throws BadRequestException
* @throws LimitExceededException
* @throws InternalFailureException
* @throws ConflictException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Transcribe indicating either a problem with the data in the
* request, or a server side issue.
*/
CreateCallAnalyticsCategoryResult createCallAnalyticsCategory(
CreateCallAnalyticsCategoryRequest createCallAnalyticsCategoryRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Creates a new custom language model. Use Amazon S3 prefixes to provide
Expand Down Expand Up @@ -188,6 +219,55 @@ CreateVocabularyFilterResult createVocabularyFilter(
CreateVocabularyFilterRequest createVocabularyFilterRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Deletes a call analytics category using its name.
* </p>
*
* @param deleteCallAnalyticsCategoryRequest
* @return deleteCallAnalyticsCategoryResult The response from the
* DeleteCallAnalyticsCategory service method, as returned by Amazon
* Transcribe.
* @throws NotFoundException
* @throws LimitExceededException
* @throws BadRequestException
* @throws InternalFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Transcribe indicating either a problem with the data in the
* request, or a server side issue.
*/
DeleteCallAnalyticsCategoryResult deleteCallAnalyticsCategory(
DeleteCallAnalyticsCategoryRequest deleteCallAnalyticsCategoryRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Deletes a call analytics job using its name.
* </p>
*
* @param deleteCallAnalyticsJobRequest
* @return deleteCallAnalyticsJobResult The response from the
* DeleteCallAnalyticsJob service method, as returned by Amazon
* Transcribe.
* @throws LimitExceededException
* @throws BadRequestException
* @throws InternalFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Transcribe indicating either a problem with the data in the
* request, or a server side issue.
*/
DeleteCallAnalyticsJobResult deleteCallAnalyticsJob(
DeleteCallAnalyticsJobRequest deleteCallAnalyticsJobRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Deletes a custom language model using its name.
Expand Down Expand Up @@ -317,12 +397,13 @@ void deleteVocabularyFilter(DeleteVocabularyFilterRequest deleteVocabularyFilter
/**
* <p>
* Gets information about a single custom language model. Use this
* information to see details about the language model in your AWS account.
* You can also see whether the base language model used to create your
* custom language model has been updated. If Amazon Transcribe has updated
* the base model, you can create a new custom language model using the
* updated base model. If the language model wasn't created, you can use
* this operation to understand why Amazon Transcribe couldn't create it.
* information to see details about the language model in your Amazon Web
* Services account. You can also see whether the base language model used
* to create your custom language model has been updated. If Amazon
* Transcribe has updated the base model, you can create a new custom
* language model using the updated base model. If the language model wasn't
* created, you can use this operation to understand why Amazon Transcribe
* couldn't create it.
* </p>
*
* @param describeLanguageModelRequest
Expand All @@ -345,6 +426,62 @@ DescribeLanguageModelResult describeLanguageModel(
DescribeLanguageModelRequest describeLanguageModelRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Retrieves information about a call analytics category.
* </p>
*
* @param getCallAnalyticsCategoryRequest
* @return getCallAnalyticsCategoryResult The response from the
* GetCallAnalyticsCategory service method, as returned by Amazon
* Transcribe.
* @throws NotFoundException
* @throws LimitExceededException
* @throws InternalFailureException
* @throws BadRequestException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Transcribe indicating either a problem with the data in the
* request, or a server side issue.
*/
GetCallAnalyticsCategoryResult getCallAnalyticsCategory(
GetCallAnalyticsCategoryRequest getCallAnalyticsCategoryRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Returns information about a call analytics job. To see the status of the
* job, check the <code>CallAnalyticsJobStatus</code> field. If the status
* is <code>COMPLETED</code>, the job is finished and you can find the
* results at the location specified in the <code>TranscriptFileUri</code>
* field. If you enable personally identifiable information (PII) redaction,
* the redacted transcript appears in the
* <code>RedactedTranscriptFileUri</code> field.
* </p>
*
* @param getCallAnalyticsJobRequest
* @return getCallAnalyticsJobResult The response from the
* GetCallAnalyticsJob service method, as returned by Amazon
* Transcribe.
* @throws BadRequestException
* @throws LimitExceededException
* @throws InternalFailureException
* @throws NotFoundException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Transcribe indicating either a problem with the data in the
* request, or a server side issue.
*/
GetCallAnalyticsJobResult getCallAnalyticsJob(
GetCallAnalyticsJobRequest getCallAnalyticsJobRequest) throws AmazonClientException,
AmazonServiceException;

/**
* <p>
* Returns information about a transcription job from Amazon Transcribe
Expand Down Expand Up @@ -477,6 +614,58 @@ GetVocabularyFilterResult getVocabularyFilter(
GetVocabularyFilterRequest getVocabularyFilterRequest) throws AmazonClientException,
AmazonServiceException;

/**
* <p>
* Provides more information about the call analytics categories that you've
* created. You can use the information in this list to find a specific
* category. You can then use the operation to get more information about
* it.
* </p>
*
* @param listCallAnalyticsCategoriesRequest
* @return listCallAnalyticsCategoriesResult The response from the
* ListCallAnalyticsCategories service method, as returned by Amazon
* Transcribe.
* @throws BadRequestException
* @throws LimitExceededException
* @throws InternalFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Transcribe indicating either a problem with the data in the
* request, or a server side issue.
*/
ListCallAnalyticsCategoriesResult listCallAnalyticsCategories(
ListCallAnalyticsCategoriesRequest listCallAnalyticsCategoriesRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* List call analytics jobs with a specified status or substring that
* matches their names.
* </p>
*
* @param listCallAnalyticsJobsRequest
* @return listCallAnalyticsJobsResult The response from the
* ListCallAnalyticsJobs service method, as returned by Amazon
* Transcribe.
* @throws BadRequestException
* @throws LimitExceededException
* @throws InternalFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Transcribe indicating either a problem with the data in the
* request, or a server side issue.
*/
ListCallAnalyticsJobsResult listCallAnalyticsJobs(
ListCallAnalyticsJobsRequest listCallAnalyticsJobsRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Provides more information about the custom language models you've
Expand Down Expand Up @@ -624,6 +813,37 @@ ListVocabularyFiltersResult listVocabularyFilters(
ListVocabularyFiltersRequest listVocabularyFiltersRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Starts an asynchronous analytics job that not only transcribes the audio
* recording of a caller and agent, but also returns additional insights.
* These insights include how quickly or loudly the caller or agent was
* speaking. To retrieve additional insights with your analytics jobs,
* create categories. A category is a way to classify analytics jobs based
* on attributes, such as a customer's sentiment or a particular phrase
* being used during the call. For more information, see the operation.
* </p>
*
* @param startCallAnalyticsJobRequest
* @return startCallAnalyticsJobResult The response from the
* StartCallAnalyticsJob service method, as returned by Amazon
* Transcribe.
* @throws BadRequestException
* @throws LimitExceededException
* @throws InternalFailureException
* @throws ConflictException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Transcribe indicating either a problem with the data in the
* request, or a server side issue.
*/
StartCallAnalyticsJobResult startCallAnalyticsJob(
StartCallAnalyticsJobRequest startCallAnalyticsJobRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Starts a batch job to transcribe medical speech to text.
Expand Down Expand Up @@ -674,6 +894,34 @@ StartTranscriptionJobResult startTranscriptionJob(
StartTranscriptionJobRequest startTranscriptionJobRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Updates the call analytics category with new values. The
* <code>UpdateCallAnalyticsCategory</code> operation overwrites all of the
* existing information with the values that you provide in the request.
* </p>
*
* @param updateCallAnalyticsCategoryRequest
* @return updateCallAnalyticsCategoryResult The response from the
* UpdateCallAnalyticsCategory service method, as returned by Amazon
* Transcribe.
* @throws BadRequestException
* @throws LimitExceededException
* @throws InternalFailureException
* @throws NotFoundException
* @throws ConflictException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Transcribe indicating either a problem with the data in the
* request, or a server side issue.
*/
UpdateCallAnalyticsCategoryResult updateCallAnalyticsCategory(
UpdateCallAnalyticsCategoryRequest updateCallAnalyticsCategoryRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Updates a vocabulary with new values that you provide in a different text
Expand Down
Loading