class Aws::Connect::Types::CurrentMetric

Contains information about a real-time metric. For a description of each metric, see [Real-time Metrics Definitions] in the *Amazon Connect Administrator Guide*.

[1]: docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html

@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
    }

@!attribute [rw] name

The name of the metric.
@return [String]

@!attribute [rw] unit

The unit for the metric.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CurrentMetric AWS API Documentation

Constants

SENSITIVE