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 |
Synopsis
- data TimeRange = TimeRange' {}
- newTimeRange :: Integer -> TimeRange
- timeRange_before :: Lens' TimeRange (Maybe Integer)
- timeRange_after :: Lens' TimeRange Integer
Documentation
A structure that defines the time range that you want to retrieve results from.
See: newTimeRange
smart constructor.
Instances
ToJSON TimeRange Source # | |
Defined in Amazonka.Rum.Types.TimeRange | |
Generic TimeRange Source # | |
Read TimeRange Source # | |
Show TimeRange Source # | |
NFData TimeRange Source # | |
Defined in Amazonka.Rum.Types.TimeRange | |
Eq TimeRange Source # | |
Hashable TimeRange Source # | |
Defined in Amazonka.Rum.Types.TimeRange | |
type Rep TimeRange Source # | |
Defined in Amazonka.Rum.Types.TimeRange type Rep TimeRange = D1 ('MetaData "TimeRange" "Amazonka.Rum.Types.TimeRange" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "TimeRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "before") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "after") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer))) |
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:before:TimeRange'
, timeRange_before
- The end of the time range to retrieve performance events from. If you
omit this, the time range extends to the time that this operation is
performed.
$sel:after:TimeRange'
, timeRange_after
- The beginning of the time range to retrieve performance events from.