[][src]Struct rusoto_connect::GetMetricDataRequest

pub struct GetMetricDataRequest {
    pub end_time: f64,
    pub filters: Filters,
    pub groupings: Option<Vec<String>>,
    pub historical_metrics: Vec<HistoricalMetric>,
    pub instance_id: String,
    pub max_results: Option<i64>,
    pub next_token: Option<String>,
    pub start_time: f64,
}

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]

impl Debug for GetMetricDataRequest[src]

impl Default for GetMetricDataRequest[src]

impl PartialEq<GetMetricDataRequest> for GetMetricDataRequest[src]

impl Serialize for GetMetricDataRequest[src]

impl StructuralPartialEq for GetMetricDataRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.