Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . proton ]

get-template-sync-status

Description

Get the status of a template sync.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  get-template-sync-status
--template-name <value>
--template-type <value>
--template-version <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--template-name (string)

The template name.

--template-type (string)

The template type.

Possible values:

  • ENVIRONMENT
  • SERVICE

--template-version (string)

The template major version.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI 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.

--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. 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.

Output

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.