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