Class: Aws::Connect::Types::MetricDefinition

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

Overview

Contains the full definition of a metric, including its calculation, unit, status, and trend indicator.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The Amazon Resource Name (ARN) of the metric. May be qualified with $SAVED or $LATEST.

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#category ⇒ String

The category of the metric.

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#created_time ⇒ Time

The timestamp of when the metric was created.

Returns:

  • (Time)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#created_user ⇒ Types::CreatedByInfo

The user that created the metric. The creator for metrics created through the CreateMetric API will be Amazon Connect API.



26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#creation_method ⇒ String

The method used to create the metric. Valid values: SERVICE_LEVEL_BUILDER (created with the guided service-level experience) | METRIC_BUILDER (created with the free-form metric builder).

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#default_stat ⇒ String

The default stat aggregation for the metric.

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

The description of the metric.

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#effective_time ⇒ Time

The earliest time that can be queried for this metric.

Returns:

  • (Time)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#filters ⇒ Array<Types::AvailableFilter>

The filters applied to the metric.

Returns:



26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#groupings ⇒ Array<String>

The groupings available for this metric.

Returns:

  • (Array<String>)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#id ⇒ String

The identifier of the metric.

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_region ⇒ String

The region where the metric was last modified.

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_time ⇒ Time

The timestamp of when the metric was last modified.

Returns:

  • (Time)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_user ⇒ Types::CreatedByInfo

The user that last modified the metric. For modifications made through the API, this will be Amazon Connect API.



26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#metric_calculation ⇒ Types::MetricCalculation

The calculation definition for the metric.



26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the metric.

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#positive_trend_indicator ⇒ String

How an increase in the metric value should be interpreted. Valid values: POSITIVE, NEUTRAL, NEGATIVE.

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#primary_event_source ⇒ String

The primary event source for the metric data.

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#primary_event_source_effective_timestamp_type ⇒ String

The timestamp type that determines where the metric appears on a time series.

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#refresh_rate ⇒ Integer

The minimum interval, in seconds, between data refreshes for this metric.

Returns:

  • (Integer)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The publish status of the metric. Valid values: PUBLISHED | SAVED.

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#supported_stats ⇒ Array<String>

The stat aggregations available for this metric.

Returns:

  • (Array<String>)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#supports_custom_calculation ⇒ Boolean

Specifies whether the metric can be used as a component of custom metrics.

Returns:

  • (Boolean)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#supports_preaggregate_calculation ⇒ Boolean

Specifies whether the metric can be used inside aggregating statistical functions (SUM, AVG, etc.) in custom metric calculations.

Returns:

  • (Boolean)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

The tags used to organize, track, or control access for this resource. For example, { "Tags": "key2":"value2" }.

Returns:

  • (Hash<String,String>)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

The type of the metric. Valid values: AWS_MANAGED | CUSTOMER_MANAGED.

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#unit ⇒ String

The display unit for the metric's data.

Returns:

  • (String)


26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 26154

class MetricDefinition < Struct.new(
  :arn,
  :id,
  :name,
  :description,
  :metric_calculation,
  :creation_method,
  :status,
  :type,
  :unit,
  :positive_trend_indicator,
  :groupings,
  :filters,
  :effective_time,
  :refresh_rate,
  :category,
  :supported_stats,
  :default_stat,
  :supports_preaggregate_calculation,
  :supports_custom_calculation,
  :primary_event_source,
  :primary_event_source_effective_timestamp_type,
  :created_time,
  :created_user,
  :last_modified_region,
  :last_modified_time,
  :last_modified_user,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end