Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python ListObjectsV2 over 1000

import boto3

client = boto3.client("s3")

paginator = client.get_paginator("list_objects_v2")

for page in paginator.paginate(Bucket="my-bucket-name"):
    print(page["Contents"])
Source by alexwlchan.net #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
9+7 =