lib/services/s3.js
function extractRequestIds(resp) {
    var extendedRequestId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-id-2'] : null;
    var cfId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-cf-id'] : null;
    resp.extendedRequestId = extendedRequestId;
    resp.cfId = cfId;

    if (resp.error) {
      resp.error.requestId = resp.requestId || null;
      resp.error.extendedRequestId = extendedRequestId;
      resp.error.cfId = cfId;
    }
  }
function extractRequestIds(resp) {
    var extendedRequestId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-id-2'] : null;
    var cfId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-cf-id'] : null;
    resp.extendedRequestId = extendedRequestId;
    resp.cfId = cfId;

    if (resp.error) {
      resp.error.requestId = resp.requestId || null;
      resp.error.extendedRequestId = extendedRequestId;
      resp.error.cfId = cfId;
    }
  }
function extractRequestIds ( resp ) { var extendedRequestId = resp . httpResponse . headers ? resp . httpResponse . headers [ 'x-amz-id-2' ] : null ; var cfId = resp . httpResponse . headers ? resp . httpResponse . headers [ 'x-amz-cf-id' ] : null ; resp . extendedRequestId = extendedRequestId ; resp . cfId = cfId ; if ( resp . error ) { resp . error . requestId = resp . requestId || null ; resp . error . extendedRequestId = extendedRequestId ; resp . error . cfId = cfId ; } }
Extracts S3 specific request ids from the http response.

@api private
Extracts S3 specific request ids from the http response .