@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonTranscribeClient extends AmazonWebServiceClient implements AmazonTranscribe
Operations and objects for transcribing speech to text.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AmazonTranscribeClientBuilder |
builder() |
CreateVocabularyResult |
createVocabulary(CreateVocabularyRequest request)
Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an
audio file.
|
CreateVocabularyFilterResult |
createVocabularyFilter(CreateVocabularyFilterRequest request)
Creates a new vocabulary filter that you can use to filter words, such as profane words, from the output of a
transcription job.
|
DeleteTranscriptionJobResult |
deleteTranscriptionJob(DeleteTranscriptionJobRequest request)
Deletes a previously submitted transcription job along with any other generated results such as the
transcription, models, and so on.
|
DeleteVocabularyResult |
deleteVocabulary(DeleteVocabularyRequest request)
Deletes a vocabulary from Amazon Transcribe.
|
DeleteVocabularyFilterResult |
deleteVocabularyFilter(DeleteVocabularyFilterRequest request)
Removes a vocabulary filter.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetTranscriptionJobResult |
getTranscriptionJob(GetTranscriptionJobRequest request)
Returns information about a transcription job.
|
GetVocabularyResult |
getVocabulary(GetVocabularyRequest request)
Gets information about a vocabulary.
|
GetVocabularyFilterResult |
getVocabularyFilter(GetVocabularyFilterRequest request)
Returns information about a vocabulary filter.
|
ListTranscriptionJobsResult |
listTranscriptionJobs(ListTranscriptionJobsRequest request)
Lists transcription jobs with the specified status.
|
ListVocabulariesResult |
listVocabularies(ListVocabulariesRequest request)
Returns a list of vocabularies that match the specified criteria.
|
ListVocabularyFiltersResult |
listVocabularyFilters(ListVocabularyFiltersRequest request)
Gets information about vocabulary filters.
|
StartTranscriptionJobResult |
startTranscriptionJob(StartTranscriptionJobRequest request)
Starts an asynchronous job to transcribe speech to text.
|
UpdateVocabularyResult |
updateVocabulary(UpdateVocabularyRequest request)
Updates an existing vocabulary with new values.
|
UpdateVocabularyFilterResult |
updateVocabularyFilter(UpdateVocabularyFilterRequest request)
Updates a vocabulary filter with a new list of filtered words.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownpublic static AmazonTranscribeClientBuilder builder()
public CreateVocabularyResult createVocabulary(CreateVocabularyRequest request)
Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file.
createVocabulary in interface AmazonTranscribecreateVocabularyRequest - BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.InternalFailureException - There was an internal error. Check the error message and try your request again.ConflictException - When you are using the CreateVocabulary operation, the JobName field is a
duplicate of a previously entered job name. Resend your request with a different name.
When you are using the UpdateVocabulary operation, there are two jobs running at the same
time. Resend the second request later.
public CreateVocabularyFilterResult createVocabularyFilter(CreateVocabularyFilterRequest request)
Creates a new vocabulary filter that you can use to filter words, such as profane words, from the output of a transcription job.
createVocabularyFilter in interface AmazonTranscribecreateVocabularyFilterRequest - BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.InternalFailureException - There was an internal error. Check the error message and try your request again.ConflictException - When you are using the CreateVocabulary operation, the JobName field is a
duplicate of a previously entered job name. Resend your request with a different name.
When you are using the UpdateVocabulary operation, there are two jobs running at the same
time. Resend the second request later.
public DeleteTranscriptionJobResult deleteTranscriptionJob(DeleteTranscriptionJobRequest request)
Deletes a previously submitted transcription job along with any other generated results such as the transcription, models, and so on.
deleteTranscriptionJob in interface AmazonTranscribedeleteTranscriptionJobRequest - LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.InternalFailureException - There was an internal error. Check the error message and try your request again.public DeleteVocabularyResult deleteVocabulary(DeleteVocabularyRequest request)
Deletes a vocabulary from Amazon Transcribe.
deleteVocabulary in interface AmazonTranscribedeleteVocabularyRequest - NotFoundException - We can't find the requested resource. Check the name and try your request again.LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.InternalFailureException - There was an internal error. Check the error message and try your request again.public DeleteVocabularyFilterResult deleteVocabularyFilter(DeleteVocabularyFilterRequest request)
Removes a vocabulary filter.
deleteVocabularyFilter in interface AmazonTranscribedeleteVocabularyFilterRequest - NotFoundException - We can't find the requested resource. Check the name and try your request again.LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.InternalFailureException - There was an internal error. Check the error message and try your request again.public GetTranscriptionJobResult getTranscriptionJob(GetTranscriptionJobRequest request)
Returns information about a transcription job. To see the status of the job, check the
TranscriptionJobStatus field. If the status is COMPLETED, the job is finished and you
can find the results at the location specified in the TranscriptFileUri field. If you enable content
redaction, the redacted transcript appears in RedactedTranscriptFileUri.
getTranscriptionJob in interface AmazonTranscribegetTranscriptionJobRequest - BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.InternalFailureException - There was an internal error. Check the error message and try your request again.NotFoundException - We can't find the requested resource. Check the name and try your request again.public GetVocabularyResult getVocabulary(GetVocabularyRequest request)
Gets information about a vocabulary.
getVocabulary in interface AmazonTranscribegetVocabularyRequest - NotFoundException - We can't find the requested resource. Check the name and try your request again.LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.InternalFailureException - There was an internal error. Check the error message and try your request again.BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.public GetVocabularyFilterResult getVocabularyFilter(GetVocabularyFilterRequest request)
Returns information about a vocabulary filter.
getVocabularyFilter in interface AmazonTranscribegetVocabularyFilterRequest - NotFoundException - We can't find the requested resource. Check the name and try your request again.LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.InternalFailureException - There was an internal error. Check the error message and try your request again.BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.public ListTranscriptionJobsResult listTranscriptionJobs(ListTranscriptionJobsRequest request)
Lists transcription jobs with the specified status.
listTranscriptionJobs in interface AmazonTranscribelistTranscriptionJobsRequest - BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.InternalFailureException - There was an internal error. Check the error message and try your request again.public ListVocabulariesResult listVocabularies(ListVocabulariesRequest request)
Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.
listVocabularies in interface AmazonTranscribelistVocabulariesRequest - BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.InternalFailureException - There was an internal error. Check the error message and try your request again.public ListVocabularyFiltersResult listVocabularyFilters(ListVocabularyFiltersRequest request)
Gets information about vocabulary filters.
listVocabularyFilters in interface AmazonTranscribelistVocabularyFiltersRequest - BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.InternalFailureException - There was an internal error. Check the error message and try your request again.public StartTranscriptionJobResult startTranscriptionJob(StartTranscriptionJobRequest request)
Starts an asynchronous job to transcribe speech to text.
startTranscriptionJob in interface AmazonTranscribestartTranscriptionJobRequest - BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.InternalFailureException - There was an internal error. Check the error message and try your request again.ConflictException - When you are using the CreateVocabulary operation, the JobName field is a
duplicate of a previously entered job name. Resend your request with a different name.
When you are using the UpdateVocabulary operation, there are two jobs running at the same
time. Resend the second request later.
public UpdateVocabularyResult updateVocabulary(UpdateVocabularyRequest request)
Updates an existing vocabulary with new values. The UpdateVocabulary operation overwrites all of the
existing information with the values that you provide in the request.
updateVocabulary in interface AmazonTranscribeupdateVocabularyRequest - BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.InternalFailureException - There was an internal error. Check the error message and try your request again.NotFoundException - We can't find the requested resource. Check the name and try your request again.ConflictException - When you are using the CreateVocabulary operation, the JobName field is a
duplicate of a previously entered job name. Resend your request with a different name.
When you are using the UpdateVocabulary operation, there are two jobs running at the same
time. Resend the second request later.
public UpdateVocabularyFilterResult updateVocabularyFilter(UpdateVocabularyFilterRequest request)
Updates a vocabulary filter with a new list of filtered words.
updateVocabularyFilter in interface AmazonTranscribeupdateVocabularyFilterRequest - BadRequestException - Your request didn't pass one or more validation tests. For example, if the transcription you're trying to
delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the
exception Message field for more information.LimitExceededException - Either you have sent too many requests or your input file is too long. Wait before you resend your
request, or use a smaller file and resend the request.InternalFailureException - There was an internal error. Check the error message and try your request again.NotFoundException - We can't find the requested resource. Check the name and try your request again.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AmazonTranscriberequest - The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.