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.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
ToJSON 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 #

Read DurationRange Source # 
Instance details

Defined in Amazonka.Inspector.Types.DurationRange

Show DurationRange Source # 
Instance details

Defined in Amazonka.Inspector.Types.DurationRange

NFData DurationRange Source # 
Instance details

Defined in Amazonka.Inspector.Types.DurationRange

Methods

rnf :: DurationRange -> () #

Eq DurationRange Source # 
Instance details

Defined in Amazonka.Inspector.Types.DurationRange

Hashable 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" "amazonka-inspector-2.0-DbkSB2KDR0U54GYFqTMz6L" 'False) (C1 ('MetaCons "DurationRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "minSeconds") '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:maxSeconds:DurationRange', durationRange_maxSeconds - The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).

$sel:minSeconds:DurationRange', durationRange_minSeconds - 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).

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

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