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.DurationRange

Description

 
Synopsis

Documentation

data DurationRange Source #

This data type is used in the AssessmentTemplateFilter data type.

See: newDurationRange smart constructor.

Constructors

DurationRange' 

Fields

Instances

Instances details
Eq DurationRange Source # 
Instance details

Defined in Amazonka.Inspector.Types.DurationRange

Read DurationRange Source # 
Instance details

Defined in Amazonka.Inspector.Types.DurationRange

Show DurationRange Source # 
Instance details

Defined in Amazonka.Inspector.Types.DurationRange

Generic DurationRange Source # 
Instance details

Defined in Amazonka.Inspector.Types.DurationRange

Associated Types

type Rep DurationRange :: Type -> Type #

NFData DurationRange Source # 
Instance details

Defined in Amazonka.Inspector.Types.DurationRange

Methods

rnf :: DurationRange -> () #

Hashable DurationRange Source # 
Instance details

Defined in Amazonka.Inspector.Types.DurationRange

ToJSON DurationRange Source # 
Instance details

Defined in Amazonka.Inspector.Types.DurationRange

type Rep DurationRange Source # 
Instance details

Defined in Amazonka.Inspector.Types.DurationRange

type Rep DurationRange = D1 ('MetaData "DurationRange" "Amazonka.Inspector.Types.DurationRange" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "DurationRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "minSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "maxSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newDurationRange :: DurationRange Source #

Create a value of DurationRange 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:minSeconds:DurationRange', durationRange_minSeconds - The minimum value of the duration range. Must be greater than zero.

$sel:maxSeconds:DurationRange', durationRange_maxSeconds - The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).

durationRange_minSeconds :: Lens' DurationRange (Maybe Natural) Source #

The minimum value of the duration range. Must be greater than zero.

durationRange_maxSeconds :: Lens' DurationRange (Maybe Natural) Source #

The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).