Class: Aws::CloudWatchEvidently::Types::MetricDefinition

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

Overview

This structure defines a metric that is being used to evaluate the variations during a launch or experiment.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#entity_id_keyString

The entity, such as a user or session, that does an action that causes a metric value to be recorded.

Returns:

  • (String)


1996
1997
1998
1999
2000
2001
2002
2003
2004
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 1996

class MetricDefinition < Struct.new(
  :entity_id_key,
  :event_pattern,
  :name,
  :unit_label,
  :value_key)
  SENSITIVE = []
  include Aws::Structure
end

#event_patternString

The EventBridge event pattern that defines how the metric is recorded.

For more information about EventBridge event patterns, see Amazon EventBridge event patterns.

Returns:

  • (String)


1996
1997
1998
1999
2000
2001
2002
2003
2004
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 1996

class MetricDefinition < Struct.new(
  :entity_id_key,
  :event_pattern,
  :name,
  :unit_label,
  :value_key)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the metric.

Returns:

  • (String)


1996
1997
1998
1999
2000
2001
2002
2003
2004
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 1996

class MetricDefinition < Struct.new(
  :entity_id_key,
  :event_pattern,
  :name,
  :unit_label,
  :value_key)
  SENSITIVE = []
  include Aws::Structure
end

#unit_labelString

The label for the units that the metric is measuring.

Returns:

  • (String)


1996
1997
1998
1999
2000
2001
2002
2003
2004
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 1996

class MetricDefinition < Struct.new(
  :entity_id_key,
  :event_pattern,
  :name,
  :unit_label,
  :value_key)
  SENSITIVE = []
  include Aws::Structure
end

#value_keyString

The value that is tracked to produce the metric.

Returns:

  • (String)


1996
1997
1998
1999
2000
2001
2002
2003
2004
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 1996

class MetricDefinition < Struct.new(
  :entity_id_key,
  :event_pattern,
  :name,
  :unit_label,
  :value_key)
  SENSITIVE = []
  include Aws::Structure
end