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 DataResponse = DataResponse' {
- destination :: Maybe Text
- id :: Maybe Text
- metric :: Maybe MetricType
- metricPoints :: Maybe [MetricPoint]
- period :: Maybe PeriodType
- source :: Maybe Text
- statistic :: Maybe StatisticType
- newDataResponse :: DataResponse
- dataResponse_destination :: Lens' DataResponse (Maybe Text)
- dataResponse_id :: Lens' DataResponse (Maybe Text)
- dataResponse_metric :: Lens' DataResponse (Maybe MetricType)
- dataResponse_metricPoints :: Lens' DataResponse (Maybe [MetricPoint])
- dataResponse_period :: Lens' DataResponse (Maybe PeriodType)
- dataResponse_source :: Lens' DataResponse (Maybe Text)
- dataResponse_statistic :: Lens' DataResponse (Maybe StatisticType)
Documentation
data DataResponse Source #
The response to a DataQuery
.
See: newDataResponse
smart constructor.
DataResponse' | |
|
Instances
newDataResponse :: DataResponse Source #
Create a value of DataResponse
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:DataResponse'
, dataResponse_destination
- The Region or Availability Zone that's the destination for the data
query. For example, eu-west-1
.
$sel:id:DataResponse'
, dataResponse_id
- The ID passed in the DataQuery
.
$sel:metric:DataResponse'
, dataResponse_metric
- The metric used for the network performance request. Currently only
aggregate-latency
is supported, showing network latency during a
specified period.
$sel:metricPoints:DataResponse'
, dataResponse_metricPoints
- A list of MetricPoint
objects.
$sel:period:DataResponse'
, dataResponse_period
- The period used for the network performance request.
$sel:source:DataResponse'
, dataResponse_source
- The Region or Availability Zone that's the source for the data query.
For example, us-east-1
.
$sel:statistic:DataResponse'
, dataResponse_statistic
- The statistic used for the network performance request.
dataResponse_destination :: Lens' DataResponse (Maybe Text) Source #
The Region or Availability Zone that's the destination for the data
query. For example, eu-west-1
.
dataResponse_id :: Lens' DataResponse (Maybe Text) Source #
The ID passed in the DataQuery
.
dataResponse_metric :: Lens' DataResponse (Maybe MetricType) Source #
The metric used for the network performance request. Currently only
aggregate-latency
is supported, showing network latency during a
specified period.
dataResponse_metricPoints :: Lens' DataResponse (Maybe [MetricPoint]) Source #
A list of MetricPoint
objects.
dataResponse_period :: Lens' DataResponse (Maybe PeriodType) Source #
The period used for the network performance request.
dataResponse_source :: Lens' DataResponse (Maybe Text) Source #
The Region or Availability Zone that's the source for the data query.
For example, us-east-1
.
dataResponse_statistic :: Lens' DataResponse (Maybe StatisticType) Source #
The statistic used for the network performance request.