function addRequestParameters(requestParameters) {
  for (const key in requestParameters) {
    if (props.hasOwn(requestParameters, key)) {
      this.trace.attributes.addAttribute(
        DESTS.NONE,
        REQUEST_PARAMS_PATH + key,
        requestParameters[key]
      )

      const segment = this.baseSegment

      segment.attributes.addAttribute(DESTS.NONE, REQUEST_PARAMS_PATH + key, requestParameters[key])
    }
  }
}
Adds query parameters to create attributes in the form
'request.parameters.{key}'. These attributes will only be created
when 'request.parameters.*' is included in the attribute config.

Used by the "serverless mode" lambda logic

@param {Object<string, string>} requestParameters of the request object