class Aws::Api::Docs::ParamFormatter

def comments(ref)

def comments(ref)
  comments = []
  if ref[:response_target]
    comments << 'where to write response data, file path, or IO object'
  end
  if ref[:streaming]
    comments << 'file/IO object, or string data'
  end
  if ref.required
    comments << 'required'
  end
  if enum = enum_values(ref)
    comments << "accepts #{enum.to_a.join(', ')}"
  end
  if ddb_av?(ref)
    comments << 'value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>'
  end
  comments == [] ? '' : " # #{comments.join(', ')}"
end