Struct aws_sdk_codeguruprofiler::operation::batch_get_frame_metric_data::BatchGetFrameMetricDataOutput
source · #[non_exhaustive]pub struct BatchGetFrameMetricDataOutput {
pub start_time: DateTime,
pub end_time: DateTime,
pub resolution: AggregationPeriod,
pub end_times: Vec<TimestampStructure>,
pub unprocessed_end_times: HashMap<String, Vec<TimestampStructure>>,
pub frame_metric_data: Vec<FrameMetricDatum>,
/* private fields */
}
Expand description
The structure representing the BatchGetFrameMetricDataResponse.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.start_time: 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.
end_time: 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.
resolution: 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
end_times: Vec<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.
unprocessed_end_times: HashMap<String, Vec<TimestampStructure>>
List of instances which remained unprocessed. This will create a missing time step in the list of end times.
frame_metric_data: Vec<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.
Implementations§
source§impl BatchGetFrameMetricDataOutput
impl BatchGetFrameMetricDataOutput
sourcepub fn start_time(&self) -> &DateTime
pub fn start_time(&self) -> &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) -> &DateTime
pub fn end_time(&self) -> &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) -> &AggregationPeriod
pub fn resolution(&self) -> &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) -> &[TimestampStructure]
pub fn end_times(&self) -> &[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) -> &HashMap<String, Vec<TimestampStructure>>
pub fn unprocessed_end_times(&self) -> &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) -> &[FrameMetricDatum]
pub fn frame_metric_data(&self) -> &[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.
source§impl BatchGetFrameMetricDataOutput
impl BatchGetFrameMetricDataOutput
sourcepub fn builder() -> BatchGetFrameMetricDataOutputBuilder
pub fn builder() -> BatchGetFrameMetricDataOutputBuilder
Creates a new builder-style object to manufacture BatchGetFrameMetricDataOutput
.
Trait Implementations§
source§impl Clone for BatchGetFrameMetricDataOutput
impl Clone for BatchGetFrameMetricDataOutput
source§fn clone(&self) -> BatchGetFrameMetricDataOutput
fn clone(&self) -> BatchGetFrameMetricDataOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for BatchGetFrameMetricDataOutput
impl PartialEq for BatchGetFrameMetricDataOutput
source§fn eq(&self, other: &BatchGetFrameMetricDataOutput) -> bool
fn eq(&self, other: &BatchGetFrameMetricDataOutput) -> bool
self
and other
values to be equal, and is used by ==
.source§impl RequestId for BatchGetFrameMetricDataOutput
impl RequestId for BatchGetFrameMetricDataOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for BatchGetFrameMetricDataOutput
Auto Trait Implementations§
impl Freeze for BatchGetFrameMetricDataOutput
impl RefUnwindSafe for BatchGetFrameMetricDataOutput
impl Send for BatchGetFrameMetricDataOutput
impl Sync for BatchGetFrameMetricDataOutput
impl Unpin for BatchGetFrameMetricDataOutput
impl UnwindSafe for BatchGetFrameMetricDataOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more