"The bucket name must be specified when getting a bucket policy");
Request<Void> request = createRequest(bucketName, null, null);
request.addParameter("policy", null);
signRequest(request, HttpMethodName.GET, bucketName, null);
HttpRequest httpRequest = convertToHttpRequest(request, HttpMethodName.GET);
BucketPolicy result = new BucketPolicy();
try {
String policyText = client.execute(httpRequest, new S3StringResponseHandler(), errorResponseHandler);
result.setPolicyText(policyText);