pub fn ser_delete_image_permissions_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::delete_image_permissions::DeleteImagePermissionsInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.name {
encoder.str("Name").str(var_1.as_str());
}
if let Some(var_2) = &input.shared_account_id {
encoder.str("SharedAccountId").str(var_2.as_str());
}
encoder.end();
Ok(())
}