generate a signed URL for AWS S3 Bucket Objects by calling this script the following way:
python s3-generate-signed-url.py "us-west-1" "my-bucket" "index.html"
The output will look something like this:
Region: us-west-1
Bucket: my-bucket
File: index.html
https://s3.amazonaws.com/my-bucket/index.html?Signature=RpC...%3D&Expires=1510312662&AWSAccessKeyId=AKI...CLA