distributionConfigXml,
ContentType.create("text/xml", Constants.DEFAULT_ENCODING)));
httpMethod.setHeader("If-Match", etag);
HttpResponse response = performRestRequest(httpMethod, 200);
DistributionConfigHandler handler =
(new CloudFrontXmlResponsesSaxParser(this.jets3tProperties))
.parseDistributionConfigResponse(response.getEntity().getContent());
DistributionConfig resultConfig = handler.getDistributionConfig();
resultConfig.setEtag(response.getFirstHeader("ETag").getValue());
return resultConfig;
}
catch(CloudFrontServiceException e) {
throw e;