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



490
491
492
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 490

def event_type
  @event_type
end

#metricsTypes::ConverseStreamMetrics

The metrics for the conversation stream metadata event.



490
491
492
493
494
495
496
497
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 490

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



490
491
492
493
494
495
496
497
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 490

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

#usageTypes::TokenUsage

Usage information for the conversation stream event.

Returns:



490
491
492
493
494
495
496
497
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 490

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