[−][src]Struct rusoto_connect::GetMetricDataRequest
Fields
end_time: f64
The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be specified using an interval of 5 minutes, such as 11:00, 11:05, 11:10, and must be later than the start time timestamp.
The time range between the start and end time must be less than 24 hours.
filters: Filters
The queues, up to 100, or channels, to use to filter the metrics returned. Metric data is retrieved only for the resources associated with the queues or channels included in the filter. You can include both queue IDs and queue ARNs in the same request. The only supported channel is VOICE
.
groupings: Option<Vec<String>>
The grouping applied to the metrics returned. For example, when results are grouped by queue, the metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than aggregated for all queues.
The only supported grouping is QUEUE
.
If no grouping is specified, a summary of metrics for all queues is returned.
historical_metrics: Vec<HistoricalMetric>
The metrics to retrieve. Specify the name, unit, and statistic for each metric. The following historical metrics are available. For a description of each metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.
- ABANDONTIME
-
Unit: SECONDS
Statistic: AVG
- AFTERCONTACTWORKTIME
-
Unit: SECONDS
Statistic: AVG
- APICONTACTSHANDLED
-
Unit: COUNT
Statistic: SUM
- CALLBACKCONTACTSHANDLED
-
Unit: COUNT
Statistic: SUM
- CONTACTSABANDONED
-
Unit: COUNT
Statistic: SUM
- CONTACTSAGENTHUNGUPFIRST
-
Unit: COUNT
Statistic: SUM
- CONTACTSCONSULTED
-
Unit: COUNT
Statistic: SUM
- CONTACTSHANDLED
-
Unit: COUNT
Statistic: SUM
- CONTACTSHANDLEDINCOMING
-
Unit: COUNT
Statistic: SUM
- CONTACTSHANDLEDOUTBOUND
-
Unit: COUNT
Statistic: SUM
- CONTACTSHOLDABANDONS
-
Unit: COUNT
Statistic: SUM
- CONTACTSMISSED
-
Unit: COUNT
Statistic: SUM
- CONTACTSQUEUED
-
Unit: COUNT
Statistic: SUM
- CONTACTSTRANSFERREDIN
-
Unit: COUNT
Statistic: SUM
- CONTACTSTRANSFERREDINFROMQUEUE
-
Unit: COUNT
Statistic: SUM
- CONTACTSTRANSFERREDOUT
-
Unit: COUNT
Statistic: SUM
- CONTACTSTRANSFERREDOUTFROMQUEUE
-
Unit: COUNT
Statistic: SUM
- HANDLETIME
-
Unit: SECONDS
Statistic: AVG
- HOLDTIME
-
Unit: SECONDS
Statistic: AVG
- INTERACTIONANDHOLDTIME
-
Unit: SECONDS
Statistic: AVG
- INTERACTIONTIME
-
Unit: SECONDS
Statistic: AVG
- OCCUPANCY
-
Unit: PERCENT
Statistic: AVG
- QUEUEANSWERTIME
-
Unit: SECONDS
Statistic: AVG
- QUEUEDTIME
-
Unit: SECONDS
Statistic: MAX
- SERVICE_LEVEL
-
Unit: PERCENT
Statistic: AVG
Threshold: Only "Less than" comparisons are supported, with the following service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, 600
instance_id: String
The identifier of the Amazon Connect instance.
max_results: Option<i64>
The maximimum number of results to return per page.
next_token: Option<String>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
start_time: f64
The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be specified using a multiple of 5 minutes, such as 10:05, 10:10, 10:15.
The start time cannot be earlier than 24 hours before the time of the request. Historical metrics are available only for 24 hours.
Trait Implementations
impl Clone for GetMetricDataRequest
[src]
pub fn clone(&self) -> GetMetricDataRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GetMetricDataRequest
[src]
impl Default for GetMetricDataRequest
[src]
pub fn default() -> GetMetricDataRequest
[src]
impl PartialEq<GetMetricDataRequest> for GetMetricDataRequest
[src]
pub fn eq(&self, other: &GetMetricDataRequest) -> bool
[src]
pub fn ne(&self, other: &GetMetricDataRequest) -> bool
[src]
impl Serialize for GetMetricDataRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for GetMetricDataRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for GetMetricDataRequest
[src]
impl Send for GetMetricDataRequest
[src]
impl Sync for GetMetricDataRequest
[src]
impl Unpin for GetMetricDataRequest
[src]
impl UnwindSafe for GetMetricDataRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,