Class: Aws::Connect::Types::HistoricalMetric

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

Overview

Note:

When making an API call, you may pass HistoricalMetric data as a hash:

{
  name: "CONTACTS_QUEUED", # accepts CONTACTS_QUEUED, CONTACTS_HANDLED, CONTACTS_ABANDONED, CONTACTS_CONSULTED, CONTACTS_AGENT_HUNG_UP_FIRST, CONTACTS_HANDLED_INCOMING, CONTACTS_HANDLED_OUTBOUND, CONTACTS_HOLD_ABANDONS, CONTACTS_TRANSFERRED_IN, CONTACTS_TRANSFERRED_OUT, CONTACTS_TRANSFERRED_IN_FROM_QUEUE, CONTACTS_TRANSFERRED_OUT_FROM_QUEUE, CONTACTS_MISSED, CALLBACK_CONTACTS_HANDLED, API_CONTACTS_HANDLED, OCCUPANCY, HANDLE_TIME, AFTER_CONTACT_WORK_TIME, QUEUED_TIME, ABANDON_TIME, QUEUE_ANSWER_TIME, HOLD_TIME, INTERACTION_TIME, INTERACTION_AND_HOLD_TIME, SERVICE_LEVEL
  threshold: {
    comparison: "LT", # accepts LT
    threshold_value: 1.0,
  },
  statistic: "SUM", # accepts SUM, MAX, AVG
  unit: "SECONDS", # accepts SECONDS, COUNT, PERCENT
}

Contains information about a historical metric. For a description of each metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the metric.

Returns:

  • (String)


1637
1638
1639
1640
1641
1642
1643
1644
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1637

class HistoricalMetric < Struct.new(
  :name,
  :threshold,
  :statistic,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#statisticString

The statistic for the metric.

Returns:

  • (String)


1637
1638
1639
1640
1641
1642
1643
1644
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1637

class HistoricalMetric < Struct.new(
  :name,
  :threshold,
  :statistic,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#thresholdTypes::Threshold

The threshold for the metric, used with service level metrics.

Returns:



1637
1638
1639
1640
1641
1642
1643
1644
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1637

class HistoricalMetric < Struct.new(
  :name,
  :threshold,
  :statistic,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

The unit for the metric.

Returns:

  • (String)


1637
1638
1639
1640
1641
1642
1643
1644
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1637

class HistoricalMetric < Struct.new(
  :name,
  :threshold,
  :statistic,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end