@Override
    protected Model transformWithConfig(TransformContext context, Config config) {
        if (config.getRenamed() == null || config.getRenamed().isEmpty()) {
            throw new SmithyBuildException(
                    "'renamed' property must be set and non-empty on renameShapes transformer.");
        }
        Model model = context.getModel();

        return ModelTransformer.create().renameShapes(model, getShapeIdsToRename(config, model));
    }
Gets the map of shape ids to be renamed.

@return The map of shapes to rename.
smithy-build/src/main/java/software/amazon/smithy/build/transforms/RenameShapes.java