You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CurrentMetric as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the metric.

Possible values:

  • 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

Returns:

  • (String)

    The name of the metric.

#unitString

The unit for the metric.

Possible values:

  • SECONDS
  • COUNT
  • PERCENT

Returns:

  • (String)

    The unit for the metric.