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