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