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)


14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14630

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)


14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14630

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

#metricString

The metric used for the network performance request.

Returns:

  • (String)


14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14630

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)


14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14630

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)


14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14630

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)


14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14630

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