A Bayesian perspective on single-shot laser characterization