aws_sdk_s3/protocol_serde/
shape_input_serialization.rspub fn ser_input_serialization(
input: &crate::types::InputSerialization,
writer: ::aws_smithy_xml::encode::ElWriter,
) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> {
#[allow(unused_mut)]
let mut scope = writer.finish();
if let Some(var_1) = &input.csv {
let inner_writer = scope.start_el("CSV");
crate::protocol_serde::shape_csv_input::ser_csv_input(var_1, inner_writer)?
}
if let Some(var_2) = &input.compression_type {
let mut inner_writer = scope.start_el("CompressionType").finish();
inner_writer.data(var_2.as_str());
}
if let Some(var_3) = &input.json {
let inner_writer = scope.start_el("JSON");
crate::protocol_serde::shape_json_input::ser_json_input(var_3, inner_writer)?
}
if let Some(_var_4) = &input.parquet {
scope.start_el("Parquet").finish();
}
scope.finish();
Ok(())
}