Cloud Storage Integrator - Online Help
Cloud Storage Integrator
Questions / Feedback?

JobList Event

Fires once for each job returned when calling ListJobs or GetJobInfo.

Syntax

type TJobListEvent = procedure JobList(Sender: TObject; JobType: Integer; const ArchiveId: String; ArchiveSize: Int64; const ArchiveSHA256TreeHash: String; Completed: Boolean; const CompletionDate: String; const CreationDate: String; const Description: String; const JobId: String; const SNSTopic: String; const SHA256TreeHash: String; StatusCode: Integer; const StatusMessage: String; const VaultArn: String; InventorySize: Int64) of object;
property OnJobList: TJobListEvent read FOnJobList write FOnJobList;

Remarks

This event fires once for each job returned when calling ListJobs. When calling GetJobInfo this event will fire once since only one job is returned.

JobType indicates the type of job. Possible values are:

0Archive Retrieval
1Inventory Retrieval

ArchiveId is the Id of the archive associated with the job.

ArchiveSize is the size in bytes of the archive.

ArchiveSHA256TreeHash is the SHA256 tree hash of the entire archive for an archive retrieval job.

Completed indicates the status of the job.

CompletionDate is the UTC time that the job completed.

CreationDate is the UTC time that the job was created. This is a string representation of ISO 8601 date format, for example: "2012-03-20T17:03:43.221Z".

Description is the user supplied description. This is specified by the JobDescription setting before calling CreateJob.

JobId is the Amazon assigned Id for the job.

SNSTopic is the Amazon SNS topic that will receive notification about the job status.

SHA256TreeHash is the SHA256 tree hash value for the requested range of an archive. This is only applicable when JobType is 0 (archive retrieval) and a JobRetrievalByteRange is set to a tree-hash aligned range.

StatusCode is the current status of the job. Possible values are:

0 None
1 In Progress
2 Succeeded
3 Failed

StatusMessage is a user friendly description of the status.

VaultArn is the Amazon Resource Name (ARN) of the vault from which the archive retrieval or inventory retrieval was requested.

InventorySize is the size in bytes of the inventory data.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0