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