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)


2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2820

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)


2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2820

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)


2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2820

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.



2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2820

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)


2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2820

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)


2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 2820

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