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