// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub(crate) fn de_attributes_resource_payload(
body: &[u8],
) -> std::result::Result<
::std::option::Option<crate::types::AttributesResource>,
crate::operation::remove_attributes::RemoveAttributesError,
> {
(!body.is_empty())
.then(|| {
crate::protocol_serde::shape_attributes_resource::de_attributes_resource_payload(body)
.map_err(crate::operation::remove_attributes::RemoveAttributesError::unhandled)
})
.transpose()
}