libZSservicesZSamazonka-healthZSamazonka-health
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.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' 

Fields

Instances

Instances details
Eq DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

Read DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

Show DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

Generic DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

Associated Types

type Rep DateTimeRange :: Type -> Type #

NFData DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

Methods

rnf :: DateTimeRange -> () #

Hashable DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

ToJSON DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

type Rep DateTimeRange Source # 
Instance details

Defined in Amazonka.AWSHealth.Types.DateTimeRange

type Rep DateTimeRange = D1 ('MetaData "DateTimeRange" "Amazonka.AWSHealth.Types.DateTimeRange" "libZSservicesZSamazonka-healthZSamazonka-health" 'False) (C1 ('MetaCons "DateTimeRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "to") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "from") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))

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.