Class: Aws::BedrockRuntime::Types::ConverseStreamMetadataEvent

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

Overview

A conversation stream metadata event.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



507
508
509
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 507

def event_type
  @event_type
end

#metricsTypes::ConverseStreamMetrics

The metrics for the conversation stream metadata event.



507
508
509
510
511
512
513
514
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 507

class ConverseStreamMetadataEvent < Struct.new(
  :usage,
  :metrics,
  :trace,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#traceTypes::ConverseStreamTrace

The trace object in the response from [ConverseStream] that contains information about the guardrail behavior.

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



507
508
509
510
511
512
513
514
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 507

class ConverseStreamMetadataEvent < Struct.new(
  :usage,
  :metrics,
  :trace,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#usageTypes::TokenUsage

Usage information for the conversation stream event.

Returns:



507
508
509
510
511
512
513
514
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 507

class ConverseStreamMetadataEvent < Struct.new(
  :usage,
  :metrics,
  :trace,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end