Skip to content

List repository sync definitions with detail data

Description

List repository sync definitions with detail data.

Usage

proton_list_repository_sync_definitions(nextToken, repositoryName,
  repositoryProvider, syncType)

Arguments

  • nextToken

    A token that indicates the location of the next repository sync definition in the array of repository sync definitions, after the list of repository sync definitions previously requested.

  • repositoryName

    [required] The repository name.

  • repositoryProvider

    [required] The repository provider.

  • syncType

    [required] The sync type. The only supported value is TEMPLATE_SYNC.

Value

A list with the following syntax:

list(
  nextToken = "string",
  syncDefinitions = list(
    list(
      branch = "string",
      directory = "string",
      parent = "string",
      target = "string"
    )
  )
)

Request syntax

svc$list_repository_sync_definitions(
  nextToken = "string",
  repositoryName = "string",
  repositoryProvider = "GITHUB"|"GITHUB_ENTERPRISE"|"BITBUCKET",
  syncType = "TEMPLATE_SYNC"|"SERVICE_SYNC"
)