| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.SecurityHub.Types.DateRange
Description
Synopsis
- data DateRange = DateRange' {}
- newDateRange :: DateRange
- dateRange_value :: Lens' DateRange (Maybe Int)
- dateRange_unit :: Lens' DateRange (Maybe DateRangeUnit)
Documentation
A date range for the date filter.
See: newDateRange smart constructor.
Constructors
| DateRange' | |
Instances
| Eq DateRange Source # | |
| Read DateRange Source # | |
| Show DateRange Source # | |
| Generic DateRange Source # | |
| NFData DateRange Source # | |
Defined in Amazonka.SecurityHub.Types.DateRange | |
| Hashable DateRange Source # | |
Defined in Amazonka.SecurityHub.Types.DateRange | |
| ToJSON DateRange Source # | |
Defined in Amazonka.SecurityHub.Types.DateRange | |
| FromJSON DateRange Source # | |
| type Rep DateRange Source # | |
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_unit :: Lens' DateRange (Maybe DateRangeUnit) Source #
A date range unit for the date filter.