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



657
658
659
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 657

def event_type
  @event_type
end

#metricsTypes::ConverseStreamMetrics

The metrics for the conversation stream metadata event.



657
658
659
660
661
662
663
664
665
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 657

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

#performance_configTypes::PerformanceConfiguration

Model performance configuration metadata for the conversation stream event.



657
658
659
660
661
662
663
664
665
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 657

class ConverseStreamMetadataEvent < Struct.new(
  :usage,
  :metrics,
  :trace,
  :performance_config,
  :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



657
658
659
660
661
662
663
664
665
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 657

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

#usageTypes::TokenUsage

Usage information for the conversation stream event.

Returns:



657
658
659
660
661
662
663
664
665
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 657

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