Class: Aws::ComputeOptimizer::Types::JobFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComputeOptimizer::Types::JobFilter
- Defined in:
- gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb
Overview
When making an API call, you may pass JobFilter data as a hash:
{
name: "ResourceType", # accepts ResourceType, JobStatus
values: ["FilterValue"],
}
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the filter.
-
#values ⇒ Array<String>
The value of the filter.
Instance Attribute Details
#name ⇒ String
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
).
2729 2730 2731 2732 2733 2734 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 2729 class JobFilter < Struct.new( :name, :values) SENSITIVE = [] include Aws::Structure end |
#values ⇒ Array<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
Ec2Instance
orAutoScalingGroup
if you specify thename
parameter asResourceType
. There is no filter for EBS volumes because volume recommendations cannot be exported at this time.Specify
Queued
,InProgress
,Complete
, orFailed
if you specify thename
parameter asJobStatus
.
2729 2730 2731 2732 2733 2734 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 2729 class JobFilter < Struct.new( :name, :values) SENSITIVE = [] include Aws::Structure end |