aws_sdk_secretsmanager/protocol_serde/shape_delete_resource_policy_input.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_delete_resource_policy_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::delete_resource_policy::DeleteResourcePolicyInput,
) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.secret_id {
object.key("SecretId").string(var_1.as_str());
}
Ok(())
}