VaultList Event
Fires once for each vault returned when calling ListVaults.
Syntax
ANSI (Cross Platform) virtual int FireVaultList(AmazonGlacierVaultListEventParams *e);
typedef struct {
const char *CreationDate;
const char *LastInventoryDate;
const char *VaultArn;
const char *VaultName;
int ArchiveCount;
int64 Size; int reserved; } AmazonGlacierVaultListEventParams; Unicode (Windows) virtual INT FireVaultList(AmazonGlacierVaultListEventParams *e);
typedef struct {
LPCWSTR CreationDate;
LPCWSTR LastInventoryDate;
LPCWSTR VaultArn;
LPCWSTR VaultName;
INT ArchiveCount;
LONG64 Size; INT reserved; } AmazonGlacierVaultListEventParams;
- (void)onVaultList:(NSString*)creationDate :(NSString*)lastInventoryDate :(NSString*)vaultArn :(NSString*)vaultName :(int)archiveCount :(long long)size;
#define EID_AMAZONGLACIER_VAULTLIST 13 virtual INT IPWORKSCLOUD_CALL FireVaultList(LPSTR &lpszCreationDate, LPSTR &lpszLastInventoryDate, LPSTR &lpszVaultArn, LPSTR &lpszVaultName, INT &iArchiveCount, LONG64 &lSize);
Remarks
This event fires once for each vault returned when calling ListVaults.
CreationDate is the date the vault was created, in Coordinated Universal Time (UTC). This is a string representation of ISO 8601 date format, for example: 2012-03-20T17:03:43.221Z.
LastInventoryDate is the date of the last vault inventory, in Coordinated Universal Time (UTC). This is a string representation of ISO 8601 date format, for example: 2012-03-20T17:03:43.221Z.
VaultArn is the Amazon Resource Name (ARN) of the vault.
VaultName is the name of the vault.
ArchiveCount is the number of archives in the vault as of LastInventoryDate.
Size is the size of all the archives (including any per-archive overhead) in the vault, as of the last inventory date.