class Aws::Plugins::ClientMetricsSendPlugin::LatencyHandler

def call(context)

def call(context)
  start_time = Aws::Util.monotonic_milliseconds
  resp = @handler.call(context)
  end_time = Aws::Util.monotonic_milliseconds
  latency = end_time - start_time
  context.metadata[:current_call_attempt].request_latency = latency
  resp
end