list-snapshots

subtitle

Shows snapshot for a table name in a specific location

version

0.9.126

Description

Returns list of snapshot names

Synopsis

  list-snapshots
--environment-name <value>
--database-name <value>
[--table-name <value>]
[--command-id <value>]
[--from-creation-time <value>]
[--to-creation-time <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--environment-name (string)

The name of the environment

--database-name (string)

The name of the database

--table-name (string)

Table name

--command-id (integer)

Command Id

--from-creation-time (datetime)

The starting snapshot creation time to search snapshots (inclusive).

--to-creation-time (datetime)

The ending snapshot creation time to search snapshots (inclusive).

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

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

environmentName -> (string)

The name of the environment

databaseName -> (string)

The name of the database

snapshots -> (array)

List of snapshots

item -> (object)

An instance of a table’s snapshot.

tableName -> (string)

Table Name

snapshotName -> (string)

Snapshot Name

creationTime -> (integer)

Creation Time

status -> (string)

Snapshot Status Type. NEW - Expected when a snapshot request was just requested. IN_PROGRESS - When a snapshot request is in progress. FAILED - If for any reason a snapshot request has failed. SUCCESSFUL - A snapshot request has completed successfully. LOCKED - A snapshot exists, but can’t be restored or read. DELETED - A snapshot existed but was just deleted. CORRUPT - A snapshot got corrupted. DELETING - A snapshot is being deleted.

commandID -> (integer)

Command id

snapshotLocation -> (string)

Snapshot location

failureReason -> (string)

Reason for the failure in case of snapshot creation failed.

status -> (string)

Snapshot Status Type. NEW - Expected when a snapshot request was just requested. IN_PROGRESS - When a snapshot request is in progress. FAILED - If for any reason a snapshot request has failed. SUCCESSFUL - A snapshot request has completed successfully. LOCKED - A snapshot exists, but can’t be restored or read. DELETED - A snapshot existed but was just deleted. CORRUPT - A snapshot got corrupted. DELETING - A snapshot is being deleted.

statusReason -> (string)

Reason for the status

Form Factors

public