Class: Aws::CloudWatchOmni::Types::RunMetric

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

Overview

Note:

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

Note:

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

A metric that a gate measures over the run's cases.

Defined Under Namespace

Classes: EvaluatorAverage, FixedCases, NotScoredRate, PassRate, RegressedCases, RegressedScores, Unknown, UnpairedCaseRate

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#evaluator_average ⇒ Types::EvaluatorRef

The average score of a numeric evaluator. Higher is better, so the gate takes min, unless the evaluator's scoreDirection is LOWER_IS_BETTER, when it takes max.

Returns:



8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291

class RunMetric < Struct.new(
  :pass_rate,
  :not_scored_rate,
  :evaluator_average,
  :regressed_cases,
  :fixed_cases,
  :regressed_scores,
  :unpaired_case_rate,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PassRate < RunMetric; end
  class NotScoredRate < RunMetric; end
  class EvaluatorAverage < RunMetric; end
  class RegressedCases < RunMetric; end
  class FixedCases < RunMetric; end
  class RegressedScores < RunMetric; end
  class UnpairedCaseRate < RunMetric; end
  class Unknown < RunMetric; end
end

#fixed_cases ⇒ Types::Unit

The cases that fail on the control and pass on the target, of the cases both runs have, each judged on both sides by the rule's criteria on the evaluators both runs have. Higher is better. Requires a control (RULE_CONTROL_REQUIRED).

Returns:

  • (Types::Unit)


8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291

class RunMetric < Struct.new(
  :pass_rate,
  :not_scored_rate,
  :evaluator_average,
  :regressed_cases,
  :fixed_cases,
  :regressed_scores,
  :unpaired_case_rate,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PassRate < RunMetric; end
  class NotScoredRate < RunMetric; end
  class EvaluatorAverage < RunMetric; end
  class RegressedCases < RunMetric; end
  class FixedCases < RunMetric; end
  class RegressedScores < RunMetric; end
  class UnpairedCaseRate < RunMetric; end
  class Unknown < RunMetric; end
end

#not_scored_rate ⇒ Types::Unit

The share of cases with no score. Lower is better. When no min or max gate names this metric, a max of 0.05 applies; a vsControl gate on it does not replace that default.

Returns:

  • (Types::Unit)


8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291

class RunMetric < Struct.new(
  :pass_rate,
  :not_scored_rate,
  :evaluator_average,
  :regressed_cases,
  :fixed_cases,
  :regressed_scores,
  :unpaired_case_rate,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PassRate < RunMetric; end
  class NotScoredRate < RunMetric; end
  class EvaluatorAverage < RunMetric; end
  class RegressedCases < RunMetric; end
  class FixedCases < RunMetric; end
  class RegressedScores < RunMetric; end
  class UnpairedCaseRate < RunMetric; end
  class Unknown < RunMetric; end
end

#pass_rate ⇒ Types::Unit

The share of cases that pass. Higher is better.

Returns:

  • (Types::Unit)


8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291

class RunMetric < Struct.new(
  :pass_rate,
  :not_scored_rate,
  :evaluator_average,
  :regressed_cases,
  :fixed_cases,
  :regressed_scores,
  :unpaired_case_rate,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PassRate < RunMetric; end
  class NotScoredRate < RunMetric; end
  class EvaluatorAverage < RunMetric; end
  class RegressedCases < RunMetric; end
  class FixedCases < RunMetric; end
  class RegressedScores < RunMetric; end
  class UnpairedCaseRate < RunMetric; end
  class Unknown < RunMetric; end
end

#regressed_cases ⇒ Types::Unit

The cases that pass on the control and fail on the target, of the cases both runs have, each judged on both sides by the rule's criteria on the evaluators both runs have. Lower is better. Requires a control (RULE_CONTROL_REQUIRED).

Returns:

  • (Types::Unit)


8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291

class RunMetric < Struct.new(
  :pass_rate,
  :not_scored_rate,
  :evaluator_average,
  :regressed_cases,
  :fixed_cases,
  :regressed_scores,
  :unpaired_case_rate,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PassRate < RunMetric; end
  class NotScoredRate < RunMetric; end
  class EvaluatorAverage < RunMetric; end
  class RegressedCases < RunMetric; end
  class FixedCases < RunMetric; end
  class RegressedScores < RunMetric; end
  class UnpairedCaseRate < RunMetric; end
  class Unknown < RunMetric; end
end

#regressed_scores ⇒ Types::Unit

Fails the run when, for any case that both runs scored, on any evaluator that both runs have, the target scored worse than the control: lower, or higher for an evaluator whose scoreDirection is LOWER_IS_BETTER on the target run. Requires a control (RULE_CONTROL_REQUIRED). Takes no bound.

Returns:

  • (Types::Unit)


8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291

class RunMetric < Struct.new(
  :pass_rate,
  :not_scored_rate,
  :evaluator_average,
  :regressed_cases,
  :fixed_cases,
  :regressed_scores,
  :unpaired_case_rate,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PassRate < RunMetric; end
  class NotScoredRate < RunMetric; end
  class EvaluatorAverage < RunMetric; end
  class RegressedCases < RunMetric; end
  class FixedCases < RunMetric; end
  class RegressedScores < RunMetric; end
  class UnpairedCaseRate < RunMetric; end
  class Unknown < RunMetric; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



8291
8292
8293
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291

def unknown
  @unknown
end

#unpaired_case_rate ⇒ Types::Unit

The share of cases that are not judged on both the target and the control. Lower is better. Requires a control (RULE_CONTROL_REQUIRED). Checked only when the rule has a gate on it: comparing with a control adds no gate.

Returns:

  • (Types::Unit)


8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 8291

class RunMetric < Struct.new(
  :pass_rate,
  :not_scored_rate,
  :evaluator_average,
  :regressed_cases,
  :fixed_cases,
  :regressed_scores,
  :unpaired_case_rate,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PassRate < RunMetric; end
  class NotScoredRate < RunMetric; end
  class EvaluatorAverage < RunMetric; end
  class RegressedCases < RunMetric; end
  class FixedCases < RunMetric; end
  class RegressedScores < RunMetric; end
  class UnpairedCaseRate < RunMetric; end
  class Unknown < RunMetric; end
end