Answers for "boto3 s3 list objects paginator"

0

boto3 s3 list objects paginator

paginator = client.get_paginator('list_objects_v2')

response_iterator = paginator.paginate(
    Bucket='string',
    Delimiter='string',
    EncodingType='url',
    Prefix='string',
    FetchOwner=True|False,
    StartAfter='string',
    RequestPayer='requester',
    ExpectedBucketOwner='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)

for page in response_iterator:
	print(page)
Posted by: Guest on October-22-2021

Browse Popular Code Answers by Language