

# IntervalDetails


Information about the interval period to use for returning results.

## Contents


 ** IntervalPeriod **   <a name="connect-Type-IntervalDetails-IntervalPeriod"></a>
 `IntervalPeriod`: An aggregated grouping applied to request metrics. Valid `IntervalPeriod` values are: `FIFTEEN_MIN` \$1 `THIRTY_MIN` \$1 `HOUR` \$1 `DAY` \$1 `WEEK` \$1 `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\$1MIN 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.
Type: String  
Valid Values: `FIFTEEN_MIN | THIRTY_MIN | HOUR | DAY | WEEK | TOTAL`   
Required: No

 ** TimeZone **   <a name="connect-Type-IntervalDetails-TimeZone"></a>
The timezone applied to requested metrics.  
Type: String  
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/connect-2017-08-08/IntervalDetails) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/connect-2017-08-08/IntervalDetails) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/connect-2017-08-08/IntervalDetails) 