Class: Aws::Polly::Types::StartSpeechSynthesisStreamInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Polly::Types::StartSpeechSynthesisStreamInput
- Defined in:
- gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action_stream ⇒ Types::StartSpeechSynthesisStreamActionStream
The input event stream that contains text events and stream control events.
-
#engine ⇒ String
Specifies the engine for Amazon Polly to use when processing input text for speech synthesis.
-
#language_code ⇒ String
An optional parameter that sets the language code for the speech synthesis request.
-
#lexicon_names ⇒ Array<String>
The names of one or more pronunciation lexicons for the service to apply during synthesis.
-
#output_format ⇒ String
The audio format for the synthesized speech.
-
#sample_rate ⇒ String
The audio frequency, specified in Hz.
-
#voice_id ⇒ String
The voice to use in synthesis.
Instance Attribute Details
#action_stream ⇒ Types::StartSpeechSynthesisStreamActionStream
The input event stream that contains text events and stream control events.
694 695 696 697 698 699 700 701 702 703 704 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 694 class StartSpeechSynthesisStreamInput < Struct.new( :engine, :language_code, :lexicon_names, :output_format, :sample_rate, :voice_id, :action_stream) SENSITIVE = [] include Aws::Structure end |
#engine ⇒ String
Specifies the engine for Amazon Polly to use when processing input
text for speech synthesis. Currently, only the generative engine
is supported. If you specify a voice that the selected engine
doesn't support, Amazon Polly returns an error.
694 695 696 697 698 699 700 701 702 703 704 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 694 class StartSpeechSynthesisStreamInput < Struct.new( :engine, :language_code, :lexicon_names, :output_format, :sample_rate, :voice_id, :action_stream) SENSITIVE = [] include Aws::Structure end |
#language_code ⇒ String
An optional parameter that sets the language code for the speech synthesis request. Specify this parameter only when using a bilingual voice. If a bilingual voice is used and no language code is specified, Amazon Polly uses the default language of the bilingual voice.
694 695 696 697 698 699 700 701 702 703 704 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 694 class StartSpeechSynthesisStreamInput < Struct.new( :engine, :language_code, :lexicon_names, :output_format, :sample_rate, :voice_id, :action_stream) SENSITIVE = [] include Aws::Structure end |
#lexicon_names ⇒ Array<String>
The names of one or more pronunciation lexicons for the service to apply during synthesis. Amazon Polly applies lexicons only when the lexicon language matches the voice language.
694 695 696 697 698 699 700 701 702 703 704 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 694 class StartSpeechSynthesisStreamInput < Struct.new( :engine, :language_code, :lexicon_names, :output_format, :sample_rate, :voice_id, :action_stream) SENSITIVE = [] include Aws::Structure end |
#output_format ⇒ String
The audio format for the synthesized speech. Currently, Amazon Polly does not support JSON speech marks.
694 695 696 697 698 699 700 701 702 703 704 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 694 class StartSpeechSynthesisStreamInput < Struct.new( :engine, :language_code, :lexicon_names, :output_format, :sample_rate, :voice_id, :action_stream) SENSITIVE = [] include Aws::Structure end |
#sample_rate ⇒ String
The audio frequency, specified in Hz.
694 695 696 697 698 699 700 701 702 703 704 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 694 class StartSpeechSynthesisStreamInput < Struct.new( :engine, :language_code, :lexicon_names, :output_format, :sample_rate, :voice_id, :action_stream) SENSITIVE = [] include Aws::Structure end |
#voice_id ⇒ String
The voice to use in synthesis. To get a list of available voice IDs, use the DescribeVoices operation.
694 695 696 697 698 699 700 701 702 703 704 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 694 class StartSpeechSynthesisStreamInput < Struct.new( :engine, :language_code, :lexicon_names, :output_format, :sample_rate, :voice_id, :action_stream) SENSITIVE = [] include Aws::Structure end |