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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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)


13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13327

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

Returns:

  • (String)


13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13327

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)


13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13327

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)


13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13327

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)


13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13327

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)


13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13327

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