{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.SageMaker.Types.InferenceExperimentType
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.SageMaker.Types.InferenceExperimentType
  ( InferenceExperimentType
      ( ..,
        InferenceExperimentType_ShadowMode
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

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

pattern InferenceExperimentType_ShadowMode :: InferenceExperimentType
pattern $bInferenceExperimentType_ShadowMode :: InferenceExperimentType
$mInferenceExperimentType_ShadowMode :: forall {r}.
InferenceExperimentType -> ((# #) -> r) -> ((# #) -> r) -> r
InferenceExperimentType_ShadowMode = InferenceExperimentType' "ShadowMode"

{-# COMPLETE
  InferenceExperimentType_ShadowMode,
  InferenceExperimentType'
  #-}