Struct aws_sdk_ec2::model::DataQuery
source · #[non_exhaustive]pub struct DataQuery { /* private fields */ }
Expand description
A query used for retrieving network health data.
Implementations§
source§impl DataQuery
impl DataQuery
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
A user-defined ID associated with a data query that's returned in the dataResponse
identifying the query. For example, if you set the Id to MyQuery01
in the query, the dataResponse
identifies the query as MyQuery01
.
sourcepub fn source(&self) -> Option<&str>
pub fn source(&self) -> Option<&str>
The Region or Availability Zone that's the source for the data query. For example, us-east-1
.
sourcepub fn destination(&self) -> Option<&str>
pub fn destination(&self) -> Option<&str>
The Region or Availability Zone that's the target for the data query. For example, eu-north-1
.
sourcepub fn metric(&self) -> Option<&MetricType>
pub fn metric(&self) -> Option<&MetricType>
The aggregation metric used for the data query. Currently only aggregation-latency
is supported, indicating network latency.
sourcepub fn statistic(&self) -> Option<&StatisticType>
pub fn statistic(&self) -> Option<&StatisticType>
Metric data aggregations over specified periods of time. The following are the supported Infrastructure Performance statistics:
-
p50
- The median value of the metric aggregated over a specified start and end time. For example, a metric offive_minutes
is the median of all the data points gathered within those five minutes.
sourcepub fn period(&self) -> Option<&PeriodType>
pub fn period(&self) -> Option<&PeriodType>
The aggregation period used for the data query.