amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.DataQuery

Description

 
Synopsis

Documentation

data DataQuery Source #

A query used for retrieving network health data.

See: newDataQuery smart constructor.

Constructors

DataQuery' 

Fields

  • destination :: Maybe Text

    The Region or Availability Zone that's the target for the data query. For example, eu-north-1.

  • id :: Maybe Text

    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 MyQuery01in the query, the dataResponse identifies the query as MyQuery01.

  • metric :: Maybe MetricType

    The aggregation metric used for the data query. Currently only aggregation-latency is supported, indicating network latency.

  • period :: Maybe PeriodType

    The aggregation period used for the data query.

  • source :: Maybe Text

    The Region or Availability Zone that's the source for the data query. For example, us-east-1.

  • statistic :: Maybe 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 of five_minutes is the median of all the data points gathered within those five minutes.

Instances

Instances details
ToQuery DataQuery Source # 
Instance details

Defined in Amazonka.EC2.Types.DataQuery

Generic DataQuery Source # 
Instance details

Defined in Amazonka.EC2.Types.DataQuery

Associated Types

type Rep DataQuery :: Type -> Type #

Read DataQuery Source # 
Instance details

Defined in Amazonka.EC2.Types.DataQuery

Show DataQuery Source # 
Instance details

Defined in Amazonka.EC2.Types.DataQuery

NFData DataQuery Source # 
Instance details

Defined in Amazonka.EC2.Types.DataQuery

Methods

rnf :: DataQuery -> () #

Eq DataQuery Source # 
Instance details

Defined in Amazonka.EC2.Types.DataQuery

Hashable DataQuery Source # 
Instance details

Defined in Amazonka.EC2.Types.DataQuery

type Rep DataQuery Source # 
Instance details

Defined in Amazonka.EC2.Types.DataQuery

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 MyQuery01in 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 of five_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 MyQuery01in 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 of five_minutes is the median of all the data points gathered within those five minutes.