{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.DMS.Types.CannedAclForObjectsValue
( CannedAclForObjectsValue
( ..,
CannedAclForObjectsValue_Authenticated_read,
CannedAclForObjectsValue_Aws_exec_read,
CannedAclForObjectsValue_Bucket_owner_full_control,
CannedAclForObjectsValue_Bucket_owner_read,
CannedAclForObjectsValue_None,
CannedAclForObjectsValue_Private,
CannedAclForObjectsValue_Public_read,
CannedAclForObjectsValue_Public_read_write
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype CannedAclForObjectsValue = CannedAclForObjectsValue'
{ CannedAclForObjectsValue -> Text
fromCannedAclForObjectsValue ::
Core.Text
}
deriving stock
( Int -> CannedAclForObjectsValue -> ShowS
[CannedAclForObjectsValue] -> ShowS
CannedAclForObjectsValue -> String
(Int -> CannedAclForObjectsValue -> ShowS)
-> (CannedAclForObjectsValue -> String)
-> ([CannedAclForObjectsValue] -> ShowS)
-> Show CannedAclForObjectsValue
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CannedAclForObjectsValue] -> ShowS
$cshowList :: [CannedAclForObjectsValue] -> ShowS
show :: CannedAclForObjectsValue -> String
$cshow :: CannedAclForObjectsValue -> String
showsPrec :: Int -> CannedAclForObjectsValue -> ShowS
$cshowsPrec :: Int -> CannedAclForObjectsValue -> ShowS
Prelude.Show,
ReadPrec [CannedAclForObjectsValue]
ReadPrec CannedAclForObjectsValue
Int -> ReadS CannedAclForObjectsValue
ReadS [CannedAclForObjectsValue]
(Int -> ReadS CannedAclForObjectsValue)
-> ReadS [CannedAclForObjectsValue]
-> ReadPrec CannedAclForObjectsValue
-> ReadPrec [CannedAclForObjectsValue]
-> Read CannedAclForObjectsValue
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CannedAclForObjectsValue]
$creadListPrec :: ReadPrec [CannedAclForObjectsValue]
readPrec :: ReadPrec CannedAclForObjectsValue
$creadPrec :: ReadPrec CannedAclForObjectsValue
readList :: ReadS [CannedAclForObjectsValue]
$creadList :: ReadS [CannedAclForObjectsValue]
readsPrec :: Int -> ReadS CannedAclForObjectsValue
$creadsPrec :: Int -> ReadS CannedAclForObjectsValue
Prelude.Read,
CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
(CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool)
-> (CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool)
-> Eq CannedAclForObjectsValue
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
$c/= :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
== :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
$c== :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
Prelude.Eq,
Eq CannedAclForObjectsValue
Eq CannedAclForObjectsValue
-> (CannedAclForObjectsValue
-> CannedAclForObjectsValue -> Ordering)
-> (CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool)
-> (CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool)
-> (CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool)
-> (CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool)
-> (CannedAclForObjectsValue
-> CannedAclForObjectsValue -> CannedAclForObjectsValue)
-> (CannedAclForObjectsValue
-> CannedAclForObjectsValue -> CannedAclForObjectsValue)
-> Ord CannedAclForObjectsValue
CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
CannedAclForObjectsValue -> CannedAclForObjectsValue -> Ordering
CannedAclForObjectsValue
-> CannedAclForObjectsValue -> CannedAclForObjectsValue
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 :: CannedAclForObjectsValue
-> CannedAclForObjectsValue -> CannedAclForObjectsValue
$cmin :: CannedAclForObjectsValue
-> CannedAclForObjectsValue -> CannedAclForObjectsValue
max :: CannedAclForObjectsValue
-> CannedAclForObjectsValue -> CannedAclForObjectsValue
$cmax :: CannedAclForObjectsValue
-> CannedAclForObjectsValue -> CannedAclForObjectsValue
>= :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
$c>= :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
> :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
$c> :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
<= :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
$c<= :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
< :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
$c< :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Bool
compare :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Ordering
$ccompare :: CannedAclForObjectsValue -> CannedAclForObjectsValue -> Ordering
$cp1Ord :: Eq CannedAclForObjectsValue
Prelude.Ord,
(forall x.
CannedAclForObjectsValue -> Rep CannedAclForObjectsValue x)
-> (forall x.
Rep CannedAclForObjectsValue x -> CannedAclForObjectsValue)
-> Generic CannedAclForObjectsValue
forall x.
Rep CannedAclForObjectsValue x -> CannedAclForObjectsValue
forall x.
CannedAclForObjectsValue -> Rep CannedAclForObjectsValue x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CannedAclForObjectsValue x -> CannedAclForObjectsValue
$cfrom :: forall x.
CannedAclForObjectsValue -> Rep CannedAclForObjectsValue x
Prelude.Generic
)
deriving newtype
( Int -> CannedAclForObjectsValue -> Int
CannedAclForObjectsValue -> Int
(Int -> CannedAclForObjectsValue -> Int)
-> (CannedAclForObjectsValue -> Int)
-> Hashable CannedAclForObjectsValue
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: CannedAclForObjectsValue -> Int
$chash :: CannedAclForObjectsValue -> Int
hashWithSalt :: Int -> CannedAclForObjectsValue -> Int
$chashWithSalt :: Int -> CannedAclForObjectsValue -> Int
Prelude.Hashable,
CannedAclForObjectsValue -> ()
(CannedAclForObjectsValue -> ()) -> NFData CannedAclForObjectsValue
forall a. (a -> ()) -> NFData a
rnf :: CannedAclForObjectsValue -> ()
$crnf :: CannedAclForObjectsValue -> ()
Prelude.NFData,
Text -> Either String CannedAclForObjectsValue
(Text -> Either String CannedAclForObjectsValue)
-> FromText CannedAclForObjectsValue
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String CannedAclForObjectsValue
$cfromText :: Text -> Either String CannedAclForObjectsValue
Core.FromText,
CannedAclForObjectsValue -> Text
(CannedAclForObjectsValue -> Text)
-> ToText CannedAclForObjectsValue
forall a. (a -> Text) -> ToText a
toText :: CannedAclForObjectsValue -> Text
$ctoText :: CannedAclForObjectsValue -> Text
Core.ToText,
CannedAclForObjectsValue -> ByteString
(CannedAclForObjectsValue -> ByteString)
-> ToByteString CannedAclForObjectsValue
forall a. (a -> ByteString) -> ToByteString a
toBS :: CannedAclForObjectsValue -> ByteString
$ctoBS :: CannedAclForObjectsValue -> ByteString
Core.ToByteString,
CannedAclForObjectsValue -> ByteStringBuilder
(CannedAclForObjectsValue -> ByteStringBuilder)
-> ToLog CannedAclForObjectsValue
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: CannedAclForObjectsValue -> ByteStringBuilder
$cbuild :: CannedAclForObjectsValue -> ByteStringBuilder
Core.ToLog,
HeaderName -> CannedAclForObjectsValue -> [Header]
(HeaderName -> CannedAclForObjectsValue -> [Header])
-> ToHeader CannedAclForObjectsValue
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> CannedAclForObjectsValue -> [Header]
$ctoHeader :: HeaderName -> CannedAclForObjectsValue -> [Header]
Core.ToHeader,
CannedAclForObjectsValue -> QueryString
(CannedAclForObjectsValue -> QueryString)
-> ToQuery CannedAclForObjectsValue
forall a. (a -> QueryString) -> ToQuery a
toQuery :: CannedAclForObjectsValue -> QueryString
$ctoQuery :: CannedAclForObjectsValue -> QueryString
Core.ToQuery,
Value -> Parser [CannedAclForObjectsValue]
Value -> Parser CannedAclForObjectsValue
(Value -> Parser CannedAclForObjectsValue)
-> (Value -> Parser [CannedAclForObjectsValue])
-> FromJSON CannedAclForObjectsValue
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [CannedAclForObjectsValue]
$cparseJSONList :: Value -> Parser [CannedAclForObjectsValue]
parseJSON :: Value -> Parser CannedAclForObjectsValue
$cparseJSON :: Value -> Parser CannedAclForObjectsValue
Core.FromJSON,
FromJSONKeyFunction [CannedAclForObjectsValue]
FromJSONKeyFunction CannedAclForObjectsValue
FromJSONKeyFunction CannedAclForObjectsValue
-> FromJSONKeyFunction [CannedAclForObjectsValue]
-> FromJSONKey CannedAclForObjectsValue
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [CannedAclForObjectsValue]
$cfromJSONKeyList :: FromJSONKeyFunction [CannedAclForObjectsValue]
fromJSONKey :: FromJSONKeyFunction CannedAclForObjectsValue
$cfromJSONKey :: FromJSONKeyFunction CannedAclForObjectsValue
Core.FromJSONKey,
[CannedAclForObjectsValue] -> Encoding
[CannedAclForObjectsValue] -> Value
CannedAclForObjectsValue -> Encoding
CannedAclForObjectsValue -> Value
(CannedAclForObjectsValue -> Value)
-> (CannedAclForObjectsValue -> Encoding)
-> ([CannedAclForObjectsValue] -> Value)
-> ([CannedAclForObjectsValue] -> Encoding)
-> ToJSON CannedAclForObjectsValue
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [CannedAclForObjectsValue] -> Encoding
$ctoEncodingList :: [CannedAclForObjectsValue] -> Encoding
toJSONList :: [CannedAclForObjectsValue] -> Value
$ctoJSONList :: [CannedAclForObjectsValue] -> Value
toEncoding :: CannedAclForObjectsValue -> Encoding
$ctoEncoding :: CannedAclForObjectsValue -> Encoding
toJSON :: CannedAclForObjectsValue -> Value
$ctoJSON :: CannedAclForObjectsValue -> Value
Core.ToJSON,
ToJSONKeyFunction [CannedAclForObjectsValue]
ToJSONKeyFunction CannedAclForObjectsValue
ToJSONKeyFunction CannedAclForObjectsValue
-> ToJSONKeyFunction [CannedAclForObjectsValue]
-> ToJSONKey CannedAclForObjectsValue
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [CannedAclForObjectsValue]
$ctoJSONKeyList :: ToJSONKeyFunction [CannedAclForObjectsValue]
toJSONKey :: ToJSONKeyFunction CannedAclForObjectsValue
$ctoJSONKey :: ToJSONKeyFunction CannedAclForObjectsValue
Core.ToJSONKey,
[Node] -> Either String CannedAclForObjectsValue
([Node] -> Either String CannedAclForObjectsValue)
-> FromXML CannedAclForObjectsValue
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String CannedAclForObjectsValue
$cparseXML :: [Node] -> Either String CannedAclForObjectsValue
Core.FromXML,
CannedAclForObjectsValue -> XML
(CannedAclForObjectsValue -> XML) -> ToXML CannedAclForObjectsValue
forall a. (a -> XML) -> ToXML a
toXML :: CannedAclForObjectsValue -> XML
$ctoXML :: CannedAclForObjectsValue -> XML
Core.ToXML
)
pattern CannedAclForObjectsValue_Authenticated_read :: CannedAclForObjectsValue
pattern $bCannedAclForObjectsValue_Authenticated_read :: CannedAclForObjectsValue
$mCannedAclForObjectsValue_Authenticated_read :: forall r.
CannedAclForObjectsValue -> (Void# -> r) -> (Void# -> r) -> r
CannedAclForObjectsValue_Authenticated_read = CannedAclForObjectsValue' "authenticated-read"
pattern CannedAclForObjectsValue_Aws_exec_read :: CannedAclForObjectsValue
pattern $bCannedAclForObjectsValue_Aws_exec_read :: CannedAclForObjectsValue
$mCannedAclForObjectsValue_Aws_exec_read :: forall r.
CannedAclForObjectsValue -> (Void# -> r) -> (Void# -> r) -> r
CannedAclForObjectsValue_Aws_exec_read = CannedAclForObjectsValue' "aws-exec-read"
pattern CannedAclForObjectsValue_Bucket_owner_full_control :: CannedAclForObjectsValue
pattern $bCannedAclForObjectsValue_Bucket_owner_full_control :: CannedAclForObjectsValue
$mCannedAclForObjectsValue_Bucket_owner_full_control :: forall r.
CannedAclForObjectsValue -> (Void# -> r) -> (Void# -> r) -> r
CannedAclForObjectsValue_Bucket_owner_full_control = CannedAclForObjectsValue' "bucket-owner-full-control"
pattern CannedAclForObjectsValue_Bucket_owner_read :: CannedAclForObjectsValue
pattern $bCannedAclForObjectsValue_Bucket_owner_read :: CannedAclForObjectsValue
$mCannedAclForObjectsValue_Bucket_owner_read :: forall r.
CannedAclForObjectsValue -> (Void# -> r) -> (Void# -> r) -> r
CannedAclForObjectsValue_Bucket_owner_read = CannedAclForObjectsValue' "bucket-owner-read"
pattern CannedAclForObjectsValue_None :: CannedAclForObjectsValue
pattern $bCannedAclForObjectsValue_None :: CannedAclForObjectsValue
$mCannedAclForObjectsValue_None :: forall r.
CannedAclForObjectsValue -> (Void# -> r) -> (Void# -> r) -> r
CannedAclForObjectsValue_None = CannedAclForObjectsValue' "none"
pattern CannedAclForObjectsValue_Private :: CannedAclForObjectsValue
pattern $bCannedAclForObjectsValue_Private :: CannedAclForObjectsValue
$mCannedAclForObjectsValue_Private :: forall r.
CannedAclForObjectsValue -> (Void# -> r) -> (Void# -> r) -> r
CannedAclForObjectsValue_Private = CannedAclForObjectsValue' "private"
pattern CannedAclForObjectsValue_Public_read :: CannedAclForObjectsValue
pattern $bCannedAclForObjectsValue_Public_read :: CannedAclForObjectsValue
$mCannedAclForObjectsValue_Public_read :: forall r.
CannedAclForObjectsValue -> (Void# -> r) -> (Void# -> r) -> r
CannedAclForObjectsValue_Public_read = CannedAclForObjectsValue' "public-read"
pattern CannedAclForObjectsValue_Public_read_write :: CannedAclForObjectsValue
pattern $bCannedAclForObjectsValue_Public_read_write :: CannedAclForObjectsValue
$mCannedAclForObjectsValue_Public_read_write :: forall r.
CannedAclForObjectsValue -> (Void# -> r) -> (Void# -> r) -> r
CannedAclForObjectsValue_Public_read_write = CannedAclForObjectsValue' "public-read-write"
{-# COMPLETE
CannedAclForObjectsValue_Authenticated_read,
CannedAclForObjectsValue_Aws_exec_read,
CannedAclForObjectsValue_Bucket_owner_full_control,
CannedAclForObjectsValue_Bucket_owner_read,
CannedAclForObjectsValue_None,
CannedAclForObjectsValue_Private,
CannedAclForObjectsValue_Public_read,
CannedAclForObjectsValue_Public_read_write,
CannedAclForObjectsValue'
#-}