libZSservicesZSamazonka-inspectorZSamazonka-inspector
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Inspector.Types.AssessmentRunFilter

Description

 
Synopsis

Documentation

data AssessmentRunFilter Source #

Used as the request parameter in the ListAssessmentRuns action.

See: newAssessmentRunFilter smart constructor.

Constructors

AssessmentRunFilter' 

Fields

  • states :: Maybe [AssessmentRunState]

    For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.

  • namePattern :: Maybe Text

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

  • startTimeRange :: Maybe TimestampRange

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

  • stateChangeTimeRange :: Maybe TimestampRange

    For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.

  • rulesPackageArns :: Maybe [Text]

    For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.

  • completionTimeRange :: Maybe TimestampRange

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

  • durationRange :: Maybe DurationRange

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

Instances

Instances details
Eq AssessmentRunFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunFilter

Read AssessmentRunFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunFilter

Show AssessmentRunFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunFilter

Generic AssessmentRunFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunFilter

Associated Types

type Rep AssessmentRunFilter :: Type -> Type #

NFData AssessmentRunFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunFilter

Methods

rnf :: AssessmentRunFilter -> () #

Hashable AssessmentRunFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunFilter

ToJSON AssessmentRunFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunFilter

type Rep AssessmentRunFilter Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssessmentRunFilter

type Rep AssessmentRunFilter = D1 ('MetaData "AssessmentRunFilter" "Amazonka.Inspector.Types.AssessmentRunFilter" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "AssessmentRunFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "states") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AssessmentRunState])) :*: (S1 ('MetaSel ('Just "namePattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startTimeRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimestampRange)))) :*: ((S1 ('MetaSel ('Just "stateChangeTimeRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimestampRange)) :*: S1 ('MetaSel ('Just "rulesPackageArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "completionTimeRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimestampRange)) :*: S1 ('MetaSel ('Just "durationRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DurationRange))))))

newAssessmentRunFilter :: AssessmentRunFilter Source #

Create a value of AssessmentRunFilter 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:states:AssessmentRunFilter', assessmentRunFilter_states - For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.

$sel:namePattern:AssessmentRunFilter', assessmentRunFilter_namePattern - For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the assessmentRunName property of the AssessmentRun data type.

$sel:startTimeRange:AssessmentRunFilter', assessmentRunFilter_startTimeRange - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the AssessmentRun data type.

$sel:stateChangeTimeRange:AssessmentRunFilter', assessmentRunFilter_stateChangeTimeRange - For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.

$sel:rulesPackageArns:AssessmentRunFilter', assessmentRunFilter_rulesPackageArns - For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.

$sel:completionTimeRange:AssessmentRunFilter', assessmentRunFilter_completionTimeRange - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completedAt property of the AssessmentRun data type.

$sel:durationRange:AssessmentRunFilter', assessmentRunFilter_durationRange - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentRun data type.

assessmentRunFilter_states :: Lens' AssessmentRunFilter (Maybe [AssessmentRunState]) Source #

For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.

assessmentRunFilter_namePattern :: Lens' AssessmentRunFilter (Maybe Text) Source #

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

assessmentRunFilter_startTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange) Source #

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

assessmentRunFilter_stateChangeTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange) Source #

For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.

assessmentRunFilter_rulesPackageArns :: Lens' AssessmentRunFilter (Maybe [Text]) Source #

For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.

assessmentRunFilter_completionTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange) Source #

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

assessmentRunFilter_durationRange :: Lens' AssessmentRunFilter (Maybe DurationRange) Source #

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