Class: Aws::BedrockRuntime::Types::ConverseStreamTrace

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

Overview

The trace object in a response from [ConverseStream]. Currently, you can only trace guardrails.

[1]: docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#guardrailTypes::GuardrailTraceAssessment

The guardrail trace object.



852
853
854
855
856
857
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 852

class ConverseStreamTrace < Struct.new(
  :guardrail,
  :prompt_router)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_routerTypes::PromptRouterTrace

The request’s prompt router.



852
853
854
855
856
857
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 852

class ConverseStreamTrace < Struct.new(
  :guardrail,
  :prompt_router)
  SENSITIVE = []
  include Aws::Structure
end