code: function extractData(resp) {
      var req = resp.request;
      if (req.operation === 'getBucketLocation') {
        var match = resp.httpResponse.body.toString().match(/>(.+)<\/Location/);
        delete resp.data['_'];
        if (match) {
          resp.data.LocationConstraint = match[1];
        } else {
          resp.data.LocationConstraint = '';
        }
      }
      var bucket = req.params.Bucket || null;
      if (req.operation === 'deleteBucket' && typeof bucket === 'string' && !resp.error) {
        req.service.clearBucketRegionCache(bucket);
      } else {
        var headers = resp.httpResponse.headers || {};
        var region = headers['x-amz-bucket-region'] || null;
        if (!region && req.operation === 'createBucket' && !resp.error) {
          var createBucketConfiguration = req.params.CreateBucketConfiguration;
          if (!createBucketConfiguration) {
            region = 'us-east-1';
          } else if (createBucketConfiguration.LocationConstraint === 'EU') {
            region = 'eu-west-1';
          } else {
            region = createBucketConfiguration.LocationConstraint;
          }
        }
        if (region) {
            if (bucket && region !== req.service.bucketRegionCache[bucket]) {
              req.service.bucketRegionCache[bucket] = region;
            }
        }
      }
      req.service.extractRequestIds(resp);
    }
docs: Provides a specialized parser for getBucketLocation -- all other
  operations are parsed by the super class.
  
  @api private