IPWorks Cloud 2020 Python Edition

Questions / Feedback?

on_prefix_list Event

Fires once for each common prefix returned when listing objects.

Syntax

class AmazonS3PrefixListEventParams(object):
  @property
  def prefix() -> str: ...

# In class AmazonS3:
@property
def on_prefix_list() -> Callable[[AmazonS3PrefixListEventParams], None]: ...
@on_prefix_list.setter
def on_prefix_list(event_hook: Callable[[AmazonS3PrefixListEventParams], None]) -> None: ...

Remarks

This event fires once for each common prefix returned when list_objects or list_versions is called when object_delimiter is non-empty. Refer to object_delimiter for more information.

Prefix is the common prefix.

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