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