aws_sdk_codestarconnections/protocol_serde/
shape_delete_sync_configuration_input.rs1pub fn ser_delete_sync_configuration_input_input(
3 object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4 input: &crate::operation::delete_sync_configuration::DeleteSyncConfigurationInput,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6 if let Some(var_1) = &input.sync_type {
7 object.key("SyncType").string(var_1.as_str());
8 }
9 if let Some(var_2) = &input.resource_name {
10 object.key("ResourceName").string(var_2.as_str());
11 }
12 Ok(())
13}