IPWorks S3 2020 Python Edition

Questions / Feedback?

on_metadata_list Event

Fires once for each metadata item returned when object information and metadata is retrieved.

Syntax

class S3ClientMetadataListEventParams(object):
  @property
  def name() -> str: ...
  @property
  def value() -> str: ...

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

Remarks

This event fires once for each metadata item returned when get_object_info is called.

Name is the name of the metadata item, without the service-specific prefix (e.g., x-amz-meta-, x-goog-meta-, etc.). Keep in mind that the server stores metadata names in lowercase.

Value is the metadata item's value.

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