{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.SecretsManager.Types.StatusType
( StatusType
( ..,
StatusType_Failed,
StatusType_InProgress,
StatusType_InSync
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype StatusType = StatusType'
{ StatusType -> Text
fromStatusType ::
Core.Text
}
deriving stock
( Int -> StatusType -> ShowS
[StatusType] -> ShowS
StatusType -> String
(Int -> StatusType -> ShowS)
-> (StatusType -> String)
-> ([StatusType] -> ShowS)
-> Show StatusType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StatusType] -> ShowS
$cshowList :: [StatusType] -> ShowS
show :: StatusType -> String
$cshow :: StatusType -> String
showsPrec :: Int -> StatusType -> ShowS
$cshowsPrec :: Int -> StatusType -> ShowS
Prelude.Show,
ReadPrec [StatusType]
ReadPrec StatusType
Int -> ReadS StatusType
ReadS [StatusType]
(Int -> ReadS StatusType)
-> ReadS [StatusType]
-> ReadPrec StatusType
-> ReadPrec [StatusType]
-> Read StatusType
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [StatusType]
$creadListPrec :: ReadPrec [StatusType]
readPrec :: ReadPrec StatusType
$creadPrec :: ReadPrec StatusType
readList :: ReadS [StatusType]
$creadList :: ReadS [StatusType]
readsPrec :: Int -> ReadS StatusType
$creadsPrec :: Int -> ReadS StatusType
Prelude.Read,
StatusType -> StatusType -> Bool
(StatusType -> StatusType -> Bool)
-> (StatusType -> StatusType -> Bool) -> Eq StatusType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StatusType -> StatusType -> Bool
$c/= :: StatusType -> StatusType -> Bool
== :: StatusType -> StatusType -> Bool
$c== :: StatusType -> StatusType -> Bool
Prelude.Eq,
Eq StatusType
Eq StatusType
-> (StatusType -> StatusType -> Ordering)
-> (StatusType -> StatusType -> Bool)
-> (StatusType -> StatusType -> Bool)
-> (StatusType -> StatusType -> Bool)
-> (StatusType -> StatusType -> Bool)
-> (StatusType -> StatusType -> StatusType)
-> (StatusType -> StatusType -> StatusType)
-> Ord StatusType
StatusType -> StatusType -> Bool
StatusType -> StatusType -> Ordering
StatusType -> StatusType -> StatusType
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 :: StatusType -> StatusType -> StatusType
$cmin :: StatusType -> StatusType -> StatusType
max :: StatusType -> StatusType -> StatusType
$cmax :: StatusType -> StatusType -> StatusType
>= :: StatusType -> StatusType -> Bool
$c>= :: StatusType -> StatusType -> Bool
> :: StatusType -> StatusType -> Bool
$c> :: StatusType -> StatusType -> Bool
<= :: StatusType -> StatusType -> Bool
$c<= :: StatusType -> StatusType -> Bool
< :: StatusType -> StatusType -> Bool
$c< :: StatusType -> StatusType -> Bool
compare :: StatusType -> StatusType -> Ordering
$ccompare :: StatusType -> StatusType -> Ordering
$cp1Ord :: Eq StatusType
Prelude.Ord,
(forall x. StatusType -> Rep StatusType x)
-> (forall x. Rep StatusType x -> StatusType) -> Generic StatusType
forall x. Rep StatusType x -> StatusType
forall x. StatusType -> Rep StatusType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StatusType x -> StatusType
$cfrom :: forall x. StatusType -> Rep StatusType x
Prelude.Generic
)
deriving newtype
( Int -> StatusType -> Int
StatusType -> Int
(Int -> StatusType -> Int)
-> (StatusType -> Int) -> Hashable StatusType
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: StatusType -> Int
$chash :: StatusType -> Int
hashWithSalt :: Int -> StatusType -> Int
$chashWithSalt :: Int -> StatusType -> Int
Prelude.Hashable,
StatusType -> ()
(StatusType -> ()) -> NFData StatusType
forall a. (a -> ()) -> NFData a
rnf :: StatusType -> ()
$crnf :: StatusType -> ()
Prelude.NFData,
Text -> Either String StatusType
(Text -> Either String StatusType) -> FromText StatusType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String StatusType
$cfromText :: Text -> Either String StatusType
Core.FromText,
StatusType -> Text
(StatusType -> Text) -> ToText StatusType
forall a. (a -> Text) -> ToText a
toText :: StatusType -> Text
$ctoText :: StatusType -> Text
Core.ToText,
StatusType -> ByteString
(StatusType -> ByteString) -> ToByteString StatusType
forall a. (a -> ByteString) -> ToByteString a
toBS :: StatusType -> ByteString
$ctoBS :: StatusType -> ByteString
Core.ToByteString,
StatusType -> ByteStringBuilder
(StatusType -> ByteStringBuilder) -> ToLog StatusType
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: StatusType -> ByteStringBuilder
$cbuild :: StatusType -> ByteStringBuilder
Core.ToLog,
HeaderName -> StatusType -> [Header]
(HeaderName -> StatusType -> [Header]) -> ToHeader StatusType
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> StatusType -> [Header]
$ctoHeader :: HeaderName -> StatusType -> [Header]
Core.ToHeader,
StatusType -> QueryString
(StatusType -> QueryString) -> ToQuery StatusType
forall a. (a -> QueryString) -> ToQuery a
toQuery :: StatusType -> QueryString
$ctoQuery :: StatusType -> QueryString
Core.ToQuery,
Value -> Parser [StatusType]
Value -> Parser StatusType
(Value -> Parser StatusType)
-> (Value -> Parser [StatusType]) -> FromJSON StatusType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [StatusType]
$cparseJSONList :: Value -> Parser [StatusType]
parseJSON :: Value -> Parser StatusType
$cparseJSON :: Value -> Parser StatusType
Core.FromJSON,
FromJSONKeyFunction [StatusType]
FromJSONKeyFunction StatusType
FromJSONKeyFunction StatusType
-> FromJSONKeyFunction [StatusType] -> FromJSONKey StatusType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [StatusType]
$cfromJSONKeyList :: FromJSONKeyFunction [StatusType]
fromJSONKey :: FromJSONKeyFunction StatusType
$cfromJSONKey :: FromJSONKeyFunction StatusType
Core.FromJSONKey,
[StatusType] -> Encoding
[StatusType] -> Value
StatusType -> Encoding
StatusType -> Value
(StatusType -> Value)
-> (StatusType -> Encoding)
-> ([StatusType] -> Value)
-> ([StatusType] -> Encoding)
-> ToJSON StatusType
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [StatusType] -> Encoding
$ctoEncodingList :: [StatusType] -> Encoding
toJSONList :: [StatusType] -> Value
$ctoJSONList :: [StatusType] -> Value
toEncoding :: StatusType -> Encoding
$ctoEncoding :: StatusType -> Encoding
toJSON :: StatusType -> Value
$ctoJSON :: StatusType -> Value
Core.ToJSON,
ToJSONKeyFunction [StatusType]
ToJSONKeyFunction StatusType
ToJSONKeyFunction StatusType
-> ToJSONKeyFunction [StatusType] -> ToJSONKey StatusType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [StatusType]
$ctoJSONKeyList :: ToJSONKeyFunction [StatusType]
toJSONKey :: ToJSONKeyFunction StatusType
$ctoJSONKey :: ToJSONKeyFunction StatusType
Core.ToJSONKey,
[Node] -> Either String StatusType
([Node] -> Either String StatusType) -> FromXML StatusType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String StatusType
$cparseXML :: [Node] -> Either String StatusType
Core.FromXML,
StatusType -> XML
(StatusType -> XML) -> ToXML StatusType
forall a. (a -> XML) -> ToXML a
toXML :: StatusType -> XML
$ctoXML :: StatusType -> XML
Core.ToXML
)
pattern StatusType_Failed :: StatusType
pattern $bStatusType_Failed :: StatusType
$mStatusType_Failed :: forall r. StatusType -> (Void# -> r) -> (Void# -> r) -> r
StatusType_Failed = StatusType' "Failed"
pattern StatusType_InProgress :: StatusType
pattern $bStatusType_InProgress :: StatusType
$mStatusType_InProgress :: forall r. StatusType -> (Void# -> r) -> (Void# -> r) -> r
StatusType_InProgress = StatusType' "InProgress"
pattern StatusType_InSync :: StatusType
pattern $bStatusType_InSync :: StatusType
$mStatusType_InSync :: forall r. StatusType -> (Void# -> r) -> (Void# -> r) -> r
StatusType_InSync = StatusType' "InSync"
{-# COMPLETE
StatusType_Failed,
StatusType_InProgress,
StatusType_InSync,
StatusType'
#-}