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