You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ComputeOptimizer::Types::GetEC2RecommendationProjectedMetricsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComputeOptimizer::Types::GetEC2RecommendationProjectedMetricsRequest
- Defined in:
- (unknown)
Overview
When passing GetEC2RecommendationProjectedMetricsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
instance_arn: "InstanceArn", # required
stat: "Maximum", # required, accepts Maximum, Average
period: 1, # required
start_time: Time.now, # required
end_time: Time.now, # required
}
Instance Attribute Summary collapse
-
#end_time ⇒ Time
The time stamp of the last projected metrics data point to return.
-
#instance_arn ⇒ String
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
-
#period ⇒ Integer
The granularity, in seconds, of the projected metrics data points.
-
#start_time ⇒ Time
The time stamp of the first projected metrics data point to return.
-
#stat ⇒ String
The statistic of the projected metrics.
Instance Attribute Details
#end_time ⇒ Time
The time stamp of the last projected metrics data point to return.
#instance_arn ⇒ String
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
#period ⇒ Integer
The granularity, in seconds, of the projected metrics data points.
#start_time ⇒ Time
The time stamp of the first projected metrics data point to return.
#stat ⇒ String
The statistic of the projected metrics.
Possible values:
- Maximum
- Average