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