amazonka-codecommit-2.0: Amazon CodeCommit SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Read OriginApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate

Show OriginApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate

NFData OriginApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate

Eq OriginApprovalRuleTemplate Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.OriginApprovalRuleTemplate

Hashable 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" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" '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.