| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ComputeOptimizer.Types.LambdaFunctionMemoryRecommendationOption
Description
Synopsis
- data LambdaFunctionMemoryRecommendationOption = LambdaFunctionMemoryRecommendationOption' {}
- newLambdaFunctionMemoryRecommendationOption :: LambdaFunctionMemoryRecommendationOption
- lambdaFunctionMemoryRecommendationOption_memorySize :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe Int)
- lambdaFunctionMemoryRecommendationOption_projectedUtilizationMetrics :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe [LambdaFunctionMemoryProjectedMetric])
- lambdaFunctionMemoryRecommendationOption_rank :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe Int)
- lambdaFunctionMemoryRecommendationOption_savingsOpportunity :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe SavingsOpportunity)
Documentation
data LambdaFunctionMemoryRecommendationOption Source #
Describes a recommendation option for an Lambda function.
See: newLambdaFunctionMemoryRecommendationOption smart constructor.
Constructors
| LambdaFunctionMemoryRecommendationOption' | |
Fields
| |
Instances
newLambdaFunctionMemoryRecommendationOption :: LambdaFunctionMemoryRecommendationOption Source #
Create a value of LambdaFunctionMemoryRecommendationOption 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:memorySize:LambdaFunctionMemoryRecommendationOption', lambdaFunctionMemoryRecommendationOption_memorySize - The memory size, in MB, of the function recommendation option.
$sel:projectedUtilizationMetrics:LambdaFunctionMemoryRecommendationOption', lambdaFunctionMemoryRecommendationOption_projectedUtilizationMetrics - An array of objects that describe the projected utilization metrics of
the function recommendation option.
$sel:rank:LambdaFunctionMemoryRecommendationOption', lambdaFunctionMemoryRecommendationOption_rank - The rank of the function recommendation option.
The top recommendation option is ranked as 1.
$sel:savingsOpportunity:LambdaFunctionMemoryRecommendationOption', lambdaFunctionMemoryRecommendationOption_savingsOpportunity - An object that describes the savings opportunity for the Lambda function
recommendation option. Savings opportunity includes the estimated
monthly savings amount and percentage.
lambdaFunctionMemoryRecommendationOption_memorySize :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe Int) Source #
The memory size, in MB, of the function recommendation option.
lambdaFunctionMemoryRecommendationOption_projectedUtilizationMetrics :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe [LambdaFunctionMemoryProjectedMetric]) Source #
An array of objects that describe the projected utilization metrics of the function recommendation option.
lambdaFunctionMemoryRecommendationOption_rank :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe Int) Source #
The rank of the function recommendation option.
The top recommendation option is ranked as 1.
lambdaFunctionMemoryRecommendationOption_savingsOpportunity :: Lens' LambdaFunctionMemoryRecommendationOption (Maybe SavingsOpportunity) Source #
An object that describes the savings opportunity for the Lambda function recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.