Class: Aws::Polly::Types::TextEvent
- Inherits:
-
Struct
- Object
- Struct
- Aws::Polly::Types::TextEvent
- Defined in:
- gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb
Overview
Contains text content to be synthesized into speech.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#event_type ⇒ Object
Returns the value of attribute event_type.
-
#flush_stream_configuration ⇒ Types::FlushStreamConfiguration
Configuration for controlling when synthesized audio flushes to the output stream.
-
#text ⇒ String
The text content to synthesize.
-
#text_type ⇒ String
Specifies whether the input text is plain text or SSML.
Instance Attribute Details
#event_type ⇒ Object
Returns the value of attribute event_type
1162 1163 1164 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1162 def event_type @event_type end |
#flush_stream_configuration ⇒ Types::FlushStreamConfiguration
Configuration for controlling when synthesized audio flushes to the output stream.
1162 1163 1164 1165 1166 1167 1168 1169 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1162 class TextEvent < Struct.new( :text, :text_type, :flush_stream_configuration, :event_type) SENSITIVE = [] include Aws::Structure end |
#text ⇒ String
The text content to synthesize. If you specify ssml as the
TextType, follow the SSML format for the input text.
1162 1163 1164 1165 1166 1167 1168 1169 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1162 class TextEvent < Struct.new( :text, :text_type, :flush_stream_configuration, :event_type) SENSITIVE = [] include Aws::Structure end |
#text_type ⇒ String
Specifies whether the input text is plain text or SSML. Default: plain text.
1162 1163 1164 1165 1166 1167 1168 1169 |
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1162 class TextEvent < Struct.new( :text, :text_type, :flush_stream_configuration, :event_type) SENSITIVE = [] include Aws::Structure end |