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