Struct aws_sdk_computeoptimizer::model::JobFilter
source · #[non_exhaustive]pub struct JobFilter { /* private fields */ }Expand description
Describes a filter that returns a more specific list of recommendation export jobs. Use this filter with the DescribeRecommendationExportJobs action.
You can use EBSFilter with the GetEBSVolumeRecommendations action, LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
Implementations§
source§impl JobFilter
impl JobFilter
sourcepub fn name(&self) -> Option<&JobFilterName>
pub fn name(&self) -> Option<&JobFilterName>
The name of the filter.
Specify ResourceType to return export jobs of a specific resource type (for example, Ec2Instance).
Specify JobStatus to return export jobs with a specific status (e.g, Complete).
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
Ec2InstanceorAutoScalingGroupif you specify thenameparameter asResourceType. There is no filter for EBS volumes because volume recommendations cannot be exported at this time. -
Specify
Queued,InProgress,Complete, orFailedif you specify thenameparameter asJobStatus.