amazonka-inspector-2.0: Amazon Inspector SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Inspector.Types.AssessmentTemplateFilter

Description

 
Synopsis

Documentation

data AssessmentTemplateFilter Source #

Used as the request parameter in the ListAssessmentTemplates action.

See: newAssessmentTemplateFilter smart constructor.

Constructors

AssessmentTemplateFilter' 

Fields

  • durationRange :: Maybe DurationRange

    For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentTemplate data type.

  • namePattern :: Maybe Text

    For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTemplateName property of the AssessmentTemplate data type.

  • rulesPackageArns :: Maybe [Text]

    For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate data type.

Instances

Instances details
ToJSON AssessmentTemplateFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTemplateFilter

Generic AssessmentTemplateFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTemplateFilter

Associated Types

type Rep AssessmentTemplateFilter :: Type -> Type #

Read AssessmentTemplateFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTemplateFilter

Show AssessmentTemplateFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTemplateFilter

NFData AssessmentTemplateFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTemplateFilter

Eq AssessmentTemplateFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTemplateFilter

Hashable AssessmentTemplateFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTemplateFilter

type Rep AssessmentTemplateFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentTemplateFilter

type Rep AssessmentTemplateFilter = D1 ('MetaData "AssessmentTemplateFilter" "Amazonka.Inspector.Types.AssessmentTemplateFilter" "amazonka-inspector-2.0-DbkSB2KDR0U54GYFqTMz6L" 'False) (C1 ('MetaCons "AssessmentTemplateFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "durationRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DurationRange)) :*: (S1 ('MetaSel ('Just "namePattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "rulesPackageArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newAssessmentTemplateFilter :: AssessmentTemplateFilter Source #

Create a value of AssessmentTemplateFilter 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:durationRange:AssessmentTemplateFilter', assessmentTemplateFilter_durationRange - For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentTemplate data type.

$sel:namePattern:AssessmentTemplateFilter', assessmentTemplateFilter_namePattern - For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTemplateName property of the AssessmentTemplate data type.

$sel:rulesPackageArns:AssessmentTemplateFilter', assessmentTemplateFilter_rulesPackageArns - For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate data type.

assessmentTemplateFilter_durationRange :: Lens' AssessmentTemplateFilter (Maybe DurationRange) Source #

For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentTemplate data type.

assessmentTemplateFilter_namePattern :: Lens' AssessmentTemplateFilter (Maybe Text) Source #

For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTemplateName property of the AssessmentTemplate data type.

assessmentTemplateFilter_rulesPackageArns :: Lens' AssessmentTemplateFilter (Maybe [Text]) Source #

For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate data type.