// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_lifecycle_policy_resource_identifier(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::types::LifecyclePolicyResourceIdentifier,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
{
object.key("type").string(input.r#type.as_str());
}
{
object.key("resource").string(input.resource.as_str());
}
Ok(())
}