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