Skip to content

Pattern

Source code in docs_src/capo_codeguruprofiler/types/pattern.py
class Pattern(TypedDict, closed=True):
    id: NotRequired["str"]
    """<p>The universally unique identifier (UUID) of this pattern.</p>"""
    name: NotRequired["str"]
    """<p>The name for this pattern.</p>"""
    description: NotRequired["str"]
    """<p>The description of the recommendation. This explains a potential inefficiency in a profiled application.</p>"""
    resolution_steps: NotRequired["str"]
    """<p> A string that contains the steps recommended to address the potential inefficiency. </p>"""
    target_frames: NotRequired["capo_codeguruprofiler.types.target_frames.TargetFrames"]
    """<p>A list of frame names that were searched during the analysis that generated a recommendation.</p>"""
    threshold_percent: "capo_codeguruprofiler.types.percentage.Percentage"
    """<p> 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. </p>"""
    counters_to_aggregate: NotRequired["capo_codeguruprofiler.types.strings.Strings"]
    """<p> A list of the different counters used to determine if there is a match. </p>"""

counters_to_aggregate instance-attribute

counters_to_aggregate: NotRequired[Strings]

A list of the different counters used to determine if there is a match.

description instance-attribute

description: NotRequired[str]

The description of the recommendation. This explains a potential inefficiency in a profiled application.

id instance-attribute

id: NotRequired[str]

The universally unique identifier (UUID) of this pattern.

name instance-attribute

name: NotRequired[str]

The name for this pattern.

resolution_steps instance-attribute

resolution_steps: NotRequired[str]

A string that contains the steps recommended to address the potential inefficiency.

target_frames instance-attribute

target_frames: NotRequired[TargetFrames]

A list of frame names that were searched during the analysis that generated a recommendation.

threshold_percent instance-attribute

threshold_percent: Percentage

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.