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