@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface TranscribeStreamingAsyncClient extends AwsClient
builder() method.
Amazon Transcribe streaming offers three main types of real-time transcription: Standard, Medical, and Call Analytics.
Standard transcriptions are the most common option. Refer to for details.
Medical transcriptions are tailored to medical professionals and incorporate medical terms. A common use case for this service is transcribing doctor-patient dialogue in real time, so doctors can focus on their patient instead of taking notes. Refer to for details.
Call Analytics transcriptions are designed for use with call center audio on two different channels; if you're looking for insight into customer service calls, use this option. Refer to for details.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static TranscribeStreamingAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
TranscribeStreamingAsyncClient. |
static TranscribeStreamingAsyncClient |
create()
Create a
TranscribeStreamingAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default TranscribeStreamingServiceClientConfiguration |
serviceClientConfiguration() |
default CompletableFuture<Void> |
startCallAnalyticsStreamTranscription(Consumer<StartCallAnalyticsStreamTranscriptionRequest.Builder> startCallAnalyticsStreamTranscriptionRequest,
org.reactivestreams.Publisher<AudioStream> requestStream,
StartCallAnalyticsStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe and the
transcription results are streamed to your application.
|
default CompletableFuture<Void> |
startCallAnalyticsStreamTranscription(StartCallAnalyticsStreamTranscriptionRequest startCallAnalyticsStreamTranscriptionRequest,
org.reactivestreams.Publisher<AudioStream> requestStream,
StartCallAnalyticsStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe and the
transcription results are streamed to your application.
|
default CompletableFuture<Void> |
startMedicalStreamTranscription(Consumer<StartMedicalStreamTranscriptionRequest.Builder> startMedicalStreamTranscriptionRequest,
org.reactivestreams.Publisher<AudioStream> requestStream,
StartMedicalStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe Medical and the
transcription results are streamed to your application.
|
default CompletableFuture<Void> |
startMedicalStreamTranscription(StartMedicalStreamTranscriptionRequest startMedicalStreamTranscriptionRequest,
org.reactivestreams.Publisher<AudioStream> requestStream,
StartMedicalStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe Medical and the
transcription results are streamed to your application.
|
default CompletableFuture<Void> |
startStreamTranscription(Consumer<StartStreamTranscriptionRequest.Builder> startStreamTranscriptionRequest,
org.reactivestreams.Publisher<AudioStream> requestStream,
StartStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe and the
transcription results are streamed to your application.
|
default CompletableFuture<Void> |
startStreamTranscription(StartStreamTranscriptionRequest startStreamTranscriptionRequest,
org.reactivestreams.Publisher<AudioStream> requestStream,
StartStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe and the
transcription results are streamed to your application.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<Void> startCallAnalyticsStreamTranscription(StartCallAnalyticsStreamTranscriptionRequest startCallAnalyticsStreamTranscriptionRequest, org.reactivestreams.Publisher<AudioStream> requestStream, StartCallAnalyticsStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe and the transcription results are streamed to your application. Use this operation for Call Analytics transcriptions.
The following parameters are required:
language-code
media-encoding
sample-rate
For more information on streaming with Amazon Transcribe, see Transcribing streaming audio.
startCallAnalyticsStreamTranscriptionRequest - StartStreamTranscription,
StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription
operation was not valid. For example, MediaEncoding or LanguageCode used not
valid values. Check the specified parameters and try your request again.default CompletableFuture<Void> startCallAnalyticsStreamTranscription(Consumer<StartCallAnalyticsStreamTranscriptionRequest.Builder> startCallAnalyticsStreamTranscriptionRequest, org.reactivestreams.Publisher<AudioStream> requestStream, StartCallAnalyticsStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe and the transcription results are streamed to your application. Use this operation for Call Analytics transcriptions.
The following parameters are required:
language-code
media-encoding
sample-rate
For more information on streaming with Amazon Transcribe, see Transcribing streaming audio.
This is a convenience which creates an instance of the
StartCallAnalyticsStreamTranscriptionRequest.Builder avoiding the need to create one manually via
StartCallAnalyticsStreamTranscriptionRequest.builder()
startCallAnalyticsStreamTranscriptionRequest - A Consumer that will call methods on
StartCallAnalyticsStreamTranscriptionRequest.Builder
to create a request.StartStreamTranscription,
StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription
operation was not valid. For example, MediaEncoding or LanguageCode used not
valid values. Check the specified parameters and try your request again.default CompletableFuture<Void> startMedicalStreamTranscription(StartMedicalStreamTranscriptionRequest startMedicalStreamTranscriptionRequest, org.reactivestreams.Publisher<AudioStream> requestStream, StartMedicalStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe Medical and the transcription results are streamed to your application.
The following parameters are required:
language-code
media-encoding
sample-rate
For more information on streaming with Amazon Transcribe Medical, see Transcribing streaming audio.
startMedicalStreamTranscriptionRequest - StartStreamTranscription,
StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription
operation was not valid. For example, MediaEncoding or LanguageCode used not
valid values. Check the specified parameters and try your request again.default CompletableFuture<Void> startMedicalStreamTranscription(Consumer<StartMedicalStreamTranscriptionRequest.Builder> startMedicalStreamTranscriptionRequest, org.reactivestreams.Publisher<AudioStream> requestStream, StartMedicalStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe Medical and the transcription results are streamed to your application.
The following parameters are required:
language-code
media-encoding
sample-rate
For more information on streaming with Amazon Transcribe Medical, see Transcribing streaming audio.
This is a convenience which creates an instance of the StartMedicalStreamTranscriptionRequest.Builder
avoiding the need to create one manually via StartMedicalStreamTranscriptionRequest.builder()
startMedicalStreamTranscriptionRequest - A Consumer that will call methods on
StartMedicalStreamTranscriptionRequest.Builder
to create a request.StartStreamTranscription,
StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription
operation was not valid. For example, MediaEncoding or LanguageCode used not
valid values. Check the specified parameters and try your request again.default CompletableFuture<Void> startStreamTranscription(StartStreamTranscriptionRequest startStreamTranscriptionRequest, org.reactivestreams.Publisher<AudioStream> requestStream, StartStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe and the transcription results are streamed to your application.
The following parameters are required:
language-code or identify-language
media-encoding
sample-rate
For more information on streaming with Amazon Transcribe, see Transcribing streaming audio.
startStreamTranscriptionRequest - StartStreamTranscription,
StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription
operation was not valid. For example, MediaEncoding or LanguageCode used not
valid values. Check the specified parameters and try your request again.default CompletableFuture<Void> startStreamTranscription(Consumer<StartStreamTranscriptionRequest.Builder> startStreamTranscriptionRequest, org.reactivestreams.Publisher<AudioStream> requestStream, StartStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe and the transcription results are streamed to your application.
The following parameters are required:
language-code or identify-language
media-encoding
sample-rate
For more information on streaming with Amazon Transcribe, see Transcribing streaming audio.
This is a convenience which creates an instance of the StartStreamTranscriptionRequest.Builder avoiding
the need to create one manually via StartStreamTranscriptionRequest.builder()
startStreamTranscriptionRequest - A Consumer that will call methods on
StartStreamTranscriptionRequest.Builder
to create a request.StartStreamTranscription,
StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription
operation was not valid. For example, MediaEncoding or LanguageCode used not
valid values. Check the specified parameters and try your request again.default TranscribeStreamingServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic TranscribeStreamingAsyncClient create()
TranscribeStreamingAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static TranscribeStreamingAsyncClientBuilder builder()
TranscribeStreamingAsyncClient.Copyright © 2023. All rights reserved.