{-# 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.UserProfileStatus
( UserProfileStatus
( ..,
UserProfileStatus_Delete_Failed,
UserProfileStatus_Deleting,
UserProfileStatus_Failed,
UserProfileStatus_InService,
UserProfileStatus_Pending,
UserProfileStatus_Update_Failed,
UserProfileStatus_Updating
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype UserProfileStatus = UserProfileStatus'
{ UserProfileStatus -> Text
fromUserProfileStatus ::
Core.Text
}
deriving stock
( Int -> UserProfileStatus -> ShowS
[UserProfileStatus] -> ShowS
UserProfileStatus -> String
(Int -> UserProfileStatus -> ShowS)
-> (UserProfileStatus -> String)
-> ([UserProfileStatus] -> ShowS)
-> Show UserProfileStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UserProfileStatus] -> ShowS
$cshowList :: [UserProfileStatus] -> ShowS
show :: UserProfileStatus -> String
$cshow :: UserProfileStatus -> String
showsPrec :: Int -> UserProfileStatus -> ShowS
$cshowsPrec :: Int -> UserProfileStatus -> ShowS
Prelude.Show,
ReadPrec [UserProfileStatus]
ReadPrec UserProfileStatus
Int -> ReadS UserProfileStatus
ReadS [UserProfileStatus]
(Int -> ReadS UserProfileStatus)
-> ReadS [UserProfileStatus]
-> ReadPrec UserProfileStatus
-> ReadPrec [UserProfileStatus]
-> Read UserProfileStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UserProfileStatus]
$creadListPrec :: ReadPrec [UserProfileStatus]
readPrec :: ReadPrec UserProfileStatus
$creadPrec :: ReadPrec UserProfileStatus
readList :: ReadS [UserProfileStatus]
$creadList :: ReadS [UserProfileStatus]
readsPrec :: Int -> ReadS UserProfileStatus
$creadsPrec :: Int -> ReadS UserProfileStatus
Prelude.Read,
UserProfileStatus -> UserProfileStatus -> Bool
(UserProfileStatus -> UserProfileStatus -> Bool)
-> (UserProfileStatus -> UserProfileStatus -> Bool)
-> Eq UserProfileStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UserProfileStatus -> UserProfileStatus -> Bool
$c/= :: UserProfileStatus -> UserProfileStatus -> Bool
== :: UserProfileStatus -> UserProfileStatus -> Bool
$c== :: UserProfileStatus -> UserProfileStatus -> Bool
Prelude.Eq,
Eq UserProfileStatus
Eq UserProfileStatus
-> (UserProfileStatus -> UserProfileStatus -> Ordering)
-> (UserProfileStatus -> UserProfileStatus -> Bool)
-> (UserProfileStatus -> UserProfileStatus -> Bool)
-> (UserProfileStatus -> UserProfileStatus -> Bool)
-> (UserProfileStatus -> UserProfileStatus -> Bool)
-> (UserProfileStatus -> UserProfileStatus -> UserProfileStatus)
-> (UserProfileStatus -> UserProfileStatus -> UserProfileStatus)
-> Ord UserProfileStatus
UserProfileStatus -> UserProfileStatus -> Bool
UserProfileStatus -> UserProfileStatus -> Ordering
UserProfileStatus -> UserProfileStatus -> UserProfileStatus
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 :: UserProfileStatus -> UserProfileStatus -> UserProfileStatus
$cmin :: UserProfileStatus -> UserProfileStatus -> UserProfileStatus
max :: UserProfileStatus -> UserProfileStatus -> UserProfileStatus
$cmax :: UserProfileStatus -> UserProfileStatus -> UserProfileStatus
>= :: UserProfileStatus -> UserProfileStatus -> Bool
$c>= :: UserProfileStatus -> UserProfileStatus -> Bool
> :: UserProfileStatus -> UserProfileStatus -> Bool
$c> :: UserProfileStatus -> UserProfileStatus -> Bool
<= :: UserProfileStatus -> UserProfileStatus -> Bool
$c<= :: UserProfileStatus -> UserProfileStatus -> Bool
< :: UserProfileStatus -> UserProfileStatus -> Bool
$c< :: UserProfileStatus -> UserProfileStatus -> Bool
compare :: UserProfileStatus -> UserProfileStatus -> Ordering
$ccompare :: UserProfileStatus -> UserProfileStatus -> Ordering
$cp1Ord :: Eq UserProfileStatus
Prelude.Ord,
(forall x. UserProfileStatus -> Rep UserProfileStatus x)
-> (forall x. Rep UserProfileStatus x -> UserProfileStatus)
-> Generic UserProfileStatus
forall x. Rep UserProfileStatus x -> UserProfileStatus
forall x. UserProfileStatus -> Rep UserProfileStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UserProfileStatus x -> UserProfileStatus
$cfrom :: forall x. UserProfileStatus -> Rep UserProfileStatus x
Prelude.Generic
)
deriving newtype
( Int -> UserProfileStatus -> Int
UserProfileStatus -> Int
(Int -> UserProfileStatus -> Int)
-> (UserProfileStatus -> Int) -> Hashable UserProfileStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: UserProfileStatus -> Int
$chash :: UserProfileStatus -> Int
hashWithSalt :: Int -> UserProfileStatus -> Int
$chashWithSalt :: Int -> UserProfileStatus -> Int
Prelude.Hashable,
UserProfileStatus -> ()
(UserProfileStatus -> ()) -> NFData UserProfileStatus
forall a. (a -> ()) -> NFData a
rnf :: UserProfileStatus -> ()
$crnf :: UserProfileStatus -> ()
Prelude.NFData,
Text -> Either String UserProfileStatus
(Text -> Either String UserProfileStatus)
-> FromText UserProfileStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String UserProfileStatus
$cfromText :: Text -> Either String UserProfileStatus
Core.FromText,
UserProfileStatus -> Text
(UserProfileStatus -> Text) -> ToText UserProfileStatus
forall a. (a -> Text) -> ToText a
toText :: UserProfileStatus -> Text
$ctoText :: UserProfileStatus -> Text
Core.ToText,
UserProfileStatus -> ByteString
(UserProfileStatus -> ByteString) -> ToByteString UserProfileStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: UserProfileStatus -> ByteString
$ctoBS :: UserProfileStatus -> ByteString
Core.ToByteString,
UserProfileStatus -> ByteStringBuilder
(UserProfileStatus -> ByteStringBuilder) -> ToLog UserProfileStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: UserProfileStatus -> ByteStringBuilder
$cbuild :: UserProfileStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> UserProfileStatus -> [Header]
(HeaderName -> UserProfileStatus -> [Header])
-> ToHeader UserProfileStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> UserProfileStatus -> [Header]
$ctoHeader :: HeaderName -> UserProfileStatus -> [Header]
Core.ToHeader,
UserProfileStatus -> QueryString
(UserProfileStatus -> QueryString) -> ToQuery UserProfileStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: UserProfileStatus -> QueryString
$ctoQuery :: UserProfileStatus -> QueryString
Core.ToQuery,
Value -> Parser [UserProfileStatus]
Value -> Parser UserProfileStatus
(Value -> Parser UserProfileStatus)
-> (Value -> Parser [UserProfileStatus])
-> FromJSON UserProfileStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [UserProfileStatus]
$cparseJSONList :: Value -> Parser [UserProfileStatus]
parseJSON :: Value -> Parser UserProfileStatus
$cparseJSON :: Value -> Parser UserProfileStatus
Core.FromJSON,
FromJSONKeyFunction [UserProfileStatus]
FromJSONKeyFunction UserProfileStatus
FromJSONKeyFunction UserProfileStatus
-> FromJSONKeyFunction [UserProfileStatus]
-> FromJSONKey UserProfileStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [UserProfileStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [UserProfileStatus]
fromJSONKey :: FromJSONKeyFunction UserProfileStatus
$cfromJSONKey :: FromJSONKeyFunction UserProfileStatus
Core.FromJSONKey,
[UserProfileStatus] -> Encoding
[UserProfileStatus] -> Value
UserProfileStatus -> Encoding
UserProfileStatus -> Value
(UserProfileStatus -> Value)
-> (UserProfileStatus -> Encoding)
-> ([UserProfileStatus] -> Value)
-> ([UserProfileStatus] -> Encoding)
-> ToJSON UserProfileStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [UserProfileStatus] -> Encoding
$ctoEncodingList :: [UserProfileStatus] -> Encoding
toJSONList :: [UserProfileStatus] -> Value
$ctoJSONList :: [UserProfileStatus] -> Value
toEncoding :: UserProfileStatus -> Encoding
$ctoEncoding :: UserProfileStatus -> Encoding
toJSON :: UserProfileStatus -> Value
$ctoJSON :: UserProfileStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [UserProfileStatus]
ToJSONKeyFunction UserProfileStatus
ToJSONKeyFunction UserProfileStatus
-> ToJSONKeyFunction [UserProfileStatus]
-> ToJSONKey UserProfileStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [UserProfileStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [UserProfileStatus]
toJSONKey :: ToJSONKeyFunction UserProfileStatus
$ctoJSONKey :: ToJSONKeyFunction UserProfileStatus
Core.ToJSONKey,
[Node] -> Either String UserProfileStatus
([Node] -> Either String UserProfileStatus)
-> FromXML UserProfileStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String UserProfileStatus
$cparseXML :: [Node] -> Either String UserProfileStatus
Core.FromXML,
UserProfileStatus -> XML
(UserProfileStatus -> XML) -> ToXML UserProfileStatus
forall a. (a -> XML) -> ToXML a
toXML :: UserProfileStatus -> XML
$ctoXML :: UserProfileStatus -> XML
Core.ToXML
)
pattern UserProfileStatus_Delete_Failed :: UserProfileStatus
pattern $bUserProfileStatus_Delete_Failed :: UserProfileStatus
$mUserProfileStatus_Delete_Failed :: forall r. UserProfileStatus -> (Void# -> r) -> (Void# -> r) -> r
UserProfileStatus_Delete_Failed = UserProfileStatus' "Delete_Failed"
pattern UserProfileStatus_Deleting :: UserProfileStatus
pattern $bUserProfileStatus_Deleting :: UserProfileStatus
$mUserProfileStatus_Deleting :: forall r. UserProfileStatus -> (Void# -> r) -> (Void# -> r) -> r
UserProfileStatus_Deleting = UserProfileStatus' "Deleting"
pattern UserProfileStatus_Failed :: UserProfileStatus
pattern $bUserProfileStatus_Failed :: UserProfileStatus
$mUserProfileStatus_Failed :: forall r. UserProfileStatus -> (Void# -> r) -> (Void# -> r) -> r
UserProfileStatus_Failed = UserProfileStatus' "Failed"
pattern UserProfileStatus_InService :: UserProfileStatus
pattern $bUserProfileStatus_InService :: UserProfileStatus
$mUserProfileStatus_InService :: forall r. UserProfileStatus -> (Void# -> r) -> (Void# -> r) -> r
UserProfileStatus_InService = UserProfileStatus' "InService"
pattern UserProfileStatus_Pending :: UserProfileStatus
pattern $bUserProfileStatus_Pending :: UserProfileStatus
$mUserProfileStatus_Pending :: forall r. UserProfileStatus -> (Void# -> r) -> (Void# -> r) -> r
UserProfileStatus_Pending = UserProfileStatus' "Pending"
pattern UserProfileStatus_Update_Failed :: UserProfileStatus
pattern $bUserProfileStatus_Update_Failed :: UserProfileStatus
$mUserProfileStatus_Update_Failed :: forall r. UserProfileStatus -> (Void# -> r) -> (Void# -> r) -> r
UserProfileStatus_Update_Failed = UserProfileStatus' "Update_Failed"
pattern UserProfileStatus_Updating :: UserProfileStatus
pattern $bUserProfileStatus_Updating :: UserProfileStatus
$mUserProfileStatus_Updating :: forall r. UserProfileStatus -> (Void# -> r) -> (Void# -> r) -> r
UserProfileStatus_Updating = UserProfileStatus' "Updating"
{-# COMPLETE
UserProfileStatus_Delete_Failed,
UserProfileStatus_Deleting,
UserProfileStatus_Failed,
UserProfileStatus_InService,
UserProfileStatus_Pending,
UserProfileStatus_Update_Failed,
UserProfileStatus_Updating,
UserProfileStatus'
#-}