amazonka-rum-2.0: Amazon CloudWatch RUM SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rum.Types.TimeRange

Description

 
Synopsis

Documentation

data TimeRange Source #

A structure that defines the time range that you want to retrieve results from.

See: newTimeRange smart constructor.

Constructors

TimeRange' 

Fields

  • before :: Maybe Integer

    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.

  • after :: Integer

    The beginning of the time range to retrieve performance events from.

Instances

Instances details
ToJSON TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

Generic TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

Associated Types

type Rep TimeRange :: Type -> Type #

Read TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

Show TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

NFData TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

Methods

rnf :: TimeRange -> () #

Eq TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

Hashable TimeRange Source # 
Instance details

Defined in Amazonka.Rum.Types.TimeRange

type Rep TimeRange Source # 
Instance details

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)))

newTimeRange 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: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.

timeRange_before :: Lens' TimeRange (Maybe Integer) Source #

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.

timeRange_after :: Lens' TimeRange Integer Source #

The beginning of the time range to retrieve performance events from.