How can I load pretrained model from S3 directly?

If I saved my pre-trained model Json/weights on S3, how can I load my models from S3 into Keras similar like below?

For local files, we can load them like:

String ModelJson = "/path/to/model_config.json";  
String ModelWeights = "/path/to/model_weights.h5"; 
KerasModelImport.importKerasModelAndWeights(ModelJson, ModelWeights, false);


You will have to download it from S3 into a temporary file and load it locally.