I've been running a cmd command:
~/s3curl/s3curl.pl --id mapreduce -- -sf https://$SERVER/$PATH >> $TEMP_FILE
And I want to port my script to Python.
I tried:
import boto3
client = boto3.client('s3')
response = client.get_object(Bucket=<server>, Key=<path>)
But I'm getting an error:
botocore.exceptions.ClientError: An error occurred (AllAccessDisabled) when calling the GetObject operation: All access to this object has been disabled
What am I doing wrong?
Thanks!