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