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