Class: Aws::EC2::Types::DataQuery

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

A query used for retrieving network health data.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destinationString

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

Returns:

  • (String)


13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
# File 'lib/aws-sdk-ec2/types.rb', line 13228

class DataQuery < Struct.new(
  :id,
  :source,
  :destination,
  :metric,
  :statistic,
  :period)
  SENSITIVE = []
  include Aws::Structure
end

#idString

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

Returns:

  • (String)


13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
# File 'lib/aws-sdk-ec2/types.rb', line 13228

class DataQuery < Struct.new(
  :id,
  :source,
  :destination,
  :metric,
  :statistic,
  :period)
  SENSITIVE = []
  include Aws::Structure
end

#metricString

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

Returns:

  • (String)


13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
# File 'lib/aws-sdk-ec2/types.rb', line 13228

class DataQuery < Struct.new(
  :id,
  :source,
  :destination,
  :metric,
  :statistic,
  :period)
  SENSITIVE = []
  include Aws::Structure
end

#periodString

The aggregation period used for the data query.

Returns:

  • (String)


13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
# File 'lib/aws-sdk-ec2/types.rb', line 13228

class DataQuery < Struct.new(
  :id,
  :source,
  :destination,
  :metric,
  :statistic,
  :period)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

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

Returns:

  • (String)


13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
# File 'lib/aws-sdk-ec2/types.rb', line 13228

class DataQuery < Struct.new(
  :id,
  :source,
  :destination,
  :metric,
  :statistic,
  :period)
  SENSITIVE = []
  include Aws::Structure
end

#statisticString

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.

Returns:

  • (String)


13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
# File 'lib/aws-sdk-ec2/types.rb', line 13228

class DataQuery < Struct.new(
  :id,
  :source,
  :destination,
  :metric,
  :statistic,
  :period)
  SENSITIVE = []
  include Aws::Structure
end