Class: Aws::BedrockAgentCore::Types::AgentTracesConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb

Overview

Note:

AgentTracesConfig is a union - when making an API calls you must set exactly one of the members.

Note:

AgentTracesConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AgentTracesConfig corresponding to the set member.

The configuration specifying where to read agent traces from for recommendation analysis.

Defined Under Namespace

Classes: BatchEvaluation, CloudwatchLogs, OnlineEvaluation, SessionSpans, Unknown

Constant Summary collapse

SENSITIVE =
[:session_spans]

Instance Attribute Summary collapse

Instance Attribute Details

#batch_evaluation ⇒ Types::BatchEvaluationTraceConfig

Use a completed batch evaluation as the source of agent traces.



267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 267

class AgentTracesConfig < Struct.new(
  :session_spans,
  :cloudwatch_logs,
  :batch_evaluation,
  :online_evaluation,
  :unknown)
  SENSITIVE = [:session_spans]
  include Aws::Structure
  include Aws::Structure::Union

  class SessionSpans < AgentTracesConfig; end
  class CloudwatchLogs < AgentTracesConfig; end
  class BatchEvaluation < AgentTracesConfig; end
  class OnlineEvaluation < AgentTracesConfig; end
  class Unknown < AgentTracesConfig; end
end

#cloudwatch_logs ⇒ Types::CloudWatchLogsTraceConfig

Agent traces read from CloudWatch Logs.



267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 267

class AgentTracesConfig < Struct.new(
  :session_spans,
  :cloudwatch_logs,
  :batch_evaluation,
  :online_evaluation,
  :unknown)
  SENSITIVE = [:session_spans]
  include Aws::Structure
  include Aws::Structure::Union

  class SessionSpans < AgentTracesConfig; end
  class CloudwatchLogs < AgentTracesConfig; end
  class BatchEvaluation < AgentTracesConfig; end
  class OnlineEvaluation < AgentTracesConfig; end
  class Unknown < AgentTracesConfig; end
end

#online_evaluation ⇒ Types::OnlineEvaluationTraceConfig

Agent traces from an online evaluation configuration over a specified time range.



267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 267

class AgentTracesConfig < Struct.new(
  :session_spans,
  :cloudwatch_logs,
  :batch_evaluation,
  :online_evaluation,
  :unknown)
  SENSITIVE = [:session_spans]
  include Aws::Structure
  include Aws::Structure::Union

  class SessionSpans < AgentTracesConfig; end
  class CloudwatchLogs < AgentTracesConfig; end
  class BatchEvaluation < AgentTracesConfig; end
  class OnlineEvaluation < AgentTracesConfig; end
  class Unknown < AgentTracesConfig; end
end

#session_spans ⇒ Array<Hash,Array,String,Numeric,Boolean>

Agent traces provided as inline session spans in OpenTelemetry format.

Returns:

  • (Array<Hash,Array,String,Numeric,Boolean>)


267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 267

class AgentTracesConfig < Struct.new(
  :session_spans,
  :cloudwatch_logs,
  :batch_evaluation,
  :online_evaluation,
  :unknown)
  SENSITIVE = [:session_spans]
  include Aws::Structure
  include Aws::Structure::Union

  class SessionSpans < AgentTracesConfig; end
  class CloudwatchLogs < AgentTracesConfig; end
  class BatchEvaluation < AgentTracesConfig; end
  class OnlineEvaluation < AgentTracesConfig; end
  class Unknown < AgentTracesConfig; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



267
268
269
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 267

def unknown
  @unknown
end