#[non_exhaustive]pub struct LambdaFunctionRecommendationFilter { /* private fields */ }Expand description
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.
Implementations§
source§impl LambdaFunctionRecommendationFilter
impl LambdaFunctionRecommendationFilter
sourcepub fn name(&self) -> Option<&LambdaFunctionRecommendationFilterName>
pub fn name(&self) -> Option<&LambdaFunctionRecommendationFilterName>
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).
sourcepub fn values(&self) -> Option<&[String]>
pub fn values(&self) -> Option<&[String]>
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.
source§impl LambdaFunctionRecommendationFilter
impl LambdaFunctionRecommendationFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LambdaFunctionRecommendationFilter.
Trait Implementations§
source§impl Clone for LambdaFunctionRecommendationFilter
impl Clone for LambdaFunctionRecommendationFilter
source§fn clone(&self) -> LambdaFunctionRecommendationFilter
fn clone(&self) -> LambdaFunctionRecommendationFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more