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