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