libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler
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.CodeGuruProfiler.Types.Recommendation

Description

 
Synopsis

Documentation

data Recommendation Source #

A potential improvement that was found from analyzing the profiling data.

See: newRecommendation smart constructor.

Constructors

Recommendation' 

Fields

  • allMatchesCount :: Int

    How many different places in the profile graph triggered a match.

  • allMatchesSum :: Double

    How much of the total sample count is potentially affected.

  • endTime :: POSIX

    End time of the profile that was used by this analysis. This is specified 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.

  • pattern' :: Pattern

    The pattern that analysis recognized in the profile to make this recommendation.

  • startTime :: POSIX

    The start time of the profile that was used by this analysis. This is specified 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.

  • topMatches :: [Match]

    List of the matches with most impact.

Instances

Instances details
Eq Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

Read Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

Show Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

Generic Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

Associated Types

type Rep Recommendation :: Type -> Type #

NFData Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

Methods

rnf :: Recommendation -> () #

Hashable Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

FromJSON Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

type Rep Recommendation Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Recommendation

type Rep Recommendation = D1 ('MetaData "Recommendation" "Amazonka.CodeGuruProfiler.Types.Recommendation" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "Recommendation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allMatchesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "allMatchesSum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))) :*: (S1 ('MetaSel ('Just "pattern'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Pattern) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "topMatches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Match])))))

newRecommendation Source #

Create a value of Recommendation 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:allMatchesCount:Recommendation', recommendation_allMatchesCount - How many different places in the profile graph triggered a match.

$sel:allMatchesSum:Recommendation', recommendation_allMatchesSum - How much of the total sample count is potentially affected.

$sel:endTime:Recommendation', recommendation_endTime - End time of the profile that was used by this analysis. This is specified 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.

$sel:pattern':Recommendation', recommendation_pattern - The pattern that analysis recognized in the profile to make this recommendation.

$sel:startTime:Recommendation', recommendation_startTime - The start time of the profile that was used by this analysis. This is specified 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.

$sel:topMatches:Recommendation', recommendation_topMatches - List of the matches with most impact.

recommendation_allMatchesCount :: Lens' Recommendation Int Source #

How many different places in the profile graph triggered a match.

recommendation_allMatchesSum :: Lens' Recommendation Double Source #

How much of the total sample count is potentially affected.

recommendation_endTime :: Lens' Recommendation UTCTime Source #

End time of the profile that was used by this analysis. This is specified 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.

recommendation_pattern :: Lens' Recommendation Pattern Source #

The pattern that analysis recognized in the profile to make this recommendation.

recommendation_startTime :: Lens' Recommendation UTCTime Source #

The start time of the profile that was used by this analysis. This is specified 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.

recommendation_topMatches :: Lens' Recommendation [Match] Source #

List of the matches with most impact.