libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts
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.SSMContacts.Types.TimeRange

Description

 
Synopsis

Documentation

data TimeRange Source #

A range of between two set times

See: newTimeRange smart constructor.

Constructors

TimeRange' 

Fields

Instances

Instances details
Eq TimeRange Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.TimeRange

Read TimeRange Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.TimeRange

Show TimeRange Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.TimeRange

Generic TimeRange Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.TimeRange

Associated Types

type Rep TimeRange :: Type -> Type #

NFData TimeRange Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.TimeRange

Methods

rnf :: TimeRange -> () #

Hashable TimeRange Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.TimeRange

ToJSON TimeRange Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.TimeRange

type Rep TimeRange Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.TimeRange

type Rep TimeRange = D1 ('MetaData "TimeRange" "Amazonka.SSMContacts.Types.TimeRange" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "TimeRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))

newTimeRange :: TimeRange Source #

Create a value of TimeRange 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:startTime:TimeRange', timeRange_startTime - The start of the time range.

$sel:endTime:TimeRange', timeRange_endTime - The end of the time range.

timeRange_startTime :: Lens' TimeRange (Maybe UTCTime) Source #

The start of the time range.

timeRange_endTime :: Lens' TimeRange (Maybe UTCTime) Source #

The end of the time range.