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



2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2496

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