@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface TranscribeStreamingAsyncClient extends SdkClient
builder() method.
Operations and objects for transcribing streaming speech to text.
| 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 CompletableFuture<Void> |
startMedicalStreamTranscription(Consumer<StartMedicalStreamTranscriptionRequest.Builder> startMedicalStreamTranscriptionRequest,
org.reactivestreams.Publisher<AudioStream> requestStream,
StartMedicalStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 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 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 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 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.static TranscribeStreamingAsyncClient create()
TranscribeStreamingAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static TranscribeStreamingAsyncClientBuilder builder()
TranscribeStreamingAsyncClient.default CompletableFuture<Void> startMedicalStreamTranscription(StartMedicalStreamTranscriptionRequest startMedicalStreamTranscriptionRequest, org.reactivestreams.Publisher<AudioStream> requestStream, StartMedicalStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 stream where audio is streamed to Amazon Transcribe Medical and the transcription results are streamed to your application.
startMedicalStreamTranscriptionRequest - StartStreamTranscription or
StartMedicalStreamTranscription operation was invalid. For example,
MediaEncoding was not set to a valid encoding, or LanguageCode was not set to a
valid code. Check the 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 stream where audio is streamed to Amazon Transcribe Medical and the transcription results are streamed to your application.
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 or
StartMedicalStreamTranscription operation was invalid. For example,
MediaEncoding was not set to a valid encoding, or LanguageCode was not set to a
valid code. Check the parameters and try your request again.default CompletableFuture<Void> startStreamTranscription(StartStreamTranscriptionRequest startStreamTranscriptionRequest, org.reactivestreams.Publisher<AudioStream> requestStream, StartStreamTranscriptionResponseHandler asyncResponseHandler)
Starts a bidirectional HTTP/2 stream where audio is streamed to Amazon Transcribe and the transcription results are streamed to your application.
The following are encoded as HTTP/2 headers:
x-amzn-transcribe-language-code
x-amzn-transcribe-media-encoding
x-amzn-transcribe-sample-rate
x-amzn-transcribe-session-id
See the SDK for Go API Reference for more detail.
startStreamTranscriptionRequest - StartStreamTranscription or
StartMedicalStreamTranscription operation was invalid. For example,
MediaEncoding was not set to a valid encoding, or LanguageCode was not set to a
valid code. Check the 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 stream where audio is streamed to Amazon Transcribe and the transcription results are streamed to your application.
The following are encoded as HTTP/2 headers:
x-amzn-transcribe-language-code
x-amzn-transcribe-media-encoding
x-amzn-transcribe-sample-rate
x-amzn-transcribe-session-id
See the SDK for Go API Reference for more detail.
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 or
StartMedicalStreamTranscription operation was invalid. For example,
MediaEncoding was not set to a valid encoding, or LanguageCode was not set to a
valid code. Check the parameters and try your request again.Copyright © 2022. All rights reserved.