amazonka-codeguruprofiler-2.0: Amazon CodeGuru Profiler 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.CodeGuruProfiler.Types.AggregatedProfileTime

Description

 
Synopsis

Documentation

data AggregatedProfileTime Source #

Specifies the aggregation period and aggregation start time for an aggregated profile. An aggregated profile is used to collect posted agent profiles during an aggregation period. There are three possible aggregation periods (1 day, 1 hour, or 5 minutes).

See: newAggregatedProfileTime smart constructor.

Constructors

AggregatedProfileTime' 

Fields

  • period :: Maybe AggregationPeriod

    The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.

    • P1D — 1 day
    • PT1H — 1 hour
    • PT5M — 5 minutes
  • start :: Maybe ISO8601

    The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains profiles posted by the agent starting at this time for an aggregation period specified by the period property of the AggregatedProfileTime object.

    Specify start using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

Instances

Instances details
FromJSON AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

Generic AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

Associated Types

type Rep AggregatedProfileTime :: Type -> Type #

Read AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

Show AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

NFData AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

Methods

rnf :: AggregatedProfileTime -> () #

Eq AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

Hashable AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

type Rep AggregatedProfileTime Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime

type Rep AggregatedProfileTime = D1 ('MetaData "AggregatedProfileTime" "Amazonka.CodeGuruProfiler.Types.AggregatedProfileTime" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "AggregatedProfileTime'" 'PrefixI 'True) (S1 ('MetaSel ('Just "period") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AggregationPeriod)) :*: S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))

newAggregatedProfileTime :: AggregatedProfileTime Source #

Create a value of AggregatedProfileTime 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:period:AggregatedProfileTime', aggregatedProfileTime_period - The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.

  • P1D — 1 day
  • PT1H — 1 hour
  • PT5M — 5 minutes

$sel:start:AggregatedProfileTime', aggregatedProfileTime_start - The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains profiles posted by the agent starting at this time for an aggregation period specified by the period property of the AggregatedProfileTime object.

Specify start using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

aggregatedProfileTime_period :: Lens' AggregatedProfileTime (Maybe AggregationPeriod) Source #

The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.

  • P1D — 1 day
  • PT1H — 1 hour
  • PT5M — 5 minutes

aggregatedProfileTime_start :: Lens' AggregatedProfileTime (Maybe UTCTime) Source #

The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains profiles posted by the agent starting at this time for an aggregation period specified by the period property of the AggregatedProfileTime object.

Specify start using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.