| 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 |
Amazonka.AWSHealth.Types.DateTimeRange
Description
Synopsis
Documentation
data DateTimeRange Source #
A range of dates and times that is used by the
EventFilter
and
EntityFilter
objects. If from is set and to is set: match items where the
timestamp (startTime, endTime, or lastUpdatedTime) is between
from and to inclusive. If from is set and to is not set: match
items where the timestamp value is equal to or after from. If from
is not set and to is set: match items where the timestamp value is
equal to or before to.
See: newDateTimeRange smart constructor.
Constructors
| DateTimeRange' | |
Instances
newDateTimeRange :: DateTimeRange Source #
Create a value of DateTimeRange 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:from:DateTimeRange', dateTimeRange_from - The starting date and time of a time range.
$sel:to:DateTimeRange', dateTimeRange_to - The ending date and time of a time range.
dateTimeRange_from :: Lens' DateTimeRange (Maybe UTCTime) Source #
The starting date and time of a time range.
dateTimeRange_to :: Lens' DateTimeRange (Maybe UTCTime) Source #
The ending date and time of a time range.