Skip to content

RequestPayer option for S3 #180

Description

@gc-sommer

Hi,

Thank you for the efforts on this package - I appreciate your work! I've got feature proposal because I stumbled about this today and dont think it is implemented.

AWS sometimes has the option of "Requester pays" e.g. on access of public datasets. You'll have to pass the credentials and additionally the keyword args RequestPayer='requester' in boto3.

Documentation: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ObjectsinRequesterPaysBuckets.html

As far as I see this option is not included yet in the codebase of cloudpathlib.
It should be integrated to the bucket.objects.filter() function of boto3, e.g.

bucket.objects.filter(Prefix=prefix, RequestPayer='requester')

What do you think?

Best regards,
Johannes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions