get-archiving-status

subtitle

Retrieve the status for an archive process.

version

0.9.126

Description

Returns the current status for the request archive process. WARNING: This command is experimental and subject to backwards-incompatible change.

Synopsis

  get-archiving-status
--task-id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--task-id (string)

The id representing an asynchronous task.

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

status -> (string)

Archive task status. OPEN - Task is still in progress COMPLETED - Task has completed successfully FAILED - Task has failed CANCELED - Task was canceled TERMINATED - Task as terminated CONTINUED_AS_NEW - Task was rerun as a new task TIMED_OUT - The task has timed out

eventCount -> (integer)

The number of events archived.

eventBatches -> (array)

The details about the batches of events archived.

item -> (object)

Information about a batch of audit events that were archived.

accountId -> (string)

The account ID for which events were archived.

eventCount -> (integer)

The number of events archived. A negative number indicates that the count is not available.

archiveId -> (string)

The archive ID of the batch.

archiveTimestamp -> (integer)

The archive timestamp of the batch.

Form Factors

public