NAME

Paws::ComputeOptimizer::GetEC2RecommendationProjectedMetrics - Arguments for method GetEC2RecommendationProjectedMetrics on Paws::ComputeOptimizer

DESCRIPTION

This class represents the parameters used for calling the method GetEC2RecommendationProjectedMetrics on the AWS Compute Optimizer service. Use the attributes of this class as arguments to method GetEC2RecommendationProjectedMetrics.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetEC2RecommendationProjectedMetrics.

SYNOPSIS

my $compute-optimizer = Paws->service('ComputeOptimizer');
my $GetEC2RecommendationProjectedMetricsResponse =
  $compute -optimizer->GetEC2RecommendationProjectedMetrics(
  EndTime     => '1970-01-01T01:00:00',
  InstanceArn => 'MyInstanceArn',
  Period      => 1,
  StartTime   => '1970-01-01T01:00:00',
  Stat        => 'Maximum',

  );

# Results:
my $RecommendedOptionProjectedMetrics =
  $GetEC2RecommendationProjectedMetricsResponse
  ->RecommendedOptionProjectedMetrics;

# Returns a Paws::ComputeOptimizer::GetEC2RecommendationProjectedMetricsResponse object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer/GetEC2RecommendationProjectedMetrics

ATTRIBUTES

REQUIRED EndTime => Str

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

REQUIRED InstanceArn => Str

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

REQUIRED Period => Int

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

REQUIRED StartTime => Str

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

REQUIRED Stat => Str

The statistic of the projected metrics.

Valid values are: "Maximum", "Average"

SEE ALSO

This class forms part of Paws, documenting arguments for method GetEC2RecommendationProjectedMetrics in Paws::ComputeOptimizer

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues