Class: Aws::Connect::Types::HistoricalMetric
- Inherits:
-
Struct
- Object
- Struct
- Aws::Connect::Types::HistoricalMetric
- 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
-
#name ⇒ String
The name of the metric.
-
#statistic ⇒ String
The statistic for the metric.
-
#threshold ⇒ Types::Threshold
The threshold for the metric, used with service level metrics.
-
#unit ⇒ String
The unit for the metric.
Instance Attribute Details
#name ⇒ String
The name of the metric.
5113 5114 5115 5116 5117 5118 5119 5120 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 5113 class HistoricalMetric < Struct.new( :name, :threshold, :statistic, :unit) SENSITIVE = [] include Aws::Structure end |
#statistic ⇒ String
The statistic for the metric.
5113 5114 5115 5116 5117 5118 5119 5120 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 5113 class HistoricalMetric < Struct.new( :name, :threshold, :statistic, :unit) SENSITIVE = [] include Aws::Structure end |
#threshold ⇒ Types::Threshold
The threshold for the metric, used with service level metrics.
5113 5114 5115 5116 5117 5118 5119 5120 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 5113 class HistoricalMetric < Struct.new( :name, :threshold, :statistic, :unit) SENSITIVE = [] include Aws::Structure end |
#unit ⇒ String
The unit for the metric.
5113 5114 5115 5116 5117 5118 5119 5120 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 5113 class HistoricalMetric < Struct.new( :name, :threshold, :statistic, :unit) SENSITIVE = [] include Aws::Structure end |