| 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.CodeGuruReviewer.Types.RecommendationSummary
Description
Synopsis
- data RecommendationSummary = RecommendationSummary' {}
- newRecommendationSummary :: RecommendationSummary
- recommendationSummary_description :: Lens' RecommendationSummary (Maybe Text)
- recommendationSummary_endLine :: Lens' RecommendationSummary (Maybe Int)
- recommendationSummary_filePath :: Lens' RecommendationSummary (Maybe Text)
- recommendationSummary_recommendationCategory :: Lens' RecommendationSummary (Maybe RecommendationCategory)
- recommendationSummary_recommendationId :: Lens' RecommendationSummary (Maybe Text)
- recommendationSummary_ruleMetadata :: Lens' RecommendationSummary (Maybe RuleMetadata)
- recommendationSummary_severity :: Lens' RecommendationSummary (Maybe Severity)
- recommendationSummary_startLine :: Lens' RecommendationSummary (Maybe Int)
Documentation
data RecommendationSummary Source #
Information about recommendations.
See: newRecommendationSummary smart constructor.
Constructors
| RecommendationSummary' | |
Fields
| |
Instances
newRecommendationSummary :: RecommendationSummary Source #
Create a value of RecommendationSummary 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:description:RecommendationSummary', recommendationSummary_description - A description of the recommendation generated by CodeGuru Reviewer for
the lines of code between the start line and the end line.
$sel:endLine:RecommendationSummary', recommendationSummary_endLine - Last line where the recommendation is applicable in the source commit or
source branch. For a single line comment the start line and end line
values are the same.
$sel:filePath:RecommendationSummary', recommendationSummary_filePath - Name of the file on which a recommendation is provided.
$sel:recommendationCategory:RecommendationSummary', recommendationSummary_recommendationCategory - The type of a recommendation.
$sel:recommendationId:RecommendationSummary', recommendationSummary_recommendationId - The recommendation ID that can be used to track the provided
recommendations. Later on it can be used to collect the feedback.
$sel:ruleMetadata:RecommendationSummary', recommendationSummary_ruleMetadata - Metadata about a rule. Rule metadata includes an ID, a name, a list of
tags, and a short and long description. CodeGuru Reviewer uses rules to
analyze code. A rule's recommendation is included in analysis results
if code is detected that violates the rule.
$sel:severity:RecommendationSummary', recommendationSummary_severity - The severity of the issue in the code that generated this
recommendation.
$sel:startLine:RecommendationSummary', recommendationSummary_startLine - Start line from where the recommendation is applicable in the source
commit or source branch.
recommendationSummary_description :: Lens' RecommendationSummary (Maybe Text) Source #
A description of the recommendation generated by CodeGuru Reviewer for the lines of code between the start line and the end line.
recommendationSummary_endLine :: Lens' RecommendationSummary (Maybe Int) Source #
Last line where the recommendation is applicable in the source commit or source branch. For a single line comment the start line and end line values are the same.
recommendationSummary_filePath :: Lens' RecommendationSummary (Maybe Text) Source #
Name of the file on which a recommendation is provided.
recommendationSummary_recommendationCategory :: Lens' RecommendationSummary (Maybe RecommendationCategory) Source #
The type of a recommendation.
recommendationSummary_recommendationId :: Lens' RecommendationSummary (Maybe Text) Source #
The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
recommendationSummary_ruleMetadata :: Lens' RecommendationSummary (Maybe RuleMetadata) Source #
Metadata about a rule. Rule metadata includes an ID, a name, a list of tags, and a short and long description. CodeGuru Reviewer uses rules to analyze code. A rule's recommendation is included in analysis results if code is detected that violates the rule.
recommendationSummary_severity :: Lens' RecommendationSummary (Maybe Severity) Source #
The severity of the issue in the code that generated this recommendation.
recommendationSummary_startLine :: Lens' RecommendationSummary (Maybe Int) Source #
Start line from where the recommendation is applicable in the source commit or source branch.