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