summaryrefslogtreecommitdiff
path: root/src/Network/AWS/Wolf/Types/Sum.hs
blob: 6af1638c8143fcb18e4d3adb92e71f631cf69d2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE TemplateHaskell   #-}

-- | Various sum types.
--
module Network.AWS.Wolf.Types.Sum where

import Data.Aeson.TH
import Network.AWS.Wolf.Prelude

-- | LabelType
--
-- Tags for referencing workers.
--
data LabelType
  = LabelWolf
  | LabelAct
  | LabelDecide
  | LabelCount
  deriving (Show, Eq)

$(deriveJSON spinalOptions ''LabelType)