Is your S3 region set in your .env file? I’m wondering if it has to do with that or if you could set the endpoint url - it will depend on your version of Laravel I believe but you can check what options are available in config/filesystems.php
here is the only place where I see "apigateway..."
[edit]
I found that:
class Video {
//..
public function getStorageUrl() {
$s3 = Storage::disk('s3')->getAdapter()->getClient();
return $s3->getObjectUrl( env('AWS_BUCKET'), $this->path );
}
}
returns the correct object url of the file but the folder on S3 must be public.