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 https://XXX.s3-us-west-2.amazonaws.com/20210508-114301.tar.gz , 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 https://s3-us-west-2.amazonaws.com.

Hi Alex, do you know how I can test my model that I load from s3.

For example: I use thus curl command to test my model that I load locally from my drive: curl -X POST http://localhost:5005/model/parse -d '{"text":"Hi I am Nilima"}'

How do I use the curl command to test the model that I loaded from my s3 bucket?