Class: Aws::Polly::Types::TextEvent

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of 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_configurationTypes::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

#textString

The text content to synthesize. If you specify ssml as the TextType, follow the SSML format for the input text.

Returns:

  • (String)


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_typeString

Specifies whether the input text is plain text or SSML. Default: plain text.

Returns:

  • (String)


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