@Override
    public List<ValidationEvent> validate(Model model) {
        return model.shapes(ResourceShape.class)
                .flatMap(shape -> validateResource(model, shape).stream())
                .collect(Collectors.toList());
    }
Validates that resource are applied appropriately to resources.
smithy-model/src/main/java/software/amazon/smithy/model/validation/validators/ResourceLifecycleValidator.java