@Override
        public Void resourceShape(ResourceShape shape) {
            LOGGER.finest(() -> "Generating resource " + shape.getId());
            directedCodegen.generateResource(
                    new GenerateResourceDirective<>(context, serviceShape, shape));
            return null;
        }
Finalizes the Runner and performs directed code generation.

@throws IllegalStateException if a required value has not been provided.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/directed/CodegenDirector.java