Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data LambdaFunctionRecommendationFilter = LambdaFunctionRecommendationFilter' {}
- newLambdaFunctionRecommendationFilter :: LambdaFunctionRecommendationFilter
- lambdaFunctionRecommendationFilter_values :: Lens' LambdaFunctionRecommendationFilter (Maybe [Text])
- lambdaFunctionRecommendationFilter_name :: Lens' LambdaFunctionRecommendationFilter (Maybe LambdaFunctionRecommendationFilterName)
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.
LambdaFunctionRecommendationFilter' | |
|
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: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
, orUnavailable
if you specify thename
parameter asFinding
. - Specify
MemoryOverprovisioned
,MemoryUnderprovisioned
,InsufficientData
, orInconclusive
if you specify thename
parameter asFindingReasonCode
.
$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
).
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
, orUnavailable
if you specify thename
parameter asFinding
. - Specify
MemoryOverprovisioned
,MemoryUnderprovisioned
,InsufficientData
, orInconclusive
if you specify thename
parameter 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
).