| 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 |
Amazonka.CodeGuruProfiler.Types.Recommendation
Description
Synopsis
- data Recommendation = Recommendation' {
- allMatchesCount :: Int
- allMatchesSum :: Double
- endTime :: ISO8601
- pattern' :: Pattern
- startTime :: ISO8601
- topMatches :: [Match]
- newRecommendation :: Int -> Double -> UTCTime -> Pattern -> UTCTime -> Recommendation
- recommendation_allMatchesCount :: Lens' Recommendation Int
- recommendation_allMatchesSum :: Lens' Recommendation Double
- recommendation_endTime :: Lens' Recommendation UTCTime
- recommendation_pattern :: Lens' Recommendation Pattern
- recommendation_startTime :: Lens' Recommendation UTCTime
- recommendation_topMatches :: Lens' Recommendation [Match]
Documentation
data Recommendation Source #
A potential improvement that was found from analyzing the profiling data.
See: newRecommendation smart constructor.
Constructors
| Recommendation' | |
Fields
| |
Instances
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.