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