Applies the per-event size policy, sorts events by timestamp (stable) and splits them into
batches that respect every PutLogEvents limit. Throws ValidationError for invalid timestamps,
non-string messages, or an oversized event with oversizePolicy: "error".
Applies the per-event size policy, sorts events by timestamp (stable) and splits them into batches that respect every PutLogEvents limit. Throws
ValidationErrorfor invalid timestamps, non-string messages, or an oversized event withoversizePolicy: "error".