class Aws::ComputeOptimizer::Types::JobFilter

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.

@note When making an API call, you may pass JobFilter

data as a hash:

    {
      name: "ResourceType", # accepts ResourceType, JobStatus
      values: ["FilterValue"],
    }

@!attribute [rw] name

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`).
@return [String]

@!attribute [rw] 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 `Ec2Instance` or `AutoScalingGroup` if you specify the
  `name` parameter as `ResourceType`. There is no filter for EBS
  volumes because volume recommendations cannot be exported at this
  time.

* Specify `Queued`, `InProgress`, `Complete`, or `Failed` if you
  specify the `name` parameter as `JobStatus`.
@return [Array<String>]

@see docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/JobFilter AWS API Documentation

Constants

SENSITIVE