[][src]Struct rusoto_cloudwatch::GetMetricDataInput

pub struct GetMetricDataInput {
    pub end_time: String,
    pub max_datapoints: Option<i64>,
    pub metric_data_queries: Vec<MetricDataQuery>,
    pub next_token: Option<String>,
    pub scan_by: Option<String>,
    pub start_time: String,
}

Fields

end_time: String

The time stamp indicating the latest data to be returned.

For better performance, specify StartTime and EndTime values that align with the value of the metric's Period and sync up with the beginning and end of an hour. For example, if the Period of a metric is 5 minutes, specifying 12:05 or 12:30 as EndTime can get a faster response from CloudWatch than setting 12:07 or 12:29 as the EndTime.

max_datapoints: Option<i64>

The maximum number of data points the request should return before paginating. If you omit this, the default of 100,800 is used.

metric_data_queries: Vec<MetricDataQuery>

The metric queries to be returned. A single GetMetricData call can include as many as 100 MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, or a math expression to perform on retrieved data.

next_token: Option<String>

Include this value, if it was returned by the previous call, to get the next set of data points.

scan_by: Option<String>

The order in which data points should be returned. TimestampDescending returns the newest data first and paginates when the MaxDatapoints limit is reached. TimestampAscending returns the oldest data first and paginates when the MaxDatapoints limit is reached.

start_time: String

The time stamp indicating the earliest data to be returned.

For better performance, specify StartTime and EndTime values that align with the value of the metric's Period and sync up with the beginning and end of an hour. For example, if the Period of a metric is 5 minutes, specifying 12:05 or 12:30 as StartTime can get a faster response from CloudWatch than setting 12:07 or 12:29 as the StartTime.

Trait Implementations

impl PartialEq<GetMetricDataInput> for GetMetricDataInput[src]

impl Default for GetMetricDataInput[src]

impl Clone for GetMetricDataInput[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GetMetricDataInput[src]

Auto Trait Implementations

impl Send for GetMetricDataInput

impl Sync for GetMetricDataInput

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self