libZSservicesZSamazonka-codecommitZSamazonka-codecommit
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeCommit.Types.Evaluation

Description

 
Synopsis

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

Instances details
Eq Evaluation Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Evaluation

Read Evaluation Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Evaluation

Show Evaluation Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Evaluation

Generic Evaluation Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Evaluation

Associated Types

type Rep Evaluation :: Type -> Type #

NFData Evaluation Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Evaluation

Methods

rnf :: Evaluation -> () #

Hashable Evaluation Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Evaluation

FromJSON Evaluation Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Evaluation

type Rep Evaluation Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Evaluation

type Rep Evaluation = D1 ('MetaData "Evaluation" "Amazonka.CodeCommit.Types.Evaluation" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "Evaluation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "approvalRulesSatisfied") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "approvalRulesNotSatisfied") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "approved") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "overridden") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

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:approvalRulesSatisfied:Evaluation', evaluation_approvalRulesSatisfied - The names of the approval rules that have had their conditions met.

$sel:approvalRulesNotSatisfied:Evaluation', evaluation_approvalRulesNotSatisfied - The names of the approval rules that have not 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_approvalRulesSatisfied :: Lens' Evaluation (Maybe [Text]) Source #

The names of the approval rules that have had their conditions met.

evaluation_approvalRulesNotSatisfied :: Lens' Evaluation (Maybe [Text]) Source #

The names of the approval rules that have not 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.