Class: Aws::Polly::Types::StartSpeechSynthesisStreamEventStream

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

Overview

Outbound event stream that contains synthesized audio data and stream status events.

EventStream is an Enumerator of Events. #event_types #=> Array, returns all modeled event types in the stream

Instance Method Summary collapse

Instance Method Details

#event_typesObject



1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 1385

def event_types
  [
    :audio_event,
    :stream_closed_event,
    :validation_exception,
    :service_quota_exceeded_exception,
    :service_failure_exception,
    :throttling_exception
  ]
end