Class: Aws::BedrockRuntime::Types::ConverseStreamOutput

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

Overview

The messages output stream

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



4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 4869

def event_types
  [
    :message_start,
    :content_block_start,
    :content_block_delta,
    :content_block_stop,
    :message_stop,
    :metadata,
    :internal_server_exception,
    :model_stream_error_exception,
    :validation_exception,
    :throttling_exception,
    :service_unavailable_exception
  ]
end