| 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.CodeCommit.Types.Evaluation
Description
Synopsis
- data Evaluation = Evaluation' {}
- newEvaluation :: Evaluation
- evaluation_approvalRulesNotSatisfied :: Lens' Evaluation (Maybe [Text])
- evaluation_approvalRulesSatisfied :: Lens' Evaluation (Maybe [Text])
- evaluation_approved :: Lens' Evaluation (Maybe Bool)
- evaluation_overridden :: Lens' Evaluation (Maybe Bool)
Documentation
data Evaluation Source #
Returns information about the approval rules applied to a pull request and whether conditions have been met.
See: newEvaluation smart constructor.
Constructors
| Evaluation' | |
Fields
| |
Instances
newEvaluation :: Evaluation Source #
Create a value of Evaluation 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:approvalRulesNotSatisfied:Evaluation', evaluation_approvalRulesNotSatisfied - The names of the approval rules that have not had their conditions met.
$sel:approvalRulesSatisfied:Evaluation', evaluation_approvalRulesSatisfied - The names of the approval rules that have had their conditions met.
$sel:approved:Evaluation', evaluation_approved - Whether the state of the pull request is approved.
$sel:overridden:Evaluation', evaluation_overridden - Whether the approval rule requirements for the pull request have been
overridden and no longer need to be met.
evaluation_approvalRulesNotSatisfied :: Lens' Evaluation (Maybe [Text]) Source #
The names of the approval rules that have not had their conditions met.
evaluation_approvalRulesSatisfied :: Lens' Evaluation (Maybe [Text]) Source #
The names of the approval rules that have had their conditions met.
evaluation_approved :: Lens' Evaluation (Maybe Bool) Source #
Whether the state of the pull request is approved.
evaluation_overridden :: Lens' Evaluation (Maybe Bool) Source #
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.