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