<commit_before>(ns crucible.aws.rds
  "Resources in AWS::RDS::*"
  (:require [clojure.spec.alpha :as s]
            [crucible.resources :refer [spec-or-ref defresource] :as res]
            [crucible.encoding.keys :refer [->key]]
            [crucible.aws.rds.db-instance :as dbi]))

(defn rds [resource] (str "AWS::RDS::" (->key resource)))

(defmethod ->key :db-cluster [_] "DBCluster")
(defmethod ->key :db-instance [_] "DBCluster")
(defmethod ->key :db-security-group [_] "DBCluster")
(defmethod ->key :db-security-group-ingress [_] "DBCluster")
(defmethod ->key :db-subnet-group [_] "DBCluster")<commit_msg>Correct rds resource types (#183)<commit_after>(ns crucible.aws.rds
  "Resources in AWS::RDS::*"
  (:require [clojure.spec.alpha :as s]
            [crucible.resources :refer [spec-or-ref defresource] :as res]
            [crucible.encoding.keys :refer [->key]]
            [crucible.aws.rds.db-instance :as dbi]))

(defn rds [resource] (str "AWS::RDS::" (->key resource)))

(defmethod ->key :db-cluster [_] "DBCluster")
(defmethod ->key :db-instance [_] "DBInstance")
(defmethod ->key :db-security-group [_] "DBSecurityGroup")
(defmethod ->key :db-security-group-ingress [_] "DBSecurityGroupIngress")
(defmethod ->key :db-subnet-group [_] "DBSubnetGroup")
{'fraction_non_alphanumeric': 0.18690851735015773, 'fraction_numerical': 0.002365930599369085, 'mean_word_length': 4.055776892430279, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6685339', 'n_tokens_mistral': 474, 'n_tokens_neox': 451, 'n_words': 99}