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