Skip to content

Get Repository Sync Status

codestarconnections_get_repository_sync_status R Documentation

Returns details about the sync status for a repository

Description

Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes from your remote repository.

Usage

codestarconnections_get_repository_sync_status(Branch, RepositoryLinkId,
  SyncType)

Arguments

Branch

[required] The branch of the repository link for the requested repository sync status.

RepositoryLinkId

[required] The repository link ID for the requested repository sync status.

SyncType

[required] The sync type of the requested sync status.

Value

A list with the following syntax:

list(
  LatestSync = list(
    StartedAt = as.POSIXct(
      "2015-01-01"
    ),
    Status = "FAILED"|"INITIATED"|"IN_PROGRESS"|"SUCCEEDED"|"QUEUED",
    Events = list(
      list(
        Event = "string",
        ExternalId = "string",
        Time = as.POSIXct(
          "2015-01-01"
        ),
        Type = "string"
      )
    )
  )
)

Request syntax

svc$get_repository_sync_status(
  Branch = "string",
  RepositoryLinkId = "string",
  SyncType = "CFN_STACK_SYNC"
)