Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data DataQuery = DataQuery' {
- destination :: Maybe Text
- id :: Maybe Text
- metric :: Maybe MetricType
- period :: Maybe PeriodType
- source :: Maybe Text
- statistic :: Maybe StatisticType
- newDataQuery :: DataQuery
- dataQuery_destination :: Lens' DataQuery (Maybe Text)
- dataQuery_id :: Lens' DataQuery (Maybe Text)
- dataQuery_metric :: Lens' DataQuery (Maybe MetricType)
- dataQuery_period :: Lens' DataQuery (Maybe PeriodType)
- dataQuery_source :: Lens' DataQuery (Maybe Text)
- dataQuery_statistic :: Lens' DataQuery (Maybe StatisticType)
Documentation
A query used for retrieving network health data.
See: newDataQuery
smart constructor.
DataQuery' | |
|
Instances
newDataQuery :: DataQuery Source #
Create a value of DataQuery
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destination:DataQuery'
, dataQuery_destination
- The Region or Availability Zone that's the target for the data query.
For example, eu-north-1
.
$sel:id:DataQuery'
, dataQuery_id
- 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
.
$sel:metric:DataQuery'
, dataQuery_metric
- The aggregation metric used for the data query. Currently only
aggregation-latency
is supported, indicating network latency.
$sel:period:DataQuery'
, dataQuery_period
- The aggregation period used for the data query.
$sel:source:DataQuery'
, dataQuery_source
- The Region or Availability Zone that's the source for the data query.
For example, us-east-1
.
$sel:statistic:DataQuery'
, dataQuery_statistic
- 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.
dataQuery_destination :: Lens' DataQuery (Maybe Text) Source #
The Region or Availability Zone that's the target for the data query.
For example, eu-north-1
.
dataQuery_id :: Lens' DataQuery (Maybe Text) Source #
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
.
dataQuery_metric :: Lens' DataQuery (Maybe MetricType) Source #
The aggregation metric used for the data query. Currently only
aggregation-latency
is supported, indicating network latency.
dataQuery_period :: Lens' DataQuery (Maybe PeriodType) Source #
The aggregation period used for the data query.
dataQuery_source :: Lens' DataQuery (Maybe Text) Source #
The Region or Availability Zone that's the source for the data query.
For example, us-east-1
.
dataQuery_statistic :: Lens' DataQuery (Maybe StatisticType) Source #
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.