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