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