Actions `cluster:admin/repository/analyze/blob` and `cluster:admin/repository/analyze/register` and so on are only invoked via the transport service, they do not need to register as client actions so we can drop the `ActionType` instance. Instead the root `RepositoryAnalyzeAction` should create and register all these transport actions itself. But even the root `RepositoryAnalyzeAction` should not be an `ActionType` derivative, we should just declare an `ActionType` instance directly. Moreover we can use `ActionType#localOnly` since the client action does not run on remote clusters.
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/operator/DefaultOperatorOnlyRegistry.java
"cluster:admin/repository/analyze",
        "cluster:admin/repository/analyze/blob",
        "cluster:admin/repository/analyze/blob/read",
        "cluster:admin/repository/analyze/register",
        "cluster:admin/repository/analyze/register/uncontended",
        
        "cluster:admin/shutdown/create",
        "cluster:admin/shutdown/get",
        "cluster:admin/shutdown/delete",
        
        PrevalidateNodeRemovalAction.NAME,
        
        DeleteDesiredNodesAction.NAME,
        GetDesiredNodesAction.NAME,
        UpdateDesiredNodesAction.NAME,
        GetDesiredBalanceAction.NAME,
        DeleteDesiredBalanceAction.NAME
    );
    private final ClusterSettings clusterSettings;
    public DefaultOperatorOnlyRegistry(ClusterSettings clusterSettings) {
        this.clusterSettings = clusterSettings;
    }
    /**
     * Check whether the given action and request qualify as operator-only. The method returns
     * null if the action+request is NOT operator-only. Other it returns a violation object
     * that contains the message for details.
     */
    public OperatorPrivilegesViolation check(String action, TransportRequest request) {
        if (SIMPLE_ACTIONS.contains(action)) {
            return () -> "action [" + action + "]";