Skip to content

List Sync Configurations

codestarconnections_list_sync_configurations R Documentation

Returns a list of sync configurations for a specified repository

Description

Returns a list of sync configurations for a specified repository.

Usage

codestarconnections_list_sync_configurations(MaxResults, NextToken,
  RepositoryLinkId, SyncType)

Arguments

MaxResults

A non-zero, non-negative integer used to limit the number of returned results.

NextToken

An enumeration token that allows the operation to batch the results of the operation.

RepositoryLinkId

[required] The ID of the repository link for the requested list of sync configurations.

SyncType

[required] The sync type for the requested list of sync configurations.

Value

A list with the following syntax:

list(
  SyncConfigurations = list(
    list(
      Branch = "string",
      ConfigFile = "string",
      OwnerId = "string",
      ProviderType = "Bitbucket"|"GitHub"|"GitHubEnterpriseServer"|"GitLab"|"GitLabSelfManaged",
      RepositoryLinkId = "string",
      RepositoryName = "string",
      ResourceName = "string",
      RoleArn = "string",
      SyncType = "CFN_STACK_SYNC",
      PublishDeploymentStatus = "ENABLED"|"DISABLED",
      TriggerResourceUpdateOn = "ANY_CHANGE"|"FILE_CHANGE"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_sync_configurations(
  MaxResults = 123,
  NextToken = "string",
  RepositoryLinkId = "string",
  SyncType = "CFN_STACK_SYNC"
)