repository_sync_status
Creates, updates, deletes, gets or lists a repository_sync_status resource.
Overview
| Name | repository_sync_status |
| Type | Resource |
| Id | aws.codestar_connections.repository_sync_status |
Fields
The following fields are returned by SELECT queries:
- get_repository_sync_status
| Name | Datatype | Description |
|---|---|---|
events | array | The events associated with a specific sync attempt. |
started_at | string (date-time) | The start time of a specific sync attempt. |
status | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_repository_sync_status | select | region | Returns 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_repository_sync_status
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.codestar_connections.repository_sync_status
WHERE region = '{{ region }}' -- required
;