Class: Aws::CloudWatchOmni::Types::StartExperimentRunInput

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

Overview

Constant Summary collapse

SENSITIVE =
[:metadata, :description]

Instance Attribute Summary collapse

Instance Attribute Details

#client_token ⇒ String

Idempotency token for safe retries. Repeated requests with the same token return the original run instead of starting another.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9432

class StartExperimentRunInput < Struct.new(
  :experiment_id,
  :client_token,
  :rule,
  :evaluators,
  :target,
  :dataset,
  :control,
  :metadata,
  :description)
  SENSITIVE = [:metadata, :description]
  include Aws::Structure
end

#control ⇒ Types::ControlSource

An optional control to compare the run with. A target control starts a second run on the same dataset alongside this one, which uses a second AgentCore batch evaluation and counts toward the experiment's run quota. Required by rules that use vsControl or paired metrics (RULE_CONTROL_REQUIRED).



9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9432

class StartExperimentRunInput < Struct.new(
  :experiment_id,
  :client_token,
  :rule,
  :evaluators,
  :target,
  :dataset,
  :control,
  :metadata,
  :description)
  SENSITIVE = [:metadata, :description]
  include Aws::Structure
end

#dataset ⇒ Types::ExperimentRunDataset

The dataset to run, with source AGENTCORE, an id and a published version. Fails with FIELD_REQUIRED without a version, and the version cannot be DRAFT. Omit caseCount and contentHash.



9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9432

class StartExperimentRunInput < Struct.new(
  :experiment_id,
  :client_token,
  :rule,
  :evaluators,
  :target,
  :dataset,
  :control,
  :metadata,
  :description)
  SENSITIVE = [:metadata, :description]
  include Aws::Structure
end

#description ⇒ String

An optional description of the run, up to 1024 characters with no control characters. Cannot be changed after the run starts.

Returns:

  • (String)


9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9432

class StartExperimentRunInput < Struct.new(
  :experiment_id,
  :client_token,
  :rule,
  :evaluators,
  :target,
  :dataset,
  :control,
  :metadata,
  :description)
  SENSITIVE = [:metadata, :description]
  include Aws::Structure
end

#evaluators ⇒ Array<Types::ExperimentEvaluator>

The evaluators to score the run with, from 1 to 10 for a hosted run. The run's rule can reference only these evaluators.

Returns:



9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9432

class StartExperimentRunInput < Struct.new(
  :experiment_id,
  :client_token,
  :rule,
  :evaluators,
  :target,
  :dataset,
  :control,
  :metadata,
  :description)
  SENSITIVE = [:metadata, :description]
  include Aws::Structure
end

#experiment_id ⇒ String

The ID of the experiment to start the run in.

Returns:

  • (String)


9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9432

class StartExperimentRunInput < Struct.new(
  :experiment_id,
  :client_token,
  :rule,
  :evaluators,
  :target,
  :dataset,
  :control,
  :metadata,
  :description)
  SENSITIVE = [:metadata, :description]
  include Aws::Structure
end

#metadata ⇒ Hash<String,String>

Additional details about what the run tested, beyond the target and dataset versions.

Returns:

  • (Hash<String,String>)


9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9432

class StartExperimentRunInput < Struct.new(
  :experiment_id,
  :client_token,
  :rule,
  :evaluators,
  :target,
  :dataset,
  :control,
  :metadata,
  :description)
  SENSITIVE = [:metadata, :description]
  include Aws::Structure
end

#rule ⇒ Types::ExperimentRule

An optional rule. When present, the run gets a verdict when it ends.



9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9432

class StartExperimentRunInput < Struct.new(
  :experiment_id,
  :client_token,
  :rule,
  :evaluators,
  :target,
  :dataset,
  :control,
  :metadata,
  :description)
  SENSITIVE = [:metadata, :description]
  include Aws::Structure
end

#target ⇒ Types::TargetConfig

The version of the experiment's target to run. Hosted runs support only agentCoreRuntime.

Returns:



9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9432

class StartExperimentRunInput < Struct.new(
  :experiment_id,
  :client_token,
  :rule,
  :evaluators,
  :target,
  :dataset,
  :control,
  :metadata,
  :description)
  SENSITIVE = [:metadata, :description]
  include Aws::Structure
end