// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub(crate) fn de_body_payload(
body: &[u8],
) -> std::result::Result<
::std::option::Option<::aws_smithy_types::Blob>,
crate::operation::invoke_global_inference_gateway::InvokeGlobalInferenceGatewayError,
> {
(!body.is_empty()).then(|| Ok(::aws_smithy_types::Blob::new(body))).transpose()
}