{-# 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.Prelude as Prelude
newtype NetworkInputServerValidation = NetworkInputServerValidation'
{ NetworkInputServerValidation -> Text
fromNetworkInputServerValidation ::
Core.Text
}
deriving stock
( Int -> NetworkInputServerValidation -> ShowS
[NetworkInputServerValidation] -> ShowS
NetworkInputServerValidation -> String
(Int -> NetworkInputServerValidation -> ShowS)
-> (NetworkInputServerValidation -> String)
-> ([NetworkInputServerValidation] -> ShowS)
-> Show NetworkInputServerValidation
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]
(Int -> ReadS NetworkInputServerValidation)
-> ReadS [NetworkInputServerValidation]
-> ReadPrec NetworkInputServerValidation
-> ReadPrec [NetworkInputServerValidation]
-> Read 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
(NetworkInputServerValidation
-> NetworkInputServerValidation -> Bool)
-> (NetworkInputServerValidation
-> NetworkInputServerValidation -> Bool)
-> Eq NetworkInputServerValidation
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
Eq NetworkInputServerValidation
-> (NetworkInputServerValidation
-> NetworkInputServerValidation -> Ordering)
-> (NetworkInputServerValidation
-> NetworkInputServerValidation -> Bool)
-> (NetworkInputServerValidation
-> NetworkInputServerValidation -> Bool)
-> (NetworkInputServerValidation
-> NetworkInputServerValidation -> Bool)
-> (NetworkInputServerValidation
-> NetworkInputServerValidation -> Bool)
-> (NetworkInputServerValidation
-> NetworkInputServerValidation -> NetworkInputServerValidation)
-> (NetworkInputServerValidation
-> NetworkInputServerValidation -> NetworkInputServerValidation)
-> Ord 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
$cp1Ord :: Eq NetworkInputServerValidation
Prelude.Ord,
(forall x.
NetworkInputServerValidation -> Rep NetworkInputServerValidation x)
-> (forall x.
Rep NetworkInputServerValidation x -> NetworkInputServerValidation)
-> Generic NetworkInputServerValidation
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
( Int -> NetworkInputServerValidation -> Int
NetworkInputServerValidation -> Int
(Int -> NetworkInputServerValidation -> Int)
-> (NetworkInputServerValidation -> Int)
-> Hashable NetworkInputServerValidation
forall 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 -> ()
(NetworkInputServerValidation -> ())
-> NFData NetworkInputServerValidation
forall a. (a -> ()) -> NFData a
rnf :: NetworkInputServerValidation -> ()
$crnf :: NetworkInputServerValidation -> ()
Prelude.NFData,
Text -> Either String NetworkInputServerValidation
(Text -> Either String NetworkInputServerValidation)
-> FromText NetworkInputServerValidation
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String NetworkInputServerValidation
$cfromText :: Text -> Either String NetworkInputServerValidation
Core.FromText,
NetworkInputServerValidation -> Text
(NetworkInputServerValidation -> Text)
-> ToText NetworkInputServerValidation
forall a. (a -> Text) -> ToText a
toText :: NetworkInputServerValidation -> Text
$ctoText :: NetworkInputServerValidation -> Text
Core.ToText,
NetworkInputServerValidation -> ByteString
(NetworkInputServerValidation -> ByteString)
-> ToByteString NetworkInputServerValidation
forall a. (a -> ByteString) -> ToByteString a
toBS :: NetworkInputServerValidation -> ByteString
$ctoBS :: NetworkInputServerValidation -> ByteString
Core.ToByteString,
NetworkInputServerValidation -> ByteStringBuilder
(NetworkInputServerValidation -> ByteStringBuilder)
-> ToLog NetworkInputServerValidation
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: NetworkInputServerValidation -> ByteStringBuilder
$cbuild :: NetworkInputServerValidation -> ByteStringBuilder
Core.ToLog,
HeaderName -> NetworkInputServerValidation -> [Header]
(HeaderName -> NetworkInputServerValidation -> [Header])
-> ToHeader NetworkInputServerValidation
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> NetworkInputServerValidation -> [Header]
$ctoHeader :: HeaderName -> NetworkInputServerValidation -> [Header]
Core.ToHeader,
NetworkInputServerValidation -> QueryString
(NetworkInputServerValidation -> QueryString)
-> ToQuery NetworkInputServerValidation
forall a. (a -> QueryString) -> ToQuery a
toQuery :: NetworkInputServerValidation -> QueryString
$ctoQuery :: NetworkInputServerValidation -> QueryString
Core.ToQuery,
Value -> Parser [NetworkInputServerValidation]
Value -> Parser NetworkInputServerValidation
(Value -> Parser NetworkInputServerValidation)
-> (Value -> Parser [NetworkInputServerValidation])
-> FromJSON 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
Core.FromJSON,
FromJSONKeyFunction [NetworkInputServerValidation]
FromJSONKeyFunction NetworkInputServerValidation
FromJSONKeyFunction NetworkInputServerValidation
-> FromJSONKeyFunction [NetworkInputServerValidation]
-> FromJSONKey NetworkInputServerValidation
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [NetworkInputServerValidation]
$cfromJSONKeyList :: FromJSONKeyFunction [NetworkInputServerValidation]
fromJSONKey :: FromJSONKeyFunction NetworkInputServerValidation
$cfromJSONKey :: FromJSONKeyFunction NetworkInputServerValidation
Core.FromJSONKey,
[NetworkInputServerValidation] -> Encoding
[NetworkInputServerValidation] -> Value
NetworkInputServerValidation -> Encoding
NetworkInputServerValidation -> Value
(NetworkInputServerValidation -> Value)
-> (NetworkInputServerValidation -> Encoding)
-> ([NetworkInputServerValidation] -> Value)
-> ([NetworkInputServerValidation] -> Encoding)
-> ToJSON NetworkInputServerValidation
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
Core.ToJSON,
ToJSONKeyFunction [NetworkInputServerValidation]
ToJSONKeyFunction NetworkInputServerValidation
ToJSONKeyFunction NetworkInputServerValidation
-> ToJSONKeyFunction [NetworkInputServerValidation]
-> ToJSONKey NetworkInputServerValidation
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [NetworkInputServerValidation]
$ctoJSONKeyList :: ToJSONKeyFunction [NetworkInputServerValidation]
toJSONKey :: ToJSONKeyFunction NetworkInputServerValidation
$ctoJSONKey :: ToJSONKeyFunction NetworkInputServerValidation
Core.ToJSONKey,
[Node] -> Either String NetworkInputServerValidation
([Node] -> Either String NetworkInputServerValidation)
-> FromXML NetworkInputServerValidation
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String NetworkInputServerValidation
$cparseXML :: [Node] -> Either String NetworkInputServerValidation
Core.FromXML,
NetworkInputServerValidation -> XML
(NetworkInputServerValidation -> XML)
-> ToXML NetworkInputServerValidation
forall a. (a -> XML) -> ToXML a
toXML :: NetworkInputServerValidation -> XML
$ctoXML :: NetworkInputServerValidation -> XML
Core.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 -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> r) -> r
NetworkInputServerValidation_CHECK_CRYPTOGRAPHY_ONLY = NetworkInputServerValidation' "CHECK_CRYPTOGRAPHY_ONLY"
{-# COMPLETE
NetworkInputServerValidation_CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME,
NetworkInputServerValidation_CHECK_CRYPTOGRAPHY_ONLY,
NetworkInputServerValidation'
#-}