Struct aws_sdk_computeoptimizer::model::JobFilter
source · [−]#[non_exhaustive]pub struct JobFilter {
pub name: Option<JobFilterName>,
pub values: Option<Vec<String>>,
}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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: 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).
values: Option<Vec<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.
Implementations
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).
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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JobFilter
impl UnwindSafe for JobFilter
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more