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

Description

Creates an association between an approval rule template and a specified repository. Then, the next time a pull request is created in the repository where the destination reference (if specified) matches the destination reference (branch) for the pull request, an approval rule that matches the template conditions is automatically created for that pull request. If no destination references are specified in the template, an approval rule that matches the template contents is created for all pull requests in that repository.

Synopsis

Creating a Request

data AssociateApprovalRuleTemplateWithRepository Source #

Constructors

AssociateApprovalRuleTemplateWithRepository' 

Fields

Instances

Instances details
Eq AssociateApprovalRuleTemplateWithRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

Read AssociateApprovalRuleTemplateWithRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

Show AssociateApprovalRuleTemplateWithRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

Generic AssociateApprovalRuleTemplateWithRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

NFData AssociateApprovalRuleTemplateWithRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

Hashable AssociateApprovalRuleTemplateWithRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

ToJSON AssociateApprovalRuleTemplateWithRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

AWSRequest AssociateApprovalRuleTemplateWithRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

ToHeaders AssociateApprovalRuleTemplateWithRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

ToPath AssociateApprovalRuleTemplateWithRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

ToQuery AssociateApprovalRuleTemplateWithRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

type Rep AssociateApprovalRuleTemplateWithRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

type Rep AssociateApprovalRuleTemplateWithRepository = D1 ('MetaData "AssociateApprovalRuleTemplateWithRepository" "Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "AssociateApprovalRuleTemplateWithRepository'" 'PrefixI 'True) (S1 ('MetaSel ('Just "approvalRuleTemplateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AssociateApprovalRuleTemplateWithRepository Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

Request Lenses

associateApprovalRuleTemplateWithRepository_repositoryName :: Lens' AssociateApprovalRuleTemplateWithRepository Text Source #

The name of the repository that you want to associate with the template.

Destructuring the Response

data AssociateApprovalRuleTemplateWithRepositoryResponse Source #

Instances

Instances details
Eq AssociateApprovalRuleTemplateWithRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

Read AssociateApprovalRuleTemplateWithRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

Show AssociateApprovalRuleTemplateWithRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

Generic AssociateApprovalRuleTemplateWithRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

NFData AssociateApprovalRuleTemplateWithRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

type Rep AssociateApprovalRuleTemplateWithRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository

type Rep AssociateApprovalRuleTemplateWithRepositoryResponse = D1 ('MetaData "AssociateApprovalRuleTemplateWithRepositoryResponse" "Amazonka.CodeCommit.AssociateApprovalRuleTemplateWithRepository" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "AssociateApprovalRuleTemplateWithRepositoryResponse'" 'PrefixI 'False) (U1 :: Type -> Type))