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 |
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.
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:to:DateTimeRange'
, dateTimeRange_to
- The ending date and time of a time range.
$sel:from:DateTimeRange'
, dateTimeRange_from
- 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.
dateTimeRange_from :: Lens' DateTimeRange (Maybe UTCTime) Source #
The starting date and time of a time range.