code: public void removeSpace(String spaceId) {
          // Will throw if bucket does not exist
          String bucketName = getBucketName(spaceId);
  
          try {
              s3Client.deleteBucket(bucketName);
          } catch (AmazonClientException e) {
              String err = "Could not delete S3 bucket with name " + bucketName
                           + " due to error: " + e.getMessage();
              throw new StorageException(err, e, RETRY);
          }
      }
docs: {@inheritDoc}