AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

A query used for retrieving network health data.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.DataQuery

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class DataQuery

The DataQuery type exposes the following members

Constructors

NameDescription
Public Method DataQuery()

Properties

NameTypeDescription
Public Property Destination System.String

Gets and sets the property Destination.

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

Public Property Id System.String

Gets and sets the property 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.

Public Property Metric Amazon.EC2.MetricType

Gets and sets the property Metric.

The metric, aggregation-latency, indicating that network latency is aggregated for the query. This is the only supported metric.

Public Property Period Amazon.EC2.PeriodType

Gets and sets the property Period.

The aggregation period used for the data query.

Public Property Source System.String

Gets and sets the property Source.

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

Public Property Statistic Amazon.EC2.StatisticType

Gets and sets the property Statistic.

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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5