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