Cloud Keys 2020 Python Edition

Questions / Feedback?

on_version_list Event

Fires once for each secret version when listing secret versions.

Syntax

class AmazonSecretsVersionListEventParams(object):
  @property
  def secret_arn() -> str: ...
  @property
  def secret_name() -> str: ...
  @property
  def version_id() -> str: ...
  @property
  def staging_labels() -> str: ...
  @property
  def creation_date() -> str: ...
  @property
  def last_access_date() -> str: ...

# In class AmazonSecrets:
@property
def on_version_list() -> Callable[[AmazonSecretsVersionListEventParams], None]: ...
@on_version_list.setter
def on_version_list(event_hook: Callable[[AmazonSecretsVersionListEventParams], None]) -> None: ...

Remarks

This event fires once for each secret version returned when list_versions, get_secret_info, or (if the AlwaysParseVersions configuration setting is enabled) list_secrets is called. Note that CreationDate and LastAccessDate are only populated when list_versions 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 Python Edition - Version 20.0 [Build 8157]