libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.Types.DateRange

Description

 
Synopsis

Documentation

data DateRange Source #

A date range for the date filter.

See: newDateRange smart constructor.

Constructors

DateRange' 

Fields

Instances

Instances details
Eq DateRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DateRange

Read DateRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DateRange

Show DateRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DateRange

Generic DateRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DateRange

Associated Types

type Rep DateRange :: Type -> Type #

NFData DateRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DateRange

Methods

rnf :: DateRange -> () #

Hashable DateRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DateRange

ToJSON DateRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DateRange

FromJSON DateRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DateRange

type Rep DateRange Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.DateRange

type Rep DateRange = D1 ('MetaData "DateRange" "Amazonka.SecurityHub.Types.DateRange" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DateRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DateRangeUnit))))

newDateRange :: DateRange Source #

Create a value of DateRange 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:value:DateRange', dateRange_value - A date range value for the date filter.

$sel:unit:DateRange', dateRange_unit - A date range unit for the date filter.

dateRange_value :: Lens' DateRange (Maybe Int) Source #

A date range value for the date filter.

dateRange_unit :: Lens' DateRange (Maybe DateRangeUnit) Source #

A date range unit for the date filter.