Class: Aws::Connect::Types::CurrentMetric

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 CurrentMetric data as a hash:

{
  name: "AGENTS_ONLINE", # accepts AGENTS_ONLINE, AGENTS_AVAILABLE, AGENTS_ON_CALL, AGENTS_NON_PRODUCTIVE, AGENTS_AFTER_CONTACT_WORK, AGENTS_ERROR, AGENTS_STAFFED, CONTACTS_IN_QUEUE, OLDEST_CONTACT_AGE, CONTACTS_SCHEDULED, AGENTS_ON_CONTACT, SLOTS_ACTIVE, SLOTS_AVAILABLE
  unit: "SECONDS", # accepts SECONDS, COUNT, PERCENT
}

Contains information about a real-time metric. For a description of each metric, see Real-time 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)


534
535
536
537
538
539
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 534

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

#unitString

The unit for the metric.

Returns:

  • (String)


534
535
536
537
538
539
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 534

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