Using getS3Bucket() in S3Emitter