How to load model from S3?

I tried following the docs and running this command — rasa run --model 20210508-114301.tar.gz --remote-storage aws but got this error:

I think I set up my environmental variables correctly, though I was uncertain about what the AWS_ENDPOINT_URL variable should be. Currently it equals , where XXX is the name of the S3 bucket.

Update: I was able to load the model successfully by setting AWS_ENDPOINT_URL equal to