Skip to content

DatasetExperimentConfig

Source code in docs_src/capo_cloudwatchomni/types/dataset_experiment_config.py
class DatasetExperimentConfig(TypedDict, closed=True):
    execution_role_arn: "capo_cloudwatchomni.types.execution_role_arn.ExecutionRoleArn"
    """The ARN of the IAM role that the service assumes to perform hosted runs and write run records."""
    results_log_group: "capo_cloudwatchomni.types.log_group_name.LogGroupName"
    """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."""
    trace_log_groups: NotRequired[
        "capo_cloudwatchomni.types.trace_log_group_list.TraceLogGroupList"
    ]
    """The log groups that contain the target's spans, if they are not in aws/spans. 1 to 10 log groups."""
    collect_trace_stats: NotRequired["bool"]
    """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."""

collect_trace_stats instance-attribute

collect_trace_stats: NotRequired[bool]

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.

execution_role_arn instance-attribute

execution_role_arn: ExecutionRoleArn

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

results_log_group instance-attribute

results_log_group: LogGroupName

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.

trace_log_groups instance-attribute

trace_log_groups: NotRequired[TraceLogGroupList]

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