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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#end_timeTime

The time stamp of the last projected metrics data point to return.

Returns:

  • (Time)

    The time stamp of the last projected metrics data point to return.

#instance_arnString

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

Returns:

  • (String)

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

#periodInteger

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

Returns:

  • (Integer)

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

#start_timeTime

The time stamp of the first projected metrics data point to return.

Returns:

  • (Time)

    The time stamp of the first projected metrics data point to return.

#statString

The statistic of the projected metrics.

Possible values:

  • Maximum
  • Average

Returns:

  • (String)

    The statistic of the projected metrics.