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