You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ComputeOptimizer::Types::JobFilter

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing JobFilter as input to an Aws::Client method, you can use a vanilla Hash:

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

Describes a filter that returns a more specific list of recommendation export jobs.

This filter is used with the DescribeRecommendationExportJobs action.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the filter.

Specify ResourceType to return export jobs of a specific resource type (e.g., Ec2Instance).

Specify JobStatus to return export jobs with a specific status (e.g, Complete).

Possible values:

  • ResourceType
  • JobStatus

Returns:

  • (String)

    The name of the filter.

#valuesArray<String>

The value of the filter.

If you specify the name parameter as ResourceType, the valid values are Ec2Instance or AutoScalingGroup.

If you specify the name parameter as JobStatus, the valid values are Queued, InProgress, Complete, or Failed.

Returns:

  • (Array<String>)

    The value of the filter.