libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

Description

Returns the projected utilization metrics of Amazon EC2 instance recommendations.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run this action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

Synopsis

Creating a Request

data GetEC2RecommendationProjectedMetrics Source #

Constructors

GetEC2RecommendationProjectedMetrics' 

Fields

Instances

Instances details
Eq GetEC2RecommendationProjectedMetrics Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

Read GetEC2RecommendationProjectedMetrics Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

Show GetEC2RecommendationProjectedMetrics Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

Generic GetEC2RecommendationProjectedMetrics Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

NFData GetEC2RecommendationProjectedMetrics Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

Hashable GetEC2RecommendationProjectedMetrics Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

ToJSON GetEC2RecommendationProjectedMetrics Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

AWSRequest GetEC2RecommendationProjectedMetrics Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

ToHeaders GetEC2RecommendationProjectedMetrics Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

ToPath GetEC2RecommendationProjectedMetrics Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

ToQuery GetEC2RecommendationProjectedMetrics Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

type Rep GetEC2RecommendationProjectedMetrics Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

type Rep GetEC2RecommendationProjectedMetrics = D1 ('MetaData "GetEC2RecommendationProjectedMetrics" "Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "GetEC2RecommendationProjectedMetrics'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "recommendationPreferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecommendationPreferences)) :*: (S1 ('MetaSel ('Just "instanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MetricStatistic))) :*: (S1 ('MetaSel ('Just "period") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))))
type AWSResponse GetEC2RecommendationProjectedMetrics Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

newGetEC2RecommendationProjectedMetrics Source #

Create a value of GetEC2RecommendationProjectedMetrics with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:recommendationPreferences:GetEC2RecommendationProjectedMetrics', getEC2RecommendationProjectedMetrics_recommendationPreferences - An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.

$sel:instanceArn:GetEC2RecommendationProjectedMetrics', getEC2RecommendationProjectedMetrics_instanceArn - The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.

$sel:stat:GetEC2RecommendationProjectedMetrics', getEC2RecommendationProjectedMetrics_stat - The statistic of the projected metrics.

$sel:period:GetEC2RecommendationProjectedMetrics', getEC2RecommendationProjectedMetrics_period - The granularity, in seconds, of the projected metrics data points.

$sel:startTime:GetEC2RecommendationProjectedMetrics', getEC2RecommendationProjectedMetrics_startTime - The timestamp of the first projected metrics data point to return.

$sel:endTime:GetEC2RecommendationProjectedMetrics', getEC2RecommendationProjectedMetrics_endTime - The timestamp of the last projected metrics data point to return.

Request Lenses

getEC2RecommendationProjectedMetrics_recommendationPreferences :: Lens' GetEC2RecommendationProjectedMetrics (Maybe RecommendationPreferences) Source #

An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.

getEC2RecommendationProjectedMetrics_instanceArn :: Lens' GetEC2RecommendationProjectedMetrics Text Source #

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

getEC2RecommendationProjectedMetrics_period :: Lens' GetEC2RecommendationProjectedMetrics Int Source #

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

getEC2RecommendationProjectedMetrics_startTime :: Lens' GetEC2RecommendationProjectedMetrics UTCTime Source #

The timestamp of the first projected metrics data point to return.

getEC2RecommendationProjectedMetrics_endTime :: Lens' GetEC2RecommendationProjectedMetrics UTCTime Source #

The timestamp of the last projected metrics data point to return.

Destructuring the Response

data GetEC2RecommendationProjectedMetricsResponse Source #

Constructors

GetEC2RecommendationProjectedMetricsResponse' 

Fields

Instances

Instances details
Eq GetEC2RecommendationProjectedMetricsResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

Read GetEC2RecommendationProjectedMetricsResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

Show GetEC2RecommendationProjectedMetricsResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

Generic GetEC2RecommendationProjectedMetricsResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

NFData GetEC2RecommendationProjectedMetricsResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

type Rep GetEC2RecommendationProjectedMetricsResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics

type Rep GetEC2RecommendationProjectedMetricsResponse = D1 ('MetaData "GetEC2RecommendationProjectedMetricsResponse" "Amazonka.ComputeOptimizer.GetEC2RecommendationProjectedMetrics" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "GetEC2RecommendationProjectedMetricsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recommendedOptionProjectedMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecommendedOptionProjectedMetric])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses