VersionList Event
Fires once for each secret version when listing secret versions.
Syntax
public event OnVersionListHandler OnVersionList; public delegate void OnVersionListHandler(object sender, AmazonsecretsVersionListEventArgs e); public class AmazonsecretsVersionListEventArgs : EventArgs { public string SecretARN { get; } public string SecretName { get; } public string VersionId { get; } public string StagingLabels { get; } public string CreationDate { get; } public string LastAccessDate { get; } }
Public Event OnVersionList As OnVersionListHandler Public Delegate Sub OnVersionListHandler(sender As Object, e As AmazonsecretsVersionListEventArgs) Public Class AmazonsecretsVersionListEventArgs Inherits EventArgs Public ReadOnly Property SecretARN As String Public ReadOnly Property SecretName As String Public ReadOnly Property VersionId As String Public ReadOnly Property StagingLabels As String Public ReadOnly Property CreationDate As String Public ReadOnly Property LastAccessDate As String End Class
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.