| 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.LambdaFunctionRecommendationFilter
Description
Synopsis
- data LambdaFunctionRecommendationFilter = LambdaFunctionRecommendationFilter' {}
- newLambdaFunctionRecommendationFilter :: LambdaFunctionRecommendationFilter
- lambdaFunctionRecommendationFilter_name :: Lens' LambdaFunctionRecommendationFilter (Maybe LambdaFunctionRecommendationFilterName)
- lambdaFunctionRecommendationFilter_values :: Lens' LambdaFunctionRecommendationFilter (Maybe [Text])
Documentation
data LambdaFunctionRecommendationFilter Source #
Describes a filter that returns a more specific list of Lambda function recommendations. Use this filter with the GetLambdaFunctionRecommendations action.
You can use EBSFilter with the GetEBSVolumeRecommendations action,
JobFilter with the DescribeRecommendationExportJobs action, and
Filter with the GetAutoScalingGroupRecommendations and
GetEC2InstanceRecommendations actions.
See: newLambdaFunctionRecommendationFilter smart constructor.
Constructors
| LambdaFunctionRecommendationFilter' | |
Fields
| |
Instances
newLambdaFunctionRecommendationFilter :: LambdaFunctionRecommendationFilter Source #
Create a value of LambdaFunctionRecommendationFilter 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:name:LambdaFunctionRecommendationFilter', lambdaFunctionRecommendationFilter_name - The name of the filter.
Specify Finding to return recommendations with a specific finding
classification (for example, NotOptimized).
Specify FindingReasonCode to return recommendations with a specific
finding reason code (for example, MemoryUnderprovisioned).
$sel:values:LambdaFunctionRecommendationFilter', lambdaFunctionRecommendationFilter_values - The value of the filter.
The valid values for this parameter are as follows, depending on what
you specify for the name parameter:
- Specify
Optimized,NotOptimized, orUnavailableif you specify thenameparameter asFinding. - Specify
MemoryOverprovisioned,MemoryUnderprovisioned,InsufficientData, orInconclusiveif you specify thenameparameter asFindingReasonCode.
lambdaFunctionRecommendationFilter_name :: Lens' LambdaFunctionRecommendationFilter (Maybe LambdaFunctionRecommendationFilterName) Source #
The name of the filter.
Specify Finding to return recommendations with a specific finding
classification (for example, NotOptimized).
Specify FindingReasonCode to return recommendations with a specific
finding reason code (for example, MemoryUnderprovisioned).
lambdaFunctionRecommendationFilter_values :: Lens' LambdaFunctionRecommendationFilter (Maybe [Text]) Source #
The value of the filter.
The valid values for this parameter are as follows, depending on what
you specify for the name parameter:
- Specify
Optimized,NotOptimized, orUnavailableif you specify thenameparameter asFinding. - Specify
MemoryOverprovisioned,MemoryUnderprovisioned,InsufficientData, orInconclusiveif you specify thenameparameter asFindingReasonCode.