Skip to content

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

Description

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

Usage

codecommit_batch_associate_approval_rule_template_with_repositories(
  approvalRuleTemplateName, repositoryNames)

Arguments

  • approvalRuleTemplateName

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

  • repositoryNames

    [required] The names of the repositories you want to associate with the template.

    The length constraint limit is for each string in the array. The array itself can be empty.

Value

A list with the following syntax:

list(
  associatedRepositoryNames = list(
    "string"
  ),
  errors = list(
    list(
      repositoryName = "string",
      errorCode = "string",
      errorMessage = "string"
    )
  )
)

Request syntax

svc$batch_associate_approval_rule_template_with_repositories(
  approvalRuleTemplateName = "string",
  repositoryNames = list(
    "string"
  )
)