IPWorks Cloud 2020 Python Edition

Questions / Feedback?

on_bucket_list Event

Fires once for each bucket returned when listing buckets.

Syntax

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

# In class AmazonS3:
@property
def on_bucket_list() -> Callable[[AmazonS3BucketListEventParams], None]: ...
@on_bucket_list.setter
def on_bucket_list(event_hook: Callable[[AmazonS3BucketListEventParams], 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 Cloud 2020 Python Edition - Version 20.0 [Build 8265]