[][src]Struct rusoto_connect::GetCurrentMetricDataRequest

pub struct GetCurrentMetricDataRequest {
    pub current_metrics: Vec<CurrentMetric>,
    pub filters: Filters,
    pub groupings: Option<Vec<String>>,
    pub instance_id: String,
    pub max_results: Option<i64>,
    pub next_token: Option<String>,
}

Fields

current_metrics: Vec<CurrentMetric>

The metrics to retrieve. Specify the name and unit for each metric. The following metrics are available:

AGENTSAFTERCONTACTWORK

Unit: COUNT

AGENTSAVAILABLE

Unit: COUNT

AGENTSERROR

Unit: COUNT

AGENTSNONPRODUCTIVE

Unit: COUNT

AGENTSONCALL

Unit: COUNT

AGENTSONCONTACT

Unit: COUNT

AGENTSONLINE

Unit: COUNT

AGENTSSTAFFED

Unit: COUNT

CONTACTSINQUEUE

Unit: COUNT

CONTACTSSCHEDULED

Unit: COUNT

OLDESTCONTACTAGE

Unit: SECONDS

SLOTSACTIVE

Unit: COUNT

SLOTSAVAILABLE

Unit: COUNT

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 grouped by QUEUE, the metrics returned apply to each queue rather than aggregated for all queues. If you group by CHANNEL, you should include a Channels filter. The only supported channel is VOICE.

If no Grouping is included in the request, a summary of metrics is returned.

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.

The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.

Trait Implementations

impl Clone for GetCurrentMetricDataRequest[src]

impl Debug for GetCurrentMetricDataRequest[src]

impl Default for GetCurrentMetricDataRequest[src]

impl PartialEq<GetCurrentMetricDataRequest> for GetCurrentMetricDataRequest[src]

impl Serialize for GetCurrentMetricDataRequest[src]

impl StructuralPartialEq for GetCurrentMetricDataRequest[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, 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.