{-# 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.MonitoringType
-- 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.MonitoringType
  ( MonitoringType
      ( ..,
        MonitoringType_DataQuality,
        MonitoringType_ModelBias,
        MonitoringType_ModelExplainability,
        MonitoringType_ModelQuality
      ),
  )
where

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

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

pattern MonitoringType_DataQuality :: MonitoringType
pattern $bMonitoringType_DataQuality :: MonitoringType
$mMonitoringType_DataQuality :: forall {r}. MonitoringType -> ((# #) -> r) -> ((# #) -> r) -> r
MonitoringType_DataQuality = MonitoringType' "DataQuality"

pattern MonitoringType_ModelBias :: MonitoringType
pattern $bMonitoringType_ModelBias :: MonitoringType
$mMonitoringType_ModelBias :: forall {r}. MonitoringType -> ((# #) -> r) -> ((# #) -> r) -> r
MonitoringType_ModelBias = MonitoringType' "ModelBias"

pattern MonitoringType_ModelExplainability :: MonitoringType
pattern $bMonitoringType_ModelExplainability :: MonitoringType
$mMonitoringType_ModelExplainability :: forall {r}. MonitoringType -> ((# #) -> r) -> ((# #) -> r) -> r
MonitoringType_ModelExplainability = MonitoringType' "ModelExplainability"

pattern MonitoringType_ModelQuality :: MonitoringType
pattern $bMonitoringType_ModelQuality :: MonitoringType
$mMonitoringType_ModelQuality :: forall {r}. MonitoringType -> ((# #) -> r) -> ((# #) -> r) -> r
MonitoringType_ModelQuality = MonitoringType' "ModelQuality"

{-# COMPLETE
  MonitoringType_DataQuality,
  MonitoringType_ModelBias,
  MonitoringType_ModelExplainability,
  MonitoringType_ModelQuality,
  MonitoringType'
  #-}