Skip to main content

repository_sync_status

Creates, updates, deletes, gets or lists a repository_sync_status resource.

Overview

Namerepository_sync_status
TypeResource
Idaws.codeconnections.repository_sync_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
eventsarrayThe events associated with a specific sync attempt.
started_atstring (date-time)The start time of a specific sync attempt.
statusstringThe status of a specific sync attempt. The following are valid statuses: INITIATED - A repository sync attempt has been created and will begin soon. IN_PROGRESS - A repository sync attempt has started and work is being done to reconcile the branch. SUCCEEDED - The repository sync attempt has completed successfully. FAILED - The repository sync attempt has failed. QUEUED - The repository sync attempt didn't execute and was queued. (FAILED, INITIATED, IN_PROGRESS, SUCCEEDED, QUEUED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_repository_sync_statusselectregionReturns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes from your remote repository.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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

SELECT
events,
started_at,
status
FROM aws.codeconnections.repository_sync_status
WHERE region = '{{ region }}' -- required
;