private void processLifecycleOperationProperties(
            Model model,
            ResourceShape resource,
            String name,
            Optional<ShapeId> operationShapeId,
            PropertyBindingIndex propertyBindingIndex,
            Set<String> propertiesInOperations,
            List<ValidationEvent> events
    ) {
        operationShapeId.flatMap(model::getShape).flatMap(Shape::asOperationShape).ifPresent(operation -> {
            propertiesInOperations.addAll(getAllOperationProperties(propertyBindingIndex, operation));
            validateOperationInputOutput(model,
                    propertyBindingIndex,
                    resource,
                    operation,
                    name,
                    events);
        });
    }
Validates that resource properties are correctly used in resource-bound operations.
smithy-model/src/main/java/software/amazon/smithy/model/validation/validators/ResourceOperationInputOutputValidator.java