pub fn ser_update_script_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::update_script::UpdateScriptInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.script_id {
encoder.str("ScriptId").str(var_1.as_str());
}
if let Some(var_2) = &input.name {
encoder.str("Name").str(var_2.as_str());
}
if let Some(var_3) = &input.version {
encoder.str("Version").str(var_3.as_str());
}
if let Some(var_4) = &input.storage_location {
encoder.str("StorageLocation");
crate::protocol_serde::shape_s3_location::ser_s3_location(encoder, var_4)?;
}
if let Some(var_5) = &input.zip_file {
encoder.str("ZipFile").blob(var_5);
}
encoder.end();
Ok(())
}