{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.SageMaker.Types.AppImageConfigSortKey
( AppImageConfigSortKey
( ..,
AppImageConfigSortKey_CreationTime,
AppImageConfigSortKey_LastModifiedTime,
AppImageConfigSortKey_Name
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype AppImageConfigSortKey = AppImageConfigSortKey'
{ AppImageConfigSortKey -> Text
fromAppImageConfigSortKey ::
Core.Text
}
deriving stock
( Int -> AppImageConfigSortKey -> ShowS
[AppImageConfigSortKey] -> ShowS
AppImageConfigSortKey -> String
(Int -> AppImageConfigSortKey -> ShowS)
-> (AppImageConfigSortKey -> String)
-> ([AppImageConfigSortKey] -> ShowS)
-> Show AppImageConfigSortKey
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AppImageConfigSortKey] -> ShowS
$cshowList :: [AppImageConfigSortKey] -> ShowS
show :: AppImageConfigSortKey -> String
$cshow :: AppImageConfigSortKey -> String
showsPrec :: Int -> AppImageConfigSortKey -> ShowS
$cshowsPrec :: Int -> AppImageConfigSortKey -> ShowS
Prelude.Show,
ReadPrec [AppImageConfigSortKey]
ReadPrec AppImageConfigSortKey
Int -> ReadS AppImageConfigSortKey
ReadS [AppImageConfigSortKey]
(Int -> ReadS AppImageConfigSortKey)
-> ReadS [AppImageConfigSortKey]
-> ReadPrec AppImageConfigSortKey
-> ReadPrec [AppImageConfigSortKey]
-> Read AppImageConfigSortKey
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AppImageConfigSortKey]
$creadListPrec :: ReadPrec [AppImageConfigSortKey]
readPrec :: ReadPrec AppImageConfigSortKey
$creadPrec :: ReadPrec AppImageConfigSortKey
readList :: ReadS [AppImageConfigSortKey]
$creadList :: ReadS [AppImageConfigSortKey]
readsPrec :: Int -> ReadS AppImageConfigSortKey
$creadsPrec :: Int -> ReadS AppImageConfigSortKey
Prelude.Read,
AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
(AppImageConfigSortKey -> AppImageConfigSortKey -> Bool)
-> (AppImageConfigSortKey -> AppImageConfigSortKey -> Bool)
-> Eq AppImageConfigSortKey
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
$c/= :: AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
== :: AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
$c== :: AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
Prelude.Eq,
Eq AppImageConfigSortKey
Eq AppImageConfigSortKey
-> (AppImageConfigSortKey -> AppImageConfigSortKey -> Ordering)
-> (AppImageConfigSortKey -> AppImageConfigSortKey -> Bool)
-> (AppImageConfigSortKey -> AppImageConfigSortKey -> Bool)
-> (AppImageConfigSortKey -> AppImageConfigSortKey -> Bool)
-> (AppImageConfigSortKey -> AppImageConfigSortKey -> Bool)
-> (AppImageConfigSortKey
-> AppImageConfigSortKey -> AppImageConfigSortKey)
-> (AppImageConfigSortKey
-> AppImageConfigSortKey -> AppImageConfigSortKey)
-> Ord AppImageConfigSortKey
AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
AppImageConfigSortKey -> AppImageConfigSortKey -> Ordering
AppImageConfigSortKey
-> AppImageConfigSortKey -> AppImageConfigSortKey
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 :: AppImageConfigSortKey
-> AppImageConfigSortKey -> AppImageConfigSortKey
$cmin :: AppImageConfigSortKey
-> AppImageConfigSortKey -> AppImageConfigSortKey
max :: AppImageConfigSortKey
-> AppImageConfigSortKey -> AppImageConfigSortKey
$cmax :: AppImageConfigSortKey
-> AppImageConfigSortKey -> AppImageConfigSortKey
>= :: AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
$c>= :: AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
> :: AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
$c> :: AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
<= :: AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
$c<= :: AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
< :: AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
$c< :: AppImageConfigSortKey -> AppImageConfigSortKey -> Bool
compare :: AppImageConfigSortKey -> AppImageConfigSortKey -> Ordering
$ccompare :: AppImageConfigSortKey -> AppImageConfigSortKey -> Ordering
$cp1Ord :: Eq AppImageConfigSortKey
Prelude.Ord,
(forall x. AppImageConfigSortKey -> Rep AppImageConfigSortKey x)
-> (forall x. Rep AppImageConfigSortKey x -> AppImageConfigSortKey)
-> Generic AppImageConfigSortKey
forall x. Rep AppImageConfigSortKey x -> AppImageConfigSortKey
forall x. AppImageConfigSortKey -> Rep AppImageConfigSortKey x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AppImageConfigSortKey x -> AppImageConfigSortKey
$cfrom :: forall x. AppImageConfigSortKey -> Rep AppImageConfigSortKey x
Prelude.Generic
)
deriving newtype
( Int -> AppImageConfigSortKey -> Int
AppImageConfigSortKey -> Int
(Int -> AppImageConfigSortKey -> Int)
-> (AppImageConfigSortKey -> Int) -> Hashable AppImageConfigSortKey
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: AppImageConfigSortKey -> Int
$chash :: AppImageConfigSortKey -> Int
hashWithSalt :: Int -> AppImageConfigSortKey -> Int
$chashWithSalt :: Int -> AppImageConfigSortKey -> Int
Prelude.Hashable,
AppImageConfigSortKey -> ()
(AppImageConfigSortKey -> ()) -> NFData AppImageConfigSortKey
forall a. (a -> ()) -> NFData a
rnf :: AppImageConfigSortKey -> ()
$crnf :: AppImageConfigSortKey -> ()
Prelude.NFData,
Text -> Either String AppImageConfigSortKey
(Text -> Either String AppImageConfigSortKey)
-> FromText AppImageConfigSortKey
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AppImageConfigSortKey
$cfromText :: Text -> Either String AppImageConfigSortKey
Core.FromText,
AppImageConfigSortKey -> Text
(AppImageConfigSortKey -> Text) -> ToText AppImageConfigSortKey
forall a. (a -> Text) -> ToText a
toText :: AppImageConfigSortKey -> Text
$ctoText :: AppImageConfigSortKey -> Text
Core.ToText,
AppImageConfigSortKey -> ByteString
(AppImageConfigSortKey -> ByteString)
-> ToByteString AppImageConfigSortKey
forall a. (a -> ByteString) -> ToByteString a
toBS :: AppImageConfigSortKey -> ByteString
$ctoBS :: AppImageConfigSortKey -> ByteString
Core.ToByteString,
AppImageConfigSortKey -> ByteStringBuilder
(AppImageConfigSortKey -> ByteStringBuilder)
-> ToLog AppImageConfigSortKey
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AppImageConfigSortKey -> ByteStringBuilder
$cbuild :: AppImageConfigSortKey -> ByteStringBuilder
Core.ToLog,
HeaderName -> AppImageConfigSortKey -> [Header]
(HeaderName -> AppImageConfigSortKey -> [Header])
-> ToHeader AppImageConfigSortKey
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AppImageConfigSortKey -> [Header]
$ctoHeader :: HeaderName -> AppImageConfigSortKey -> [Header]
Core.ToHeader,
AppImageConfigSortKey -> QueryString
(AppImageConfigSortKey -> QueryString)
-> ToQuery AppImageConfigSortKey
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AppImageConfigSortKey -> QueryString
$ctoQuery :: AppImageConfigSortKey -> QueryString
Core.ToQuery,
Value -> Parser [AppImageConfigSortKey]
Value -> Parser AppImageConfigSortKey
(Value -> Parser AppImageConfigSortKey)
-> (Value -> Parser [AppImageConfigSortKey])
-> FromJSON AppImageConfigSortKey
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [AppImageConfigSortKey]
$cparseJSONList :: Value -> Parser [AppImageConfigSortKey]
parseJSON :: Value -> Parser AppImageConfigSortKey
$cparseJSON :: Value -> Parser AppImageConfigSortKey
Core.FromJSON,
FromJSONKeyFunction [AppImageConfigSortKey]
FromJSONKeyFunction AppImageConfigSortKey
FromJSONKeyFunction AppImageConfigSortKey
-> FromJSONKeyFunction [AppImageConfigSortKey]
-> FromJSONKey AppImageConfigSortKey
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AppImageConfigSortKey]
$cfromJSONKeyList :: FromJSONKeyFunction [AppImageConfigSortKey]
fromJSONKey :: FromJSONKeyFunction AppImageConfigSortKey
$cfromJSONKey :: FromJSONKeyFunction AppImageConfigSortKey
Core.FromJSONKey,
[AppImageConfigSortKey] -> Encoding
[AppImageConfigSortKey] -> Value
AppImageConfigSortKey -> Encoding
AppImageConfigSortKey -> Value
(AppImageConfigSortKey -> Value)
-> (AppImageConfigSortKey -> Encoding)
-> ([AppImageConfigSortKey] -> Value)
-> ([AppImageConfigSortKey] -> Encoding)
-> ToJSON AppImageConfigSortKey
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [AppImageConfigSortKey] -> Encoding
$ctoEncodingList :: [AppImageConfigSortKey] -> Encoding
toJSONList :: [AppImageConfigSortKey] -> Value
$ctoJSONList :: [AppImageConfigSortKey] -> Value
toEncoding :: AppImageConfigSortKey -> Encoding
$ctoEncoding :: AppImageConfigSortKey -> Encoding
toJSON :: AppImageConfigSortKey -> Value
$ctoJSON :: AppImageConfigSortKey -> Value
Core.ToJSON,
ToJSONKeyFunction [AppImageConfigSortKey]
ToJSONKeyFunction AppImageConfigSortKey
ToJSONKeyFunction AppImageConfigSortKey
-> ToJSONKeyFunction [AppImageConfigSortKey]
-> ToJSONKey AppImageConfigSortKey
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AppImageConfigSortKey]
$ctoJSONKeyList :: ToJSONKeyFunction [AppImageConfigSortKey]
toJSONKey :: ToJSONKeyFunction AppImageConfigSortKey
$ctoJSONKey :: ToJSONKeyFunction AppImageConfigSortKey
Core.ToJSONKey,
[Node] -> Either String AppImageConfigSortKey
([Node] -> Either String AppImageConfigSortKey)
-> FromXML AppImageConfigSortKey
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AppImageConfigSortKey
$cparseXML :: [Node] -> Either String AppImageConfigSortKey
Core.FromXML,
AppImageConfigSortKey -> XML
(AppImageConfigSortKey -> XML) -> ToXML AppImageConfigSortKey
forall a. (a -> XML) -> ToXML a
toXML :: AppImageConfigSortKey -> XML
$ctoXML :: AppImageConfigSortKey -> XML
Core.ToXML
)
pattern AppImageConfigSortKey_CreationTime :: AppImageConfigSortKey
pattern $bAppImageConfigSortKey_CreationTime :: AppImageConfigSortKey
$mAppImageConfigSortKey_CreationTime :: forall r.
AppImageConfigSortKey -> (Void# -> r) -> (Void# -> r) -> r
AppImageConfigSortKey_CreationTime = AppImageConfigSortKey' "CreationTime"
pattern AppImageConfigSortKey_LastModifiedTime :: AppImageConfigSortKey
pattern $bAppImageConfigSortKey_LastModifiedTime :: AppImageConfigSortKey
$mAppImageConfigSortKey_LastModifiedTime :: forall r.
AppImageConfigSortKey -> (Void# -> r) -> (Void# -> r) -> r
AppImageConfigSortKey_LastModifiedTime = AppImageConfigSortKey' "LastModifiedTime"
pattern AppImageConfigSortKey_Name :: AppImageConfigSortKey
pattern $bAppImageConfigSortKey_Name :: AppImageConfigSortKey
$mAppImageConfigSortKey_Name :: forall r.
AppImageConfigSortKey -> (Void# -> r) -> (Void# -> r) -> r
AppImageConfigSortKey_Name = AppImageConfigSortKey' "Name"
{-# COMPLETE
AppImageConfigSortKey_CreationTime,
AppImageConfigSortKey_LastModifiedTime,
AppImageConfigSortKey_Name,
AppImageConfigSortKey'
#-}