{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.FSx.Types.DataRepositoryLifecycle
( DataRepositoryLifecycle
( ..,
DataRepositoryLifecycle_AVAILABLE,
DataRepositoryLifecycle_CREATING,
DataRepositoryLifecycle_DELETING,
DataRepositoryLifecycle_FAILED,
DataRepositoryLifecycle_MISCONFIGURED,
DataRepositoryLifecycle_UPDATING
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype DataRepositoryLifecycle = DataRepositoryLifecycle'
{ DataRepositoryLifecycle -> Text
fromDataRepositoryLifecycle ::
Data.Text
}
deriving stock
( Int -> DataRepositoryLifecycle -> ShowS
[DataRepositoryLifecycle] -> ShowS
DataRepositoryLifecycle -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DataRepositoryLifecycle] -> ShowS
$cshowList :: [DataRepositoryLifecycle] -> ShowS
show :: DataRepositoryLifecycle -> String
$cshow :: DataRepositoryLifecycle -> String
showsPrec :: Int -> DataRepositoryLifecycle -> ShowS
$cshowsPrec :: Int -> DataRepositoryLifecycle -> ShowS
Prelude.Show,
ReadPrec [DataRepositoryLifecycle]
ReadPrec DataRepositoryLifecycle
Int -> ReadS DataRepositoryLifecycle
ReadS [DataRepositoryLifecycle]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DataRepositoryLifecycle]
$creadListPrec :: ReadPrec [DataRepositoryLifecycle]
readPrec :: ReadPrec DataRepositoryLifecycle
$creadPrec :: ReadPrec DataRepositoryLifecycle
readList :: ReadS [DataRepositoryLifecycle]
$creadList :: ReadS [DataRepositoryLifecycle]
readsPrec :: Int -> ReadS DataRepositoryLifecycle
$creadsPrec :: Int -> ReadS DataRepositoryLifecycle
Prelude.Read,
DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
$c/= :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
== :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
$c== :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
Prelude.Eq,
Eq DataRepositoryLifecycle
DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
DataRepositoryLifecycle -> DataRepositoryLifecycle -> Ordering
DataRepositoryLifecycle
-> DataRepositoryLifecycle -> DataRepositoryLifecycle
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 :: DataRepositoryLifecycle
-> DataRepositoryLifecycle -> DataRepositoryLifecycle
$cmin :: DataRepositoryLifecycle
-> DataRepositoryLifecycle -> DataRepositoryLifecycle
max :: DataRepositoryLifecycle
-> DataRepositoryLifecycle -> DataRepositoryLifecycle
$cmax :: DataRepositoryLifecycle
-> DataRepositoryLifecycle -> DataRepositoryLifecycle
>= :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
$c>= :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
> :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
$c> :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
<= :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
$c<= :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
< :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
$c< :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Bool
compare :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Ordering
$ccompare :: DataRepositoryLifecycle -> DataRepositoryLifecycle -> Ordering
Prelude.Ord,
forall x. Rep DataRepositoryLifecycle x -> DataRepositoryLifecycle
forall x. DataRepositoryLifecycle -> Rep DataRepositoryLifecycle x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DataRepositoryLifecycle x -> DataRepositoryLifecycle
$cfrom :: forall x. DataRepositoryLifecycle -> Rep DataRepositoryLifecycle x
Prelude.Generic
)
deriving newtype
( Eq DataRepositoryLifecycle
Int -> DataRepositoryLifecycle -> Int
DataRepositoryLifecycle -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: DataRepositoryLifecycle -> Int
$chash :: DataRepositoryLifecycle -> Int
hashWithSalt :: Int -> DataRepositoryLifecycle -> Int
$chashWithSalt :: Int -> DataRepositoryLifecycle -> Int
Prelude.Hashable,
DataRepositoryLifecycle -> ()
forall a. (a -> ()) -> NFData a
rnf :: DataRepositoryLifecycle -> ()
$crnf :: DataRepositoryLifecycle -> ()
Prelude.NFData,
Text -> Either String DataRepositoryLifecycle
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String DataRepositoryLifecycle
$cfromText :: Text -> Either String DataRepositoryLifecycle
Data.FromText,
DataRepositoryLifecycle -> Text
forall a. (a -> Text) -> ToText a
toText :: DataRepositoryLifecycle -> Text
$ctoText :: DataRepositoryLifecycle -> Text
Data.ToText,
DataRepositoryLifecycle -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: DataRepositoryLifecycle -> ByteString
$ctoBS :: DataRepositoryLifecycle -> ByteString
Data.ToByteString,
DataRepositoryLifecycle -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: DataRepositoryLifecycle -> ByteStringBuilder
$cbuild :: DataRepositoryLifecycle -> ByteStringBuilder
Data.ToLog,
HeaderName -> DataRepositoryLifecycle -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> DataRepositoryLifecycle -> [Header]
$ctoHeader :: HeaderName -> DataRepositoryLifecycle -> [Header]
Data.ToHeader,
DataRepositoryLifecycle -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: DataRepositoryLifecycle -> QueryString
$ctoQuery :: DataRepositoryLifecycle -> QueryString
Data.ToQuery,
Value -> Parser [DataRepositoryLifecycle]
Value -> Parser DataRepositoryLifecycle
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [DataRepositoryLifecycle]
$cparseJSONList :: Value -> Parser [DataRepositoryLifecycle]
parseJSON :: Value -> Parser DataRepositoryLifecycle
$cparseJSON :: Value -> Parser DataRepositoryLifecycle
Data.FromJSON,
FromJSONKeyFunction [DataRepositoryLifecycle]
FromJSONKeyFunction DataRepositoryLifecycle
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [DataRepositoryLifecycle]
$cfromJSONKeyList :: FromJSONKeyFunction [DataRepositoryLifecycle]
fromJSONKey :: FromJSONKeyFunction DataRepositoryLifecycle
$cfromJSONKey :: FromJSONKeyFunction DataRepositoryLifecycle
Data.FromJSONKey,
[DataRepositoryLifecycle] -> Encoding
[DataRepositoryLifecycle] -> Value
DataRepositoryLifecycle -> Encoding
DataRepositoryLifecycle -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [DataRepositoryLifecycle] -> Encoding
$ctoEncodingList :: [DataRepositoryLifecycle] -> Encoding
toJSONList :: [DataRepositoryLifecycle] -> Value
$ctoJSONList :: [DataRepositoryLifecycle] -> Value
toEncoding :: DataRepositoryLifecycle -> Encoding
$ctoEncoding :: DataRepositoryLifecycle -> Encoding
toJSON :: DataRepositoryLifecycle -> Value
$ctoJSON :: DataRepositoryLifecycle -> Value
Data.ToJSON,
ToJSONKeyFunction [DataRepositoryLifecycle]
ToJSONKeyFunction DataRepositoryLifecycle
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [DataRepositoryLifecycle]
$ctoJSONKeyList :: ToJSONKeyFunction [DataRepositoryLifecycle]
toJSONKey :: ToJSONKeyFunction DataRepositoryLifecycle
$ctoJSONKey :: ToJSONKeyFunction DataRepositoryLifecycle
Data.ToJSONKey,
[Node] -> Either String DataRepositoryLifecycle
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String DataRepositoryLifecycle
$cparseXML :: [Node] -> Either String DataRepositoryLifecycle
Data.FromXML,
DataRepositoryLifecycle -> XML
forall a. (a -> XML) -> ToXML a
toXML :: DataRepositoryLifecycle -> XML
$ctoXML :: DataRepositoryLifecycle -> XML
Data.ToXML
)
pattern DataRepositoryLifecycle_AVAILABLE :: DataRepositoryLifecycle
pattern $bDataRepositoryLifecycle_AVAILABLE :: DataRepositoryLifecycle
$mDataRepositoryLifecycle_AVAILABLE :: forall {r}.
DataRepositoryLifecycle -> ((# #) -> r) -> ((# #) -> r) -> r
DataRepositoryLifecycle_AVAILABLE = DataRepositoryLifecycle' "AVAILABLE"
pattern DataRepositoryLifecycle_CREATING :: DataRepositoryLifecycle
pattern $bDataRepositoryLifecycle_CREATING :: DataRepositoryLifecycle
$mDataRepositoryLifecycle_CREATING :: forall {r}.
DataRepositoryLifecycle -> ((# #) -> r) -> ((# #) -> r) -> r
DataRepositoryLifecycle_CREATING = DataRepositoryLifecycle' "CREATING"
pattern DataRepositoryLifecycle_DELETING :: DataRepositoryLifecycle
pattern $bDataRepositoryLifecycle_DELETING :: DataRepositoryLifecycle
$mDataRepositoryLifecycle_DELETING :: forall {r}.
DataRepositoryLifecycle -> ((# #) -> r) -> ((# #) -> r) -> r
DataRepositoryLifecycle_DELETING = DataRepositoryLifecycle' "DELETING"
pattern DataRepositoryLifecycle_FAILED :: DataRepositoryLifecycle
pattern $bDataRepositoryLifecycle_FAILED :: DataRepositoryLifecycle
$mDataRepositoryLifecycle_FAILED :: forall {r}.
DataRepositoryLifecycle -> ((# #) -> r) -> ((# #) -> r) -> r
DataRepositoryLifecycle_FAILED = DataRepositoryLifecycle' "FAILED"
pattern DataRepositoryLifecycle_MISCONFIGURED :: DataRepositoryLifecycle
pattern $bDataRepositoryLifecycle_MISCONFIGURED :: DataRepositoryLifecycle
$mDataRepositoryLifecycle_MISCONFIGURED :: forall {r}.
DataRepositoryLifecycle -> ((# #) -> r) -> ((# #) -> r) -> r
DataRepositoryLifecycle_MISCONFIGURED = DataRepositoryLifecycle' "MISCONFIGURED"
pattern DataRepositoryLifecycle_UPDATING :: DataRepositoryLifecycle
pattern $bDataRepositoryLifecycle_UPDATING :: DataRepositoryLifecycle
$mDataRepositoryLifecycle_UPDATING :: forall {r}.
DataRepositoryLifecycle -> ((# #) -> r) -> ((# #) -> r) -> r
DataRepositoryLifecycle_UPDATING = DataRepositoryLifecycle' "UPDATING"
{-# COMPLETE
DataRepositoryLifecycle_AVAILABLE,
DataRepositoryLifecycle_CREATING,
DataRepositoryLifecycle_DELETING,
DataRepositoryLifecycle_FAILED,
DataRepositoryLifecycle_MISCONFIGURED,
DataRepositoryLifecycle_UPDATING,
DataRepositoryLifecycle'
#-}