get_matching_s3_keys#

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

Generate the keys in an S3 bucket.

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

  • prefix (str) – Only fetch keys that start with this prefix.

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

  • delimiter (str) –

  • request_payer (str) –

Return type

Iterator[str]