In order to put it back to CRAN, I would use Python's boto3 with reticulate or R's paws Library: https://cran.r-project.org/web/packages/paws/index.html