Cloud Keys 2020 Python Edition

Questions / Feedback?

on_secret_list Event

Fires once for each secret when listing secrets.

Syntax

class AmazonSecretsSecretListEventParams(object):
  @property
  def arn() -> str: ...
  @property
  def name() -> str: ...
  @property
  def description() -> str: ...
  @property
  def creation_date() -> str: ...
  @property
  def deletion_date() -> str: ...
  @property
  def last_access_date() -> str: ...
  @property
  def last_change_date() -> str: ...

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

Remarks

This event fires once for each secret returned when list_secrets or get_secret_info is called.

ARN reflects the Amazon resource name of the secret.

Name reflects the name of the secret.

Description reflects the secret's description.

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

DeletionDate reflects the secret's scheduled deletion date, if applicable, in seconds since the Unix epoch (including fractional seconds).

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

LastChangeDate reflects the secret's last change date, in seconds since the Unix epoch (including fractional seconds).

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Keys 2020 Python Edition - Version 20.0 [Build 7718]