IPWorks S3 2020 Python Edition

Questions / Feedback?

on_bucket_list Event

Fires once for each bucket returned when listing buckets.

Syntax

class S3ClientBucketListEventParams(object):
  @property
  def bucket_name() -> str: ...
  @property
  def creation_date() -> str: ...
  @property
  def owner_id() -> str: ...
  @property
  def owner_name() -> str: ...

# In class S3Client:
@property
def on_bucket_list() -> Callable[[S3ClientBucketListEventParams], None]: ...
@on_bucket_list.setter
def on_bucket_list(event_hook: Callable[[S3ClientBucketListEventParams], None]) -> None: ...

Remarks

This event fires once for each bucket returned when list_buckets is called.

BucketName reflects the name of the bucket.

CreationDate reflects the bucket's creation date.

OwnerId and OwnerName reflect the Id and display name of the bucket's owner, respectively.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S3 2020 Python Edition - Version 20.0 [Build 8164]