Skip to main content

repository_sync_status

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

Overview

Namerepository_sync_status
TypeResource
Idaws.proton.repository_sync_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
eventsarrayDetail data for sync attempt events.
started_atstring (date-time)The time when the sync attempt started.
statusstringThe sync attempt status. (INITIATED, IN_PROGRESS, SUCCEEDED, FAILED, QUEUED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_repository_sync_statusselectregionGet the sync status of a repository used for Proton template sync. For more information about template sync, see . A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control (ABAC). For more information about ABAC, see ABAC in the Proton User Guide.

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

Get the sync status of a repository used for Proton template sync. For more information about template sync, see . A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control (ABAC). For more information about ABAC, see ABAC in the Proton User Guide.

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