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