class Aws::Rest::Request::Headers

def apply_header_value(headers, ref, value)

def apply_header_value(headers, ref, value)
  value = apply_json_trait(value) if ref['jsonvalue']
  case ref.shape
  when TimestampShape then headers[ref.location_name] = timestamp(ref, value)
  when ListShape then list(headers, ref, value)
  else headers[ref.location_name] = value.to_s
  end
end