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.OriginApprovalRuleTemplate

Description

 
Synopsis

Documentation

data OriginApprovalRuleTemplate Source #

Returns information about the template that created the approval rule for a pull request.

See: newOriginApprovalRuleTemplate smart constructor.

Constructors

OriginApprovalRuleTemplate' 

Fields

Instances

Instances details
Eq OriginApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate

Read OriginApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate

Show OriginApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate

Generic OriginApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate

Associated Types

type Rep OriginApprovalRuleTemplate :: Type -> Type #

NFData OriginApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate

Hashable OriginApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate

FromJSON OriginApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate

type Rep OriginApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate

type Rep OriginApprovalRuleTemplate = D1 ('MetaData "OriginApprovalRuleTemplate" "Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "OriginApprovalRuleTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "approvalRuleTemplateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "approvalRuleTemplateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newOriginApprovalRuleTemplate :: OriginApprovalRuleTemplate Source #

Create a value of OriginApprovalRuleTemplate 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:approvalRuleTemplateId:OriginApprovalRuleTemplate', originApprovalRuleTemplate_approvalRuleTemplateId - The ID of the template that created the approval rule.

$sel:approvalRuleTemplateName:OriginApprovalRuleTemplate', originApprovalRuleTemplate_approvalRuleTemplateName - The name of the template that created the approval rule.

originApprovalRuleTemplate_approvalRuleTemplateId :: Lens' OriginApprovalRuleTemplate (Maybe Text) Source #

The ID of the template that created the approval rule.

originApprovalRuleTemplate_approvalRuleTemplateName :: Lens' OriginApprovalRuleTemplate (Maybe Text) Source #

The name of the template that created the approval rule.