Class: Aws::BedrockRuntime::Types::ResponseStream

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

Overview

Definition of content in the response 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



2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2332

def event_types
  [
    :chunk,
    :internal_server_exception,
    :model_stream_error_exception,
    :validation_exception,
    :throttling_exception,
    :model_timeout_exception,
    :service_unavailable_exception
  ]
end