I am trying query cloudfront with key prefix. ex. of key “{uuid}/static/{uuid}.json”.
When trying to query with request, it will return the correct file.
res = requests.get("https://example.cloudfront.net/{uuid}/static/{uuid}.json")
I tried to get the entire folder with under “{uuid}/static/”, I receive a key not found error.
res = requests.get("https://example.cloudfront.net/?prefix={uuid}/static/")
The bucket has “Action”: “s3:*” permission for testing purpose.
I followed the instruction on instruction below but it does not work.
Cloudfront backed S3 bucket: listing bucket contents over https with prefix
I am trying to mimic listObjectsV2
the function
Anyone have any idea?
Recognized by AWS
3