Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data DateRange = DateRange' {}
- newDateRange :: UTCTime -> UTCTime -> DateRange
- dateRange_fromDate :: Lens' DateRange UTCTime
- dateRange_toDate :: Lens' DateRange UTCTime
Documentation
This is a resource filter containing FromDate: DateTime and ToDate: DateTime. Both values are required. Future DateTime values are not permitted.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds ((milliseconds are optional). For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
See: newDateRange
smart constructor.
DateRange' | |
|
Instances
FromJSON DateRange Source # | |
ToJSON DateRange Source # | |
Defined in Amazonka.Backup.Types.DateRange | |
Generic DateRange Source # | |
Read DateRange Source # | |
Show DateRange Source # | |
NFData DateRange Source # | |
Defined in Amazonka.Backup.Types.DateRange | |
Eq DateRange Source # | |
Hashable DateRange Source # | |
Defined in Amazonka.Backup.Types.DateRange | |
type Rep DateRange Source # | |
Defined in Amazonka.Backup.Types.DateRange type Rep DateRange = D1 ('MetaData "DateRange" "Amazonka.Backup.Types.DateRange" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "DateRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "toDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))) |
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:fromDate:DateRange'
, dateRange_fromDate
- This value is the beginning date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
$sel:toDate:DateRange'
, dateRange_toDate
- This value is the end date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).