aws-sdk-networkfirewall 1.111.0

AWS SDK for AWS Network Firewall
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_delete_proxy_rules_input_input(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::operation::delete_proxy_rules::DeleteProxyRulesInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    if let Some(var_1) = &input.proxy_rule_group_arn {
        object.key("ProxyRuleGroupArn").string(var_1.as_str());
    }
    if let Some(var_2) = &input.proxy_rule_group_name {
        object.key("ProxyRuleGroupName").string(var_2.as_str());
    }
    if let Some(var_3) = &input.rules {
        let mut array_4 = object.key("Rules").start_array();
        for item_5 in var_3 {
            {
                array_4.value().string(item_5.as_str());
            }
        }
        array_4.finish();
    }
    Ok(())
}