@@ -109,6 +109,32 @@ public interface AmazonTranscribe {
109109 CreateVocabularyResult createVocabulary (CreateVocabularyRequest createVocabularyRequest )
110110 throws AmazonClientException , AmazonServiceException ;
111111
112+ /**
113+ * <p>
114+ * Creates a new vocabulary filter that you can use to filter words, such as
115+ * profane words, from the output of a transcription job.
116+ * </p>
117+ *
118+ * @param createVocabularyFilterRequest
119+ * @return createVocabularyFilterResult The response from the
120+ * CreateVocabularyFilter service method, as returned by Amazon
121+ * Transcribe.
122+ * @throws BadRequestException
123+ * @throws LimitExceededException
124+ * @throws InternalFailureException
125+ * @throws ConflictException
126+ * @throws AmazonClientException If any internal errors are encountered
127+ * inside the client while attempting to make the request or
128+ * handle the response. For example if a network connection is
129+ * not available.
130+ * @throws AmazonServiceException If an error response is returned by Amazon
131+ * Transcribe indicating either a problem with the data in the
132+ * request, or a server side issue.
133+ */
134+ CreateVocabularyFilterResult createVocabularyFilter (
135+ CreateVocabularyFilterRequest createVocabularyFilterRequest )
136+ throws AmazonClientException , AmazonServiceException ;
137+
112138 /**
113139 * <p>
114140 * Deletes a previously submitted transcription job along with any other
@@ -151,6 +177,27 @@ void deleteTranscriptionJob(DeleteTranscriptionJobRequest deleteTranscriptionJob
151177 void deleteVocabulary (DeleteVocabularyRequest deleteVocabularyRequest )
152178 throws AmazonClientException , AmazonServiceException ;
153179
180+ /**
181+ * <p>
182+ * Removes a vocabulary filter.
183+ * </p>
184+ *
185+ * @param deleteVocabularyFilterRequest
186+ * @throws NotFoundException
187+ * @throws LimitExceededException
188+ * @throws BadRequestException
189+ * @throws InternalFailureException
190+ * @throws AmazonClientException If any internal errors are encountered
191+ * inside the client while attempting to make the request or
192+ * handle the response. For example if a network connection is
193+ * not available.
194+ * @throws AmazonServiceException If an error response is returned by Amazon
195+ * Transcribe indicating either a problem with the data in the
196+ * request, or a server side issue.
197+ */
198+ void deleteVocabularyFilter (DeleteVocabularyFilterRequest deleteVocabularyFilterRequest )
199+ throws AmazonClientException , AmazonServiceException ;
200+
154201 /**
155202 * <p>
156203 * Returns information about a transcription job. To see the status of the
@@ -203,6 +250,31 @@ GetTranscriptionJobResult getTranscriptionJob(
203250 GetVocabularyResult getVocabulary (GetVocabularyRequest getVocabularyRequest )
204251 throws AmazonClientException , AmazonServiceException ;
205252
253+ /**
254+ * <p>
255+ * Returns information about a vocabulary filter.
256+ * </p>
257+ *
258+ * @param getVocabularyFilterRequest
259+ * @return getVocabularyFilterResult The response from the
260+ * GetVocabularyFilter service method, as returned by Amazon
261+ * Transcribe.
262+ * @throws NotFoundException
263+ * @throws LimitExceededException
264+ * @throws InternalFailureException
265+ * @throws BadRequestException
266+ * @throws AmazonClientException If any internal errors are encountered
267+ * inside the client while attempting to make the request or
268+ * handle the response. For example if a network connection is
269+ * not available.
270+ * @throws AmazonServiceException If an error response is returned by Amazon
271+ * Transcribe indicating either a problem with the data in the
272+ * request, or a server side issue.
273+ */
274+ GetVocabularyFilterResult getVocabularyFilter (
275+ GetVocabularyFilterRequest getVocabularyFilterRequest ) throws AmazonClientException ,
276+ AmazonServiceException ;
277+
206278 /**
207279 * <p>
208280 * Lists transcription jobs with the specified status.
@@ -250,6 +322,30 @@ ListTranscriptionJobsResult listTranscriptionJobs(
250322 ListVocabulariesResult listVocabularies (ListVocabulariesRequest listVocabulariesRequest )
251323 throws AmazonClientException , AmazonServiceException ;
252324
325+ /**
326+ * <p>
327+ * Gets information about vocabulary filters.
328+ * </p>
329+ *
330+ * @param listVocabularyFiltersRequest
331+ * @return listVocabularyFiltersResult The response from the
332+ * ListVocabularyFilters service method, as returned by Amazon
333+ * Transcribe.
334+ * @throws BadRequestException
335+ * @throws LimitExceededException
336+ * @throws InternalFailureException
337+ * @throws AmazonClientException If any internal errors are encountered
338+ * inside the client while attempting to make the request or
339+ * handle the response. For example if a network connection is
340+ * not available.
341+ * @throws AmazonServiceException If an error response is returned by Amazon
342+ * Transcribe indicating either a problem with the data in the
343+ * request, or a server side issue.
344+ */
345+ ListVocabularyFiltersResult listVocabularyFilters (
346+ ListVocabularyFiltersRequest listVocabularyFiltersRequest )
347+ throws AmazonClientException , AmazonServiceException ;
348+
253349 /**
254350 * <p>
255351 * Starts an asynchronous job to transcribe speech to text.
@@ -301,6 +397,31 @@ StartTranscriptionJobResult startTranscriptionJob(
301397 UpdateVocabularyResult updateVocabulary (UpdateVocabularyRequest updateVocabularyRequest )
302398 throws AmazonClientException , AmazonServiceException ;
303399
400+ /**
401+ * <p>
402+ * Updates a vocabulary filter with a new list of filtered words.
403+ * </p>
404+ *
405+ * @param updateVocabularyFilterRequest
406+ * @return updateVocabularyFilterResult The response from the
407+ * UpdateVocabularyFilter service method, as returned by Amazon
408+ * Transcribe.
409+ * @throws BadRequestException
410+ * @throws LimitExceededException
411+ * @throws InternalFailureException
412+ * @throws NotFoundException
413+ * @throws AmazonClientException If any internal errors are encountered
414+ * inside the client while attempting to make the request or
415+ * handle the response. For example if a network connection is
416+ * not available.
417+ * @throws AmazonServiceException If an error response is returned by Amazon
418+ * Transcribe indicating either a problem with the data in the
419+ * request, or a server side issue.
420+ */
421+ UpdateVocabularyFilterResult updateVocabularyFilter (
422+ UpdateVocabularyFilterRequest updateVocabularyFilterRequest )
423+ throws AmazonClientException , AmazonServiceException ;
424+
304425 /**
305426 * Shuts down this client object, releasing any resources that might be held
306427 * open. This is an optional method, and callers are not expected to call
0 commit comments