Add getBucket method to S3 adapter