Class: Aws::CloudWatchOmni::Types::ControlSource
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchOmni::Types::ControlSource
- Defined in:
- gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb
Overview
ControlSource is a union - when making an API calls you must set exactly one of the members.
ControlSource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ControlSource corresponding to the set member.
What a run is compared against. Specify exactly one.
Defined Under Namespace
Classes: LatestPassed, RunId, Target, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#latest_passed ⇒ Types::LatestPassedFilter
Uses the newest earlier run of this experiment with verdict PASSED that matches this run: the same dataset at the same dataset version (a run with no version matches only a run with no version), and the same set of evaluator IDs, in any order.
-
#run_id ⇒ String
The ID of an earlier run of this experiment.
-
#target ⇒ Types::TargetConfig
A version of the experiment's target to run alongside the run as a live control.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#latest_passed ⇒ Types::LatestPassedFilter
Uses the newest earlier run of this experiment with verdict PASSED that matches this run: the same dataset at the same dataset version (a run with no version matches only a run with no version), and the same set of evaluator IDs, in any order. Resolved when the run starts, with the endpointArn filter when given. Fails with CONTROL_RUN_NOT_FOUND if there is none.
1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 1251 class ControlSource < Struct.new( :target, :run_id, :latest_passed, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Target < ControlSource; end class RunId < ControlSource; end class LatestPassed < ControlSource; end class Unknown < ControlSource; end end |
#run_id ⇒ String
The ID of an earlier run of this experiment. The run must be COMPLETED, must not be a CONTROL run, and must match this run: the same dataset at the same dataset version (a run with no version matches only a run with no version), and the same set of evaluator IDs, in any order. Fails with CONTROL_RUN_INVALID otherwise, naming what differs: the dataset version expected and found, or the evaluators the control is missing or has in extra.
1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 1251 class ControlSource < Struct.new( :target, :run_id, :latest_passed, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Target < ControlSource; end class RunId < ControlSource; end class LatestPassed < ControlSource; end class Unknown < ControlSource; end end |
#target ⇒ Types::TargetConfig
A version of the experiment's target to run alongside the run as a live control. Hosted runs only. Must be the same kind as the experiment's target (TARGET_MISMATCH); not supported on reported runs (CONTROL_TARGET_UNSUPPORTED).
1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 1251 class ControlSource < Struct.new( :target, :run_id, :latest_passed, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Target < ControlSource; end class RunId < ControlSource; end class LatestPassed < ControlSource; end class Unknown < ControlSource; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1251 1252 1253 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 1251 def unknown @unknown end |