Class: Aws::CloudWatchOmni::Types::DatasetExperimentConfig

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

Overview

Configuration for a DATASET experiment, whose runs test the target against a dataset's cases. Each run specifies the dataset it tests.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#collect_trace_stats ⇒ Boolean

Whether to collect statistics from the agent's spans after each run ends. When true, the service collects them for the run's cases (models, tools, calls, tokens, latency, and failures) and includes them on the run as traceStats. When absent or false, runs have no trace stats.

When true, the execution role needs telemetry query permissions, and the queries are billed to the caller's account. The service verifies the role's access when this is set: the call fails with TRACE_STATS_ACCESS_DENIED if access is denied, with TRACE_STATS_CHECK_FAILED if the check fails for another reason, and with TRACE_STATS_UNAVAILABLE where trace stats are not yet available.

Returns:

  • (Boolean)


2292
2293
2294
2295
2296
2297
2298
2299
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 2292

class DatasetExperimentConfig < Struct.new(
  :execution_role_arn,
  :results_log_group,
  :trace_log_groups,
  :collect_trace_stats)
  SENSITIVE = []
  include Aws::Structure
end

#execution_role_arn ⇒ String

The ARN of the IAM role that the service assumes to perform hosted runs and write run records.

Returns:

  • (String)


2292
2293
2294
2295
2296
2297
2298
2299
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 2292

class DatasetExperimentConfig < Struct.new(
  :execution_role_arn,
  :results_log_group,
  :trace_log_groups,
  :collect_trace_stats)
  SENSITIVE = []
  include Aws::Structure
end

#results_log_group ⇒ String

The name of a Standard-class log group in the caller's account for run results. Each run writes to its own log stream in it.

Returns:

  • (String)


2292
2293
2294
2295
2296
2297
2298
2299
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 2292

class DatasetExperimentConfig < Struct.new(
  :execution_role_arn,
  :results_log_group,
  :trace_log_groups,
  :collect_trace_stats)
  SENSITIVE = []
  include Aws::Structure
end

#trace_log_groups ⇒ Array<String>

The log groups that contain the target's spans, if they are not in aws/spans. 1 to 10 log groups.

Returns:

  • (Array<String>)


2292
2293
2294
2295
2296
2297
2298
2299
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 2292

class DatasetExperimentConfig < Struct.new(
  :execution_role_arn,
  :results_log_group,
  :trace_log_groups,
  :collect_trace_stats)
  SENSITIVE = []
  include Aws::Structure
end