VersionList Event

Fires once for each secret version when listing secret versions.

Syntax

ANSI (Cross Platform)
virtual int FireVersionList(AmazonSecretsVersionListEventParams *e);
typedef struct {
const char *SecretARN;
const char *SecretName;
const char *VersionId;
const char *StagingLabels;
const char *CreationDate;
const char *LastAccessDate; int reserved; } AmazonSecretsVersionListEventParams; Unicode (Windows) virtual INT FireVersionList(AmazonSecretsVersionListEventParams *e);
typedef struct {
LPCWSTR SecretARN;
LPCWSTR SecretName;
LPCWSTR VersionId;
LPCWSTR StagingLabels;
LPCWSTR CreationDate;
LPCWSTR LastAccessDate; INT reserved; } AmazonSecretsVersionListEventParams;
- (void)onVersionList:(NSString*)secretARN :(NSString*)secretName :(NSString*)versionId :(NSString*)stagingLabels :(NSString*)creationDate :(NSString*)lastAccessDate;
#define EID_AMAZONSECRETS_VERSIONLIST 10

virtual INT CLOUDKEYS_CALL FireVersionList(LPSTR &lpszSecretARN, LPSTR &lpszSecretName, LPSTR &lpszVersionId, LPSTR &lpszStagingLabels, LPSTR &lpszCreationDate, LPSTR &lpszLastAccessDate);

Remarks

This event fires once for each secret version returned when ListVersions, GetSecretInfo, or (if the AlwaysParseVersions configuration setting is enabled) ListSecrets is called. Note that CreationDate and LastAccessDate are only populated when ListVersions is called.

SecretARN reflects the Amazon resource name of the secret this is a version of.

SecretName reflects the name of the secret this is a version of.

VersionId reflects the Id of the secret version.

StagingLabels reflects a comma-separated list of staging labels attached to the secret version.

CreationDate reflects the secret version's creation date, in seconds since the Unix epoch (including fractional seconds).

LastAccessDate reflects the secret version's last access date, in seconds since the Unix epoch. It provides date-level resolution only, the time is not included.

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