v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Creates an association between an approval rule template and one or more specified repositories.

post/#X-Amz-Target=CodeCommit_20150413.BatchAssociateApprovalRuleTemplateWithRepositories

Headers

X-Amz-Target'CodeCommit_20150413.BatchAssociateApprovalRuleTemplateWithRepositories' required

Request body

approvalRuleTemplateNamestring required

The name of the template you want to associate with one or more repositories.

repositoryNamesRepositoryName[] required
<p>The names of the repositories you want to associate with the template.</p> <note> <p>The length constraint limit is for each string in the array. The array itself can be empty.</p> </note>

Response

Success

associatedRepositoryNamesRepositoryName[] required

A list of names of the repositories that have been associated with the template.