pub fn ser_start_delivery_stream_encryption_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::start_delivery_stream_encryption::StartDeliveryStreamEncryptionInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.delivery_stream_name {
object.key("DeliveryStreamName").string(var_1.as_str());
}
if let Some(var_2) = &input.delivery_stream_encryption_configuration_input {
#[allow(unused_mut)]
let mut object_3 = object.key("DeliveryStreamEncryptionConfigurationInput").start_object();
crate::protocol_serde::shape_delivery_stream_encryption_configuration_input::ser_delivery_stream_encryption_configuration_input(
&mut object_3,
var_2,
)?;
object_3.finish();
}
Ok(())
}