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.Match

Description

 
Synopsis

Documentation

data Match Source #

The part of a profile that contains a recommendation found during analysis.

See: newMatch smart constructor.

Constructors

Match' 

Fields

Instances

Instances details
FromJSON Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Generic Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Associated Types

type Rep Match :: Type -> Type #

Methods

from :: Match -> Rep Match x #

to :: Rep Match x -> Match #

Read Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Show Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Methods

showsPrec :: Int -> Match -> ShowS #

show :: Match -> String #

showList :: [Match] -> ShowS #

NFData Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Methods

rnf :: Match -> () #

Eq Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Methods

(==) :: Match -> Match -> Bool #

(/=) :: Match -> Match -> Bool #

Hashable Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

Methods

hashWithSalt :: Int -> Match -> Int #

hash :: Match -> Int #

type Rep Match Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Match

type Rep Match = D1 ('MetaData "Match" "Amazonka.CodeGuruProfiler.Types.Match" "amazonka-codeguruprofiler-2.0-DsjyOqDx8Zb8uCUpe33U62" 'False) (C1 ('MetaCons "Match'" 'PrefixI 'True) (S1 ('MetaSel ('Just "frameAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetFramesIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "thresholdBreachValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newMatch :: Match Source #

Create a value of Match 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:frameAddress:Match', match_frameAddress - The location in the profiling graph that contains a recommendation found during analysis.

$sel:targetFramesIndex:Match', match_targetFramesIndex - The target frame that triggered a match.

$sel:thresholdBreachValue:Match', match_thresholdBreachValue - The value in the profile data that exceeded the recommendation threshold.

match_frameAddress :: Lens' Match (Maybe Text) Source #

The location in the profiling graph that contains a recommendation found during analysis.

match_targetFramesIndex :: Lens' Match (Maybe Int) Source #

The target frame that triggered a match.

match_thresholdBreachValue :: Lens' Match (Maybe Double) Source #

The value in the profile data that exceeded the recommendation threshold.