codecommit_associate_approval_rule_template_with_repository: Creates an association between an approval rule template and...

View source: R/codecommit_operations.R

codecommit_associate_approval_rule_template_with_repositoryR Documentation

Creates an association between an approval rule template and a specified repository

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.

See https://www.paws-r-sdk.com/docs/codecommit_associate_approval_rule_template_with_repository/ for full documentation.

Usage

codecommit_associate_approval_rule_template_with_repository(
  approvalRuleTemplateName,
  repositoryName
)

Arguments

approvalRuleTemplateName

[required] The name for the approval rule template.

repositoryName

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


paws.developer.tools documentation built on Sept. 12, 2024, 6:46 a.m.