You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::TranscribeStreamingService::Types::StartStreamTranscriptionResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

The language code for the input audio stream.

Returns:

  • (String)


270
271
272
273
274
275
276
277
278
279
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 270

class StartStreamTranscriptionResponse < Struct.new(
  :request_id,
  :language_code,
  :media_sample_rate_hertz,
  :media_encoding,
  :vocabulary_name,
  :session_id,
  :transcript_result_stream)
  include Aws::Structure
end

#media_encodingString

The encoding used for the input audio stream.

Returns:

  • (String)


270
271
272
273
274
275
276
277
278
279
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 270

class StartStreamTranscriptionResponse < Struct.new(
  :request_id,
  :language_code,
  :media_sample_rate_hertz,
  :media_encoding,
  :vocabulary_name,
  :session_id,
  :transcript_result_stream)
  include Aws::Structure
end

#media_sample_rate_hertzInteger

The sample rate for the input audio stream. Use 8000 Hz for low quality audio and 16000 Hz for high quality audio.

Returns:

  • (Integer)


270
271
272
273
274
275
276
277
278
279
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 270

class StartStreamTranscriptionResponse < Struct.new(
  :request_id,
  :language_code,
  :media_sample_rate_hertz,
  :media_encoding,
  :vocabulary_name,
  :session_id,
  :transcript_result_stream)
  include Aws::Structure
end

#request_idString

An identifier for the streaming transcription.

Returns:

  • (String)


270
271
272
273
274
275
276
277
278
279
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 270

class StartStreamTranscriptionResponse < Struct.new(
  :request_id,
  :language_code,
  :media_sample_rate_hertz,
  :media_encoding,
  :vocabulary_name,
  :session_id,
  :transcript_result_stream)
  include Aws::Structure
end

#session_idString

An identifier for a specific transcription session.

Returns:

  • (String)


270
271
272
273
274
275
276
277
278
279
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 270

class StartStreamTranscriptionResponse < Struct.new(
  :request_id,
  :language_code,
  :media_sample_rate_hertz,
  :media_encoding,
  :vocabulary_name,
  :session_id,
  :transcript_result_stream)
  include Aws::Structure
end

#transcript_result_streamTypes::TranscriptResultStream

Represents the stream of transcription events from Amazon Transcribe to your application.



270
271
272
273
274
275
276
277
278
279
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 270

class StartStreamTranscriptionResponse < Struct.new(
  :request_id,
  :language_code,
  :media_sample_rate_hertz,
  :media_encoding,
  :vocabulary_name,
  :session_id,
  :transcript_result_stream)
  include Aws::Structure
end

#vocabulary_nameString

The name of the vocabulary used when processing the job.

Returns:

  • (String)


270
271
272
273
274
275
276
277
278
279
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 270

class StartStreamTranscriptionResponse < Struct.new(
  :request_id,
  :language_code,
  :media_sample_rate_hertz,
  :media_encoding,
  :vocabulary_name,
  :session_id,
  :transcript_result_stream)
  include Aws::Structure
end