| 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.Pattern
Description
Synopsis
- data Pattern = Pattern' {
- countersToAggregate :: Maybe [Text]
- description :: Maybe Text
- id :: Maybe Text
- name :: Maybe Text
- resolutionSteps :: Maybe Text
- targetFrames :: Maybe [[Text]]
- thresholdPercent :: Maybe Double
- newPattern :: Pattern
- pattern_countersToAggregate :: Lens' Pattern (Maybe [Text])
- pattern_description :: Lens' Pattern (Maybe Text)
- pattern_id :: Lens' Pattern (Maybe Text)
- pattern_name :: Lens' Pattern (Maybe Text)
- pattern_resolutionSteps :: Lens' Pattern (Maybe Text)
- pattern_targetFrames :: Lens' Pattern (Maybe [[Text]])
- pattern_thresholdPercent :: Lens' Pattern (Maybe Double)
Documentation
A set of rules used to make a recommendation during an analysis.
See: newPattern smart constructor.
Constructors
| Pattern' | |
Fields
| |
Instances
newPattern :: Pattern Source #
Create a value of Pattern 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:countersToAggregate:Pattern', pattern_countersToAggregate - A list of the different counters used to determine if there is a match.
$sel:description:Pattern', pattern_description - The description of the recommendation. This explains a potential
inefficiency in a profiled application.
$sel:id:Pattern', pattern_id - The universally unique identifier (UUID) of this pattern.
$sel:name:Pattern', pattern_name - The name for this pattern.
$sel:resolutionSteps:Pattern', pattern_resolutionSteps - A string that contains the steps recommended to address the potential
inefficiency.
$sel:targetFrames:Pattern', pattern_targetFrames - A list of frame names that were searched during the analysis that
generated a recommendation.
$sel:thresholdPercent:Pattern', pattern_thresholdPercent - The percentage of time an application spends in one method that triggers
a recommendation. The percentage of time is the same as the percentage
of the total gathered sample counts during analysis.
pattern_countersToAggregate :: Lens' Pattern (Maybe [Text]) Source #
A list of the different counters used to determine if there is a match.
pattern_description :: Lens' Pattern (Maybe Text) Source #
The description of the recommendation. This explains a potential inefficiency in a profiled application.
pattern_id :: Lens' Pattern (Maybe Text) Source #
The universally unique identifier (UUID) of this pattern.
pattern_resolutionSteps :: Lens' Pattern (Maybe Text) Source #
A string that contains the steps recommended to address the potential inefficiency.