Class: Aws::ComputeOptimizer::Types::GetEC2RecommendationProjectedMetricsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#end_timeTime

The timestamp of the last projected metrics data point to return.

Returns:

  • (Time)


2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 2665

class GetEC2RecommendationProjectedMetricsRequest < Struct.new(
  :instance_arn,
  :stat,
  :period,
  :start_time,
  :end_time,
  :recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#instance_arnString

The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.

Returns:

  • (String)


2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 2665

class GetEC2RecommendationProjectedMetricsRequest < Struct.new(
  :instance_arn,
  :stat,
  :period,
  :start_time,
  :end_time,
  :recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#periodInteger

The granularity, in seconds, of the projected metrics data points.

Returns:

  • (Integer)


2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 2665

class GetEC2RecommendationProjectedMetricsRequest < Struct.new(
  :instance_arn,
  :stat,
  :period,
  :start_time,
  :end_time,
  :recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#recommendation_preferencesTypes::RecommendationPreferences

An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.



2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 2665

class GetEC2RecommendationProjectedMetricsRequest < Struct.new(
  :instance_arn,
  :stat,
  :period,
  :start_time,
  :end_time,
  :recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

The timestamp of the first projected metrics data point to return.

Returns:

  • (Time)


2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 2665

class GetEC2RecommendationProjectedMetricsRequest < Struct.new(
  :instance_arn,
  :stat,
  :period,
  :start_time,
  :end_time,
  :recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#statString

The statistic of the projected metrics.

Returns:

  • (String)


2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 2665

class GetEC2RecommendationProjectedMetricsRequest < Struct.new(
  :instance_arn,
  :stat,
  :period,
  :start_time,
  :end_time,
  :recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end