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
- data TimeRange = TimeRange' {}
- newTimeRange :: TimeRange
- timeRange_startTime :: Lens' TimeRange (Maybe UTCTime)
- timeRange_endTime :: Lens' TimeRange (Maybe UTCTime)
Documentation
A range of between two set times
See: newTimeRange
smart constructor.
Instances
Eq TimeRange Source # | |
Read TimeRange Source # | |
Show TimeRange Source # | |
Generic TimeRange Source # | |
NFData TimeRange Source # | |
Defined in Amazonka.SSMContacts.Types.TimeRange | |
Hashable TimeRange Source # | |
Defined in Amazonka.SSMContacts.Types.TimeRange | |
ToJSON TimeRange Source # | |
Defined in Amazonka.SSMContacts.Types.TimeRange | |
type Rep TimeRange Source # | |
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.