module Stratosphere.S3.Bucket.SseKmsEncryptedObjectsProperty (
SseKmsEncryptedObjectsProperty(..),
mkSseKmsEncryptedObjectsProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SseKmsEncryptedObjectsProperty
=
SseKmsEncryptedObjectsProperty {SseKmsEncryptedObjectsProperty -> ()
haddock_workaround_ :: (),
SseKmsEncryptedObjectsProperty -> Value Text
status :: (Value Prelude.Text)}
deriving stock (SseKmsEncryptedObjectsProperty
-> SseKmsEncryptedObjectsProperty -> Bool
(SseKmsEncryptedObjectsProperty
-> SseKmsEncryptedObjectsProperty -> Bool)
-> (SseKmsEncryptedObjectsProperty
-> SseKmsEncryptedObjectsProperty -> Bool)
-> Eq SseKmsEncryptedObjectsProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SseKmsEncryptedObjectsProperty
-> SseKmsEncryptedObjectsProperty -> Bool
== :: SseKmsEncryptedObjectsProperty
-> SseKmsEncryptedObjectsProperty -> Bool
$c/= :: SseKmsEncryptedObjectsProperty
-> SseKmsEncryptedObjectsProperty -> Bool
/= :: SseKmsEncryptedObjectsProperty
-> SseKmsEncryptedObjectsProperty -> Bool
Prelude.Eq, Int -> SseKmsEncryptedObjectsProperty -> ShowS
[SseKmsEncryptedObjectsProperty] -> ShowS
SseKmsEncryptedObjectsProperty -> String
(Int -> SseKmsEncryptedObjectsProperty -> ShowS)
-> (SseKmsEncryptedObjectsProperty -> String)
-> ([SseKmsEncryptedObjectsProperty] -> ShowS)
-> Show SseKmsEncryptedObjectsProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SseKmsEncryptedObjectsProperty -> ShowS
showsPrec :: Int -> SseKmsEncryptedObjectsProperty -> ShowS
$cshow :: SseKmsEncryptedObjectsProperty -> String
show :: SseKmsEncryptedObjectsProperty -> String
$cshowList :: [SseKmsEncryptedObjectsProperty] -> ShowS
showList :: [SseKmsEncryptedObjectsProperty] -> ShowS
Prelude.Show)
mkSseKmsEncryptedObjectsProperty ::
Value Prelude.Text -> SseKmsEncryptedObjectsProperty
mkSseKmsEncryptedObjectsProperty :: Value Text -> SseKmsEncryptedObjectsProperty
mkSseKmsEncryptedObjectsProperty Value Text
status
= SseKmsEncryptedObjectsProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), status :: Value Text
status = Value Text
status}
instance ToResourceProperties SseKmsEncryptedObjectsProperty where
toResourceProperties :: SseKmsEncryptedObjectsProperty -> ResourceProperties
toResourceProperties SseKmsEncryptedObjectsProperty {()
Value Text
haddock_workaround_ :: SseKmsEncryptedObjectsProperty -> ()
status :: SseKmsEncryptedObjectsProperty -> Value Text
haddock_workaround_ :: ()
status :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::S3::Bucket.SseKmsEncryptedObjects",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"Status" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
status]}
instance JSON.ToJSON SseKmsEncryptedObjectsProperty where
toJSON :: SseKmsEncryptedObjectsProperty -> Value
toJSON SseKmsEncryptedObjectsProperty {()
Value Text
haddock_workaround_ :: SseKmsEncryptedObjectsProperty -> ()
status :: SseKmsEncryptedObjectsProperty -> Value Text
haddock_workaround_ :: ()
status :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object [Key
"Status" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
status]
instance Property "Status" SseKmsEncryptedObjectsProperty where
type PropertyType "Status" SseKmsEncryptedObjectsProperty = Value Prelude.Text
set :: PropertyType "Status" SseKmsEncryptedObjectsProperty
-> SseKmsEncryptedObjectsProperty -> SseKmsEncryptedObjectsProperty
set PropertyType "Status" SseKmsEncryptedObjectsProperty
newValue SseKmsEncryptedObjectsProperty {()
Value Text
haddock_workaround_ :: SseKmsEncryptedObjectsProperty -> ()
status :: SseKmsEncryptedObjectsProperty -> Value Text
haddock_workaround_ :: ()
status :: Value Text
..}
= SseKmsEncryptedObjectsProperty {status :: Value Text
status = PropertyType "Status" SseKmsEncryptedObjectsProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}