Get the status of a template sync.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
get-template-sync-status
--template-name <value>
--template-type <value>
--template-version <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--template-name
(string)
The template name.
--template-type
(string)
The template type.
Possible values:
ENVIRONMENT
SERVICE
--template-version
(string)
The template version.
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
See ‘aws help’ for descriptions of global parameters.
desiredState -> (structure)
The template sync desired state that’s returned by Proton.
branch -> (string)
The repository branch.
directory -> (string)
The repository directory changed by a commit and push that activated the sync attempt.
repositoryName -> (string)
The repository name.
repositoryProvider -> (string)
The repository provider.
sha -> (string)
The secure hash algorithm (SHA) hash for the revision.
latestSuccessfulSync -> (structure)
The details of the last successful sync that’s returned by Proton.
events -> (list)
An array of events with detail data.
(structure)
Detail data for a resource sync event.
event -> (string)
A resource sync event.
externalId -> (string)
The external ID for the event.
time -> (timestamp)
The time when the event occurred.
type -> (string)
The type of event.
initialRevision -> (structure)
Detail data for the initial repository commit, path and push.
branch -> (string)
The repository branch.
directory -> (string)
The repository directory changed by a commit and push that activated the sync attempt.
repositoryName -> (string)
The repository name.
repositoryProvider -> (string)
The repository provider.
sha -> (string)
The secure hash algorithm (SHA) hash for the revision.
startedAt -> (timestamp)
The time when the sync attempt started.
status -> (string)
The status of the sync attempt.
target -> (string)
The resource that is synced to.
targetRevision -> (structure)
Detail data for the target revision.
branch -> (string)
The repository branch.
directory -> (string)
The repository directory changed by a commit and push that activated the sync attempt.
repositoryName -> (string)
The repository name.
repositoryProvider -> (string)
The repository provider.
sha -> (string)
The secure hash algorithm (SHA) hash for the revision.
latestSync -> (structure)
The details of the last sync that’s returned by Proton.
events -> (list)
An array of events with detail data.
(structure)
Detail data for a resource sync event.
event -> (string)
A resource sync event.
externalId -> (string)
The external ID for the event.
time -> (timestamp)
The time when the event occurred.
type -> (string)
The type of event.
initialRevision -> (structure)
Detail data for the initial repository commit, path and push.
branch -> (string)
The repository branch.
directory -> (string)
The repository directory changed by a commit and push that activated the sync attempt.
repositoryName -> (string)
The repository name.
repositoryProvider -> (string)
The repository provider.
sha -> (string)
The secure hash algorithm (SHA) hash for the revision.
startedAt -> (timestamp)
The time when the sync attempt started.
status -> (string)
The status of the sync attempt.
target -> (string)
The resource that is synced to.
targetRevision -> (structure)
Detail data for the target revision.
branch -> (string)
The repository branch.
directory -> (string)
The repository directory changed by a commit and push that activated the sync attempt.
repositoryName -> (string)
The repository name.
repositoryProvider -> (string)
The repository provider.
sha -> (string)
The secure hash algorithm (SHA) hash for the revision.