@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonTranscribe
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonTranscribe
instead.
Operations and objects for transcribing speech to text.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateVocabularyResult |
createVocabulary(CreateVocabularyRequest createVocabularyRequest)
Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an
audio file.
|
DeleteTranscriptionJobResult |
deleteTranscriptionJob(DeleteTranscriptionJobRequest deleteTranscriptionJobRequest)
Deletes a previously submitted transcription job along with any other generated results such as the
transcription, models, and so on.
|
DeleteVocabularyResult |
deleteVocabulary(DeleteVocabularyRequest deleteVocabularyRequest)
Deletes a vocabulary from Amazon Transcribe.
|
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 getTranscriptionJobRequest)
Returns information about a transcription job.
|
GetVocabularyResult |
getVocabulary(GetVocabularyRequest getVocabularyRequest)
Gets information about a vocabulary.
|
ListTranscriptionJobsResult |
listTranscriptionJobs(ListTranscriptionJobsRequest listTranscriptionJobsRequest)
Lists transcription jobs with the specified status.
|
ListVocabulariesResult |
listVocabularies(ListVocabulariesRequest listVocabulariesRequest)
Returns a list of vocabularies that match the specified criteria.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartTranscriptionJobResult |
startTranscriptionJob(StartTranscriptionJobRequest startTranscriptionJobRequest)
Starts an asynchronous job to transcribe speech to text.
|
UpdateVocabularyResult |
updateVocabulary(UpdateVocabularyRequest updateVocabularyRequest)
Updates an existing vocabulary with new values.
|
static final String ENDPOINT_PREFIX
CreateVocabularyResult createVocabulary(CreateVocabularyRequest createVocabularyRequest)
Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file.
createVocabularyRequest
- 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 StartTranscriptionJob
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.
DeleteTranscriptionJobResult deleteTranscriptionJob(DeleteTranscriptionJobRequest deleteTranscriptionJobRequest)
Deletes a previously submitted transcription job along with any other generated results such as the transcription, models, and so on.
deleteTranscriptionJobRequest
- 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.DeleteVocabularyResult deleteVocabulary(DeleteVocabularyRequest deleteVocabularyRequest)
Deletes a vocabulary from Amazon Transcribe.
deleteVocabularyRequest
- 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.GetTranscriptionJobResult getTranscriptionJob(GetTranscriptionJobRequest getTranscriptionJobRequest)
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 TranscriptionFileUri
field.
getTranscriptionJobRequest
- 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.GetVocabularyResult getVocabulary(GetVocabularyRequest getVocabularyRequest)
Gets information about a vocabulary.
getVocabularyRequest
- 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.ListTranscriptionJobsResult listTranscriptionJobs(ListTranscriptionJobsRequest listTranscriptionJobsRequest)
Lists transcription jobs with the specified status.
listTranscriptionJobsRequest
- 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.ListVocabulariesResult listVocabularies(ListVocabulariesRequest listVocabulariesRequest)
Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.
listVocabulariesRequest
- 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.StartTranscriptionJobResult startTranscriptionJob(StartTranscriptionJobRequest startTranscriptionJobRequest)
Starts an asynchronous job to transcribe speech to text.
startTranscriptionJobRequest
- 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 StartTranscriptionJob
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.
UpdateVocabularyResult updateVocabulary(UpdateVocabularyRequest updateVocabularyRequest)
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.
updateVocabularyRequest
- 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 StartTranscriptionJob
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.
void shutdown()
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 a request.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.