Class: Aws::BedrockAgentRuntime::Types::ResponseStream

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

Overview

The response from invoking the agent and associated citations and trace information.

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



9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 9146

def event_types
  [
    :chunk,
    :trace,
    :return_control,
    :internal_server_exception,
    :validation_exception,
    :resource_not_found_exception,
    :service_quota_exceeded_exception,
    :throttling_exception,
    :access_denied_exception,
    :conflict_exception,
    :dependency_failed_exception,
    :bad_gateway_exception,
    :model_not_ready_exception,
    :files
  ]
end