{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.Signer.Types.Category
( Category
( ..,
Category_AWSIoT
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype Category = Category'
{ Category -> Text
fromCategory ::
Core.Text
}
deriving stock
( Int -> Category -> ShowS
[Category] -> ShowS
Category -> String
(Int -> Category -> ShowS)
-> (Category -> String) -> ([Category] -> ShowS) -> Show Category
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Category] -> ShowS
$cshowList :: [Category] -> ShowS
show :: Category -> String
$cshow :: Category -> String
showsPrec :: Int -> Category -> ShowS
$cshowsPrec :: Int -> Category -> ShowS
Prelude.Show,
ReadPrec [Category]
ReadPrec Category
Int -> ReadS Category
ReadS [Category]
(Int -> ReadS Category)
-> ReadS [Category]
-> ReadPrec Category
-> ReadPrec [Category]
-> Read Category
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Category]
$creadListPrec :: ReadPrec [Category]
readPrec :: ReadPrec Category
$creadPrec :: ReadPrec Category
readList :: ReadS [Category]
$creadList :: ReadS [Category]
readsPrec :: Int -> ReadS Category
$creadsPrec :: Int -> ReadS Category
Prelude.Read,
Category -> Category -> Bool
(Category -> Category -> Bool)
-> (Category -> Category -> Bool) -> Eq Category
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Category -> Category -> Bool
$c/= :: Category -> Category -> Bool
== :: Category -> Category -> Bool
$c== :: Category -> Category -> Bool
Prelude.Eq,
Eq Category
Eq Category
-> (Category -> Category -> Ordering)
-> (Category -> Category -> Bool)
-> (Category -> Category -> Bool)
-> (Category -> Category -> Bool)
-> (Category -> Category -> Bool)
-> (Category -> Category -> Category)
-> (Category -> Category -> Category)
-> Ord Category
Category -> Category -> Bool
Category -> Category -> Ordering
Category -> Category -> Category
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: Category -> Category -> Category
$cmin :: Category -> Category -> Category
max :: Category -> Category -> Category
$cmax :: Category -> Category -> Category
>= :: Category -> Category -> Bool
$c>= :: Category -> Category -> Bool
> :: Category -> Category -> Bool
$c> :: Category -> Category -> Bool
<= :: Category -> Category -> Bool
$c<= :: Category -> Category -> Bool
< :: Category -> Category -> Bool
$c< :: Category -> Category -> Bool
compare :: Category -> Category -> Ordering
$ccompare :: Category -> Category -> Ordering
$cp1Ord :: Eq Category
Prelude.Ord,
(forall x. Category -> Rep Category x)
-> (forall x. Rep Category x -> Category) -> Generic Category
forall x. Rep Category x -> Category
forall x. Category -> Rep Category x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Category x -> Category
$cfrom :: forall x. Category -> Rep Category x
Prelude.Generic
)
deriving newtype
( Int -> Category -> Int
Category -> Int
(Int -> Category -> Int) -> (Category -> Int) -> Hashable Category
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: Category -> Int
$chash :: Category -> Int
hashWithSalt :: Int -> Category -> Int
$chashWithSalt :: Int -> Category -> Int
Prelude.Hashable,
Category -> ()
(Category -> ()) -> NFData Category
forall a. (a -> ()) -> NFData a
rnf :: Category -> ()
$crnf :: Category -> ()
Prelude.NFData,
Text -> Either String Category
(Text -> Either String Category) -> FromText Category
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Category
$cfromText :: Text -> Either String Category
Core.FromText,
Category -> Text
(Category -> Text) -> ToText Category
forall a. (a -> Text) -> ToText a
toText :: Category -> Text
$ctoText :: Category -> Text
Core.ToText,
Category -> ByteString
(Category -> ByteString) -> ToByteString Category
forall a. (a -> ByteString) -> ToByteString a
toBS :: Category -> ByteString
$ctoBS :: Category -> ByteString
Core.ToByteString,
Category -> ByteStringBuilder
(Category -> ByteStringBuilder) -> ToLog Category
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Category -> ByteStringBuilder
$cbuild :: Category -> ByteStringBuilder
Core.ToLog,
HeaderName -> Category -> [Header]
(HeaderName -> Category -> [Header]) -> ToHeader Category
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Category -> [Header]
$ctoHeader :: HeaderName -> Category -> [Header]
Core.ToHeader,
Category -> QueryString
(Category -> QueryString) -> ToQuery Category
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Category -> QueryString
$ctoQuery :: Category -> QueryString
Core.ToQuery,
Value -> Parser [Category]
Value -> Parser Category
(Value -> Parser Category)
-> (Value -> Parser [Category]) -> FromJSON Category
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [Category]
$cparseJSONList :: Value -> Parser [Category]
parseJSON :: Value -> Parser Category
$cparseJSON :: Value -> Parser Category
Core.FromJSON,
FromJSONKeyFunction [Category]
FromJSONKeyFunction Category
FromJSONKeyFunction Category
-> FromJSONKeyFunction [Category] -> FromJSONKey Category
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Category]
$cfromJSONKeyList :: FromJSONKeyFunction [Category]
fromJSONKey :: FromJSONKeyFunction Category
$cfromJSONKey :: FromJSONKeyFunction Category
Core.FromJSONKey,
[Category] -> Encoding
[Category] -> Value
Category -> Encoding
Category -> Value
(Category -> Value)
-> (Category -> Encoding)
-> ([Category] -> Value)
-> ([Category] -> Encoding)
-> ToJSON Category
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [Category] -> Encoding
$ctoEncodingList :: [Category] -> Encoding
toJSONList :: [Category] -> Value
$ctoJSONList :: [Category] -> Value
toEncoding :: Category -> Encoding
$ctoEncoding :: Category -> Encoding
toJSON :: Category -> Value
$ctoJSON :: Category -> Value
Core.ToJSON,
ToJSONKeyFunction [Category]
ToJSONKeyFunction Category
ToJSONKeyFunction Category
-> ToJSONKeyFunction [Category] -> ToJSONKey Category
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Category]
$ctoJSONKeyList :: ToJSONKeyFunction [Category]
toJSONKey :: ToJSONKeyFunction Category
$ctoJSONKey :: ToJSONKeyFunction Category
Core.ToJSONKey,
[Node] -> Either String Category
([Node] -> Either String Category) -> FromXML Category
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Category
$cparseXML :: [Node] -> Either String Category
Core.FromXML,
Category -> XML
(Category -> XML) -> ToXML Category
forall a. (a -> XML) -> ToXML a
toXML :: Category -> XML
$ctoXML :: Category -> XML
Core.ToXML
)
pattern Category_AWSIoT :: Category
pattern $bCategory_AWSIoT :: Category
$mCategory_AWSIoT :: forall r. Category -> (Void# -> r) -> (Void# -> r) -> r
Category_AWSIoT = Category' "AWSIoT"
{-# COMPLETE
Category_AWSIoT,
Category'
#-}