Class: Aws::Connect::Types::MetricV2

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

Overview

Contains information about the metric.

Only one of either the Name or MetricId is required.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metric_filters ⇒ Array<Types::MetricFilterV2>

Contains the filters to be used when returning data.

Returns:



27812
27813
27814
27815
27816
27817
27818
27819
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 27812

class MetricV2 < Struct.new(
  :name,
  :threshold,
  :metric_id,
  :metric_filters)
  SENSITIVE = []
  include Aws::Structure
end

#metric_id ⇒ String

Historical metrics or custom metrics can be referenced via this field. This field is a valid Connect Customer Arn or a UUID

Returns:

  • (String)


27812
27813
27814
27815
27816
27817
27818
27819
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 27812

class MetricV2 < Struct.new(
  :name,
  :threshold,
  :metric_id,
  :metric_filters)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the metric.

Returns:

  • (String)


27812
27813
27814
27815
27816
27817
27818
27819
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 27812

class MetricV2 < Struct.new(
  :name,
  :threshold,
  :metric_id,
  :metric_filters)
  SENSITIVE = []
  include Aws::Structure
end

#threshold ⇒ Array<Types::ThresholdV2>

Contains information about the threshold for service level metrics.

Returns:



27812
27813
27814
27815
27816
27817
27818
27819
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 27812

class MetricV2 < Struct.new(
  :name,
  :threshold,
  :metric_id,
  :metric_filters)
  SENSITIVE = []
  include Aws::Structure
end