Skip to content

EC2  >  Dictionaries  >  DataQueryDict

DataQueryDict

Dictionary Type

DataQueryDict

Bases: TypedDict

Dictionary form of DataQuery.

Attributes

destination instance-attribute
destination: str | None

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

id instance-attribute
id: str | None

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 instance-attribute
metric: str | None

The metric used for the network performance request.

period instance-attribute
period: str | None

The aggregation period used for the data query.

source instance-attribute
source: str | None

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

statistic instance-attribute
statistic: str | None

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.