Use AWS SDK
For advanced use cases where Amplify does not provide the functionality, you can retrieve the escape hatch to access the S3Client
instance:
AWSS3StoragePlugin plugin = (AWSS3StoragePlugin) Amplify.Storage.getPlugin("awsS3StoragePlugin");S3Client client = plugin.getEscapeHatch();
val plugin = Amplify.Storage.getPlugin("awsS3StoragePlugin") as AWSS3StoragePluginval client = plugin.escapeHatch