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