in client/src/client/put_logs.rs [118:125]
fn body(&self) -> Result<Option<bytes::Bytes>, RequestError> {
let body = self
.log_group
.encode()
.map_err(RequestErrorKind::from)
.map_err(RequestError::from)?;
Ok(Some(body.into()))
}