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.DataResponse

Description

 
Synopsis

Documentation

data DataResponse Source #

The response to a DataQuery.

See: newDataResponse smart constructor.

Constructors

DataResponse' 

Fields

Instances

Instances details
FromXML DataResponse Source # 
Instance details

Defined in Amazonka.EC2.Types.DataResponse

Generic DataResponse Source # 
Instance details

Defined in Amazonka.EC2.Types.DataResponse

Associated Types

type Rep DataResponse :: Type -> Type #

Read DataResponse Source # 
Instance details

Defined in Amazonka.EC2.Types.DataResponse

Show DataResponse Source # 
Instance details

Defined in Amazonka.EC2.Types.DataResponse

NFData DataResponse Source # 
Instance details

Defined in Amazonka.EC2.Types.DataResponse

Methods

rnf :: DataResponse -> () #

Eq DataResponse Source # 
Instance details

Defined in Amazonka.EC2.Types.DataResponse

Hashable DataResponse Source # 
Instance details

Defined in Amazonka.EC2.Types.DataResponse

type Rep DataResponse Source # 
Instance details

Defined in Amazonka.EC2.Types.DataResponse

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_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.