aws_sdk_secretsmanager/protocol_serde/
shape_validate_resource_policy_input.rspub fn ser_validate_resource_policy_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::validate_resource_policy::ValidateResourcePolicyInput,
) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.secret_id {
object.key("SecretId").string(var_1.as_str());
}
if let Some(var_2) = &input.resource_policy {
object.key("ResourcePolicy").string(var_2.as_str());
}
Ok(())
}