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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2935

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)


2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2935

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)


2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2935

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.



2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2935

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)


2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2935

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)


2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2935

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