Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data JobFilter = JobFilter' {}
- newJobFilter :: JobFilter
- jobFilter_values :: Lens' JobFilter (Maybe [Text])
- jobFilter_name :: Lens' JobFilter (Maybe JobFilterName)
Documentation
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.
See: newJobFilter
smart constructor.
JobFilter' | |
|
Instances
Eq JobFilter Source # | |
Read JobFilter Source # | |
Show JobFilter Source # | |
Generic JobFilter Source # | |
NFData JobFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.JobFilter | |
Hashable JobFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.JobFilter | |
ToJSON JobFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.JobFilter | |
type Rep JobFilter Source # | |
Defined in Amazonka.ComputeOptimizer.Types.JobFilter type Rep JobFilter = D1 ('MetaData "JobFilter" "Amazonka.ComputeOptimizer.Types.JobFilter" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "JobFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobFilterName)))) |
newJobFilter :: JobFilter Source #
Create a value of JobFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:values:JobFilter'
, jobFilter_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
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
.
$sel:name:JobFilter'
, jobFilter_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
).
jobFilter_values :: Lens' JobFilter (Maybe [Text]) Source #
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
.
jobFilter_name :: Lens' JobFilter (Maybe JobFilterName) Source #
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
).