IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

PartList Event

Fires once for each part when calling ListParts.

Syntax

ANSI (Cross Platform)
virtual int FirePartList(AmazonGlacierPartListEventParams *e);
typedef struct {
const char *ArchiveDescription;
const char *CreationDate;
const char *UploadId;
int64 StartPosition;
int64 Size;
const char *SHA256TreeHash;
const char *VaultArn; int reserved; } AmazonGlacierPartListEventParams; Unicode (Windows) virtual INT FirePartList(AmazonGlacierPartListEventParams *e);
typedef struct {
LPCWSTR ArchiveDescription;
LPCWSTR CreationDate;
LPCWSTR UploadId;
LONG64 StartPosition;
LONG64 Size;
LPCWSTR SHA256TreeHash;
LPCWSTR VaultArn; INT reserved; } AmazonGlacierPartListEventParams;
- (void)onPartList:(NSString*)archiveDescription :(NSString*)creationDate :(NSString*)uploadId :(long long)startPosition :(long long)size :(NSString*)SHA256TreeHash :(NSString*)vaultArn;
#define EID_AMAZONGLACIER_PARTLIST 7

virtual INT IPWORKSCLOUD_CALL FirePartList(LPSTR &lpszArchiveDescription, LPSTR &lpszCreationDate, LPSTR &lpszUploadId, LONG64 &lStartPosition, LONG64 &lSize, LPSTR &lpszSHA256TreeHash, LPSTR &lpszVaultArn);

Remarks

This event fires once for each part when calling ListParts.

ArchiveDescription is the description of the archive (if any).

CreationDate is the UTC time that the multipart upload was started. This is a string representation of ISO 8601 date format. For example: "2012-03-20T17:03:43.221Z".

UploadId is the Id of the multipart upload associated with this part.

StartPosition is the byte offset in the archive of the current part.

Size is the part size in bytes.

SHA256TreeHash is the SHA256 tree hash value that Amazon calculated for the part.

VaultArn is the Amazon Resource Name (ARN) of the Vault in which the archive is created.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 C++ Edition - Version 20.0 [Build 8265]