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

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

Overview

Contains information about a real-time metric. For a description of each metric, see Metrics definitions in the Amazon Connect Administrator Guide.

Only one of either the Name or MetricId is required.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metric_idString

Out of the box current metrics or custom metrics can be referenced via this field. This field is a valid AWS Connect Arn or a UUID.

Returns:

  • (String)


7435
7436
7437
7438
7439
7440
7441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 7435

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

#nameString

The name of the metric.

Returns:

  • (String)


7435
7436
7437
7438
7439
7440
7441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 7435

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

#unitString

The Unit parameter is not supported for custom metrics.

The unit for the metric.

Returns:

  • (String)


7435
7436
7437
7438
7439
7440
7441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 7435

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