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