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 metric, aggregation-latency
, indicating that network latency is aggregated for the query. This is the only supported metric.
sourcepub fn statistic(&self) -> Option<&StatisticType>
pub fn statistic(&self) -> Option<&StatisticType>
The metric data aggregation period, p50
, between the specified startDate
and endDate
. For example, a metric of five_minutes
is the median of all the data points gathered within those five minutes. p50
is the only supported metric.
sourcepub fn period(&self) -> Option<&PeriodType>
pub fn period(&self) -> Option<&PeriodType>
The aggregation period used for the data query.