Class: Aws::Connect::Types::IntervalDetails

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

Overview

Information about the interval period to use for returning results.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#interval_periodString

‘IntervalPeriod`: An aggregated grouping applied to request metrics. Valid `IntervalPeriod` values are: `FIFTEEN_MIN` | `THIRTY_MIN` | `HOUR` | `DAY` | `WEEK` | `TOTAL`.

For example, if ‘IntervalPeriod` is selected `THIRTY_MIN`, `StartTime` and `EndTime` differs by 1 day, then Amazon Connect returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on the `TOTAL` interval period.

The following list describes restrictions on ‘StartTime` and `EndTime` based on what `IntervalPeriod` is requested.

  • ‘FIFTEEN_MIN`: The difference between `StartTime` and `EndTime` must be less than 3 days.

  • ‘THIRTY_MIN`: The difference between `StartTime` and `EndTime` must be less than 3 days.

  • ‘HOUR`: The difference between `StartTime` and `EndTime` must be less than 3 days.

  • ‘DAY`: The difference between `StartTime` and `EndTime` must be less than 35 days.

  • ‘WEEK`: The difference between `StartTime` and `EndTime` must be less than 35 days.

  • ‘TOTAL`: The difference between `StartTime` and `EndTime` must be less than 35 days.

Returns:

  • (String)


11787
11788
11789
11790
11791
11792
# File 'lib/aws-sdk-connect/types.rb', line 11787

class IntervalDetails < Struct.new(
  :time_zone,
  :interval_period)
  SENSITIVE = []
  include Aws::Structure
end

#time_zoneString

The timezone applied to requested metrics.

Returns:

  • (String)


11787
11788
11789
11790
11791
11792
# File 'lib/aws-sdk-connect/types.rb', line 11787

class IntervalDetails < Struct.new(
  :time_zone,
  :interval_period)
  SENSITIVE = []
  include Aws::Structure
end