#[non_exhaustive]pub struct BatchGetFrameMetricDataOutput { /* private fields */ }
Expand description
The structure representing the BatchGetFrameMetricDataResponse.
Implementations
sourceimpl BatchGetFrameMetricDataOutput
impl BatchGetFrameMetricDataOutput
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start time of the time period for the returned time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The end time of the time period for the returned time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn resolution(&self) -> Option<&AggregationPeriod>
pub fn resolution(&self) -> Option<&AggregationPeriod>
Resolution or granularity of the profile data used to generate the time series. This is the value used to jump through time steps in a time series. There are 3 valid values.
-
P1D
— 1 day -
PT1H
— 1 hour -
PT5M
— 5 minutes
sourcepub fn end_times(&self) -> Option<&[TimestampStructure]>
pub fn end_times(&self) -> Option<&[TimestampStructure]>
List of instances, or time steps, in the time series. For example, if the period
is one day (PT24H)
), and the resolution
is five minutes (PT5M
), then there are 288 endTimes
in the list that are each five minutes appart.
sourcepub fn unprocessed_end_times(
&self
) -> Option<&HashMap<String, Vec<TimestampStructure>>>
pub fn unprocessed_end_times(
&self
) -> Option<&HashMap<String, Vec<TimestampStructure>>>
List of instances which remained unprocessed. This will create a missing time step in the list of end times.
sourcepub fn frame_metric_data(&self) -> Option<&[FrameMetricDatum]>
pub fn frame_metric_data(&self) -> Option<&[FrameMetricDatum]>
Details of the metrics to request a time series of values. The metric includes the name of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to use to get the count for the metric value of the frame.
sourceimpl BatchGetFrameMetricDataOutput
impl BatchGetFrameMetricDataOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BatchGetFrameMetricDataOutput
.
Trait Implementations
sourceimpl Clone for BatchGetFrameMetricDataOutput
impl Clone for BatchGetFrameMetricDataOutput
sourcefn clone(&self) -> BatchGetFrameMetricDataOutput
fn clone(&self) -> BatchGetFrameMetricDataOutput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more