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