@@ -83,7 +83,7 @@ newtype List a = L [a]
8383deriveJSON ''List
8484makePrisms ''List
8585
86−instance ToQuery a => ToQuery (List a) where
86+instance QueryValues a => QueryValues (List a) where
8787 queryValues (L xs) = concatMap queryValues xs
8888
8989newtype Bool' = B Bool
@@ -96,7 +96,7 @@ instance ToByteString Bool' where
9696 builder (B True) = "true"
9797 builder (B False) = "false"
9898
99−instance ToQuery Bool'
99+instance QueryValues Bool'
100100
101101pattern T = B True
102102pattern F = B False
@@ -116,7 +116,7 @@ instance ToByteString Date where
116116 builder (D d) = builder
117117 (formatTime defaultTimeLocale (iso8601DateFormat $ Just "%XZ") d)
118118
119−instance ToQuery Date
119+instance QueryValues Date
120120
121121newtype TZ = TZ TimeZone
122122 deriving (Eq, Show)
@@ -132,7 +132,7 @@ instance ToJSON TZ where
132132instance ToByteString TZ where
133133 builder (TZ tz) = builder (timeZoneName tz)
134134
135−instance ToQuery TZ
135+instance QueryValues TZ
136136
137137instance Default TZ where
138138 def = TZ utc
@@ -354,7 +354,7 @@ instance ToJSON (Key a) where
354354instance ToByteString (Key a) where
355355 builder (Key k) = builder k
356356
357−instance ToQuery (Key a)
357+instance QueryValues (Key a)
358358
359359instance QueryValueLike (Key a) where
360360 toQueryValue = Just . toByteString'
@@ -374,7 +374,7 @@ instance ToJSON (Id a) where
374374instance ToByteString (Id a) where
375375 builder (Id i) = builder i
376376
377−instance ToQuery (Id a)
377+instance QueryValues (Id a)
378378
379379instance QueryValueLike (Id a) where
380380 toQueryValue = Just . toByteString'
@@ -388,7 +388,6 @@ type RequesterId = Id "requester"
388388type RuleId = Id "rule"
389389type ScheduleId = Id "schedule"
390390type ServiceId = Id "service"
391−type TargetId = Id "target"
392391type UserId = Id "user"
393392type VendorId = Id "vendor"
394393type WindowId = Id "maintenance-window"
@@ -416,4 +415,4 @@ makePrisms ''Address
416415instance ToByteString Address where
417416 builder (Address a) = builder a
418417
419−instance ToQuery Address
418+instance QueryValues Address