get_matching_s3_objects#

get_matching_s3_objects(bucket: str, prefix: str = '', suffix: str = '', delimiter: str = '/', request_payer: str = 'None') Iterator[tuple[str, Any]][source]#

Generate objects in an S3 bucket.

Parameters:
  • bucket (str) – Name of the S3 bucket.

  • prefix (str) – Only fetch objects whose key starts with this prefix.

  • suffix (str) – Only fetch objects whose keys end with this suffix.

  • delimiter (str) –

  • request_payer (str) –

Return type:

Iterator[tuple[str, Any]]