module Stratosphere.MediaConnect.FlowSource.EncryptionProperty (
        EncryptionProperty(..), mkEncryptionProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data EncryptionProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html>
    EncryptionProperty {EncryptionProperty -> ()
haddock_workaround_ :: (),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-algorithm>
                        EncryptionProperty -> Maybe (Value Text)
algorithm :: (Prelude.Maybe (Value Prelude.Text)),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-constantinitializationvector>
                        EncryptionProperty -> Maybe (Value Text)
constantInitializationVector :: (Prelude.Maybe (Value Prelude.Text)),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-deviceid>
                        EncryptionProperty -> Maybe (Value Text)
deviceId :: (Prelude.Maybe (Value Prelude.Text)),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-keytype>
                        EncryptionProperty -> Maybe (Value Text)
keyType :: (Prelude.Maybe (Value Prelude.Text)),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-region>
                        EncryptionProperty -> Maybe (Value Text)
region :: (Prelude.Maybe (Value Prelude.Text)),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-resourceid>
                        EncryptionProperty -> Maybe (Value Text)
resourceId :: (Prelude.Maybe (Value Prelude.Text)),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-rolearn>
                        EncryptionProperty -> Value Text
roleArn :: (Value Prelude.Text),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-secretarn>
                        EncryptionProperty -> Maybe (Value Text)
secretArn :: (Prelude.Maybe (Value Prelude.Text)),
                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-url>
                        EncryptionProperty -> Maybe (Value Text)
url :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (EncryptionProperty -> EncryptionProperty -> Bool
(EncryptionProperty -> EncryptionProperty -> Bool)
-> (EncryptionProperty -> EncryptionProperty -> Bool)
-> Eq EncryptionProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: EncryptionProperty -> EncryptionProperty -> Bool
== :: EncryptionProperty -> EncryptionProperty -> Bool
$c/= :: EncryptionProperty -> EncryptionProperty -> Bool
/= :: EncryptionProperty -> EncryptionProperty -> Bool
Prelude.Eq, Int -> EncryptionProperty -> ShowS
[EncryptionProperty] -> ShowS
EncryptionProperty -> String
(Int -> EncryptionProperty -> ShowS)
-> (EncryptionProperty -> String)
-> ([EncryptionProperty] -> ShowS)
-> Show EncryptionProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> EncryptionProperty -> ShowS
showsPrec :: Int -> EncryptionProperty -> ShowS
$cshow :: EncryptionProperty -> String
show :: EncryptionProperty -> String
$cshowList :: [EncryptionProperty] -> ShowS
showList :: [EncryptionProperty] -> ShowS
Prelude.Show)
mkEncryptionProperty :: Value Prelude.Text -> EncryptionProperty
mkEncryptionProperty :: Value Text -> EncryptionProperty
mkEncryptionProperty Value Text
roleArn
  = EncryptionProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), roleArn :: Value Text
roleArn = Value Text
roleArn,
       algorithm :: Maybe (Value Text)
algorithm = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       constantInitializationVector :: Maybe (Value Text)
constantInitializationVector = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       deviceId :: Maybe (Value Text)
deviceId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, keyType :: Maybe (Value Text)
keyType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       region :: Maybe (Value Text)
region = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, resourceId :: Maybe (Value Text)
resourceId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       secretArn :: Maybe (Value Text)
secretArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, url :: Maybe (Value Text)
url = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties EncryptionProperty where
  toResourceProperties :: EncryptionProperty -> ResourceProperties
toResourceProperties EncryptionProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EncryptionProperty -> ()
algorithm :: EncryptionProperty -> Maybe (Value Text)
constantInitializationVector :: EncryptionProperty -> Maybe (Value Text)
deviceId :: EncryptionProperty -> Maybe (Value Text)
keyType :: EncryptionProperty -> Maybe (Value Text)
region :: EncryptionProperty -> Maybe (Value Text)
resourceId :: EncryptionProperty -> Maybe (Value Text)
roleArn :: EncryptionProperty -> Value Text
secretArn :: EncryptionProperty -> Maybe (Value Text)
url :: EncryptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::MediaConnect::FlowSource.Encryption",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"RoleArn" 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
roleArn]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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..=) Key
"Algorithm" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
algorithm,
                               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..=) Key
"ConstantInitializationVector"
                                 (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
constantInitializationVector,
                               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..=) Key
"DeviceId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
deviceId,
                               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..=) Key
"KeyType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
keyType,
                               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..=) Key
"Region" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
region,
                               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..=) Key
"ResourceId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
resourceId,
                               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..=) Key
"SecretArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
secretArn,
                               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..=) Key
"Url" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
url]))}
instance JSON.ToJSON EncryptionProperty where
  toJSON :: EncryptionProperty -> Value
toJSON EncryptionProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EncryptionProperty -> ()
algorithm :: EncryptionProperty -> Maybe (Value Text)
constantInitializationVector :: EncryptionProperty -> Maybe (Value Text)
deviceId :: EncryptionProperty -> Maybe (Value Text)
keyType :: EncryptionProperty -> Maybe (Value Text)
region :: EncryptionProperty -> Maybe (Value Text)
resourceId :: EncryptionProperty -> Maybe (Value Text)
roleArn :: EncryptionProperty -> Value Text
secretArn :: EncryptionProperty -> Maybe (Value Text)
url :: EncryptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"RoleArn" 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
roleArn]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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..=) Key
"Algorithm" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
algorithm,
                  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..=) Key
"ConstantInitializationVector"
                    (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
constantInitializationVector,
                  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..=) Key
"DeviceId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
deviceId,
                  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..=) Key
"KeyType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
keyType,
                  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..=) Key
"Region" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
region,
                  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..=) Key
"ResourceId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
resourceId,
                  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..=) Key
"SecretArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
secretArn,
                  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..=) Key
"Url" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
url])))
instance Property "Algorithm" EncryptionProperty where
  type PropertyType "Algorithm" EncryptionProperty = Value Prelude.Text
  set :: PropertyType "Algorithm" EncryptionProperty
-> EncryptionProperty -> EncryptionProperty
set PropertyType "Algorithm" EncryptionProperty
newValue EncryptionProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EncryptionProperty -> ()
algorithm :: EncryptionProperty -> Maybe (Value Text)
constantInitializationVector :: EncryptionProperty -> Maybe (Value Text)
deviceId :: EncryptionProperty -> Maybe (Value Text)
keyType :: EncryptionProperty -> Maybe (Value Text)
region :: EncryptionProperty -> Maybe (Value Text)
resourceId :: EncryptionProperty -> Maybe (Value Text)
roleArn :: EncryptionProperty -> Value Text
secretArn :: EncryptionProperty -> Maybe (Value Text)
url :: EncryptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = EncryptionProperty {algorithm :: Maybe (Value Text)
algorithm = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Algorithm" EncryptionProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "ConstantInitializationVector" EncryptionProperty where
  type PropertyType "ConstantInitializationVector" EncryptionProperty = Value Prelude.Text
  set :: PropertyType "ConstantInitializationVector" EncryptionProperty
-> EncryptionProperty -> EncryptionProperty
set PropertyType "ConstantInitializationVector" EncryptionProperty
newValue EncryptionProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EncryptionProperty -> ()
algorithm :: EncryptionProperty -> Maybe (Value Text)
constantInitializationVector :: EncryptionProperty -> Maybe (Value Text)
deviceId :: EncryptionProperty -> Maybe (Value Text)
keyType :: EncryptionProperty -> Maybe (Value Text)
region :: EncryptionProperty -> Maybe (Value Text)
resourceId :: EncryptionProperty -> Maybe (Value Text)
roleArn :: EncryptionProperty -> Value Text
secretArn :: EncryptionProperty -> Maybe (Value Text)
url :: EncryptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = EncryptionProperty
        {constantInitializationVector :: Maybe (Value Text)
constantInitializationVector = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ConstantInitializationVector" EncryptionProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "DeviceId" EncryptionProperty where
  type PropertyType "DeviceId" EncryptionProperty = Value Prelude.Text
  set :: PropertyType "DeviceId" EncryptionProperty
-> EncryptionProperty -> EncryptionProperty
set PropertyType "DeviceId" EncryptionProperty
newValue EncryptionProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EncryptionProperty -> ()
algorithm :: EncryptionProperty -> Maybe (Value Text)
constantInitializationVector :: EncryptionProperty -> Maybe (Value Text)
deviceId :: EncryptionProperty -> Maybe (Value Text)
keyType :: EncryptionProperty -> Maybe (Value Text)
region :: EncryptionProperty -> Maybe (Value Text)
resourceId :: EncryptionProperty -> Maybe (Value Text)
roleArn :: EncryptionProperty -> Value Text
secretArn :: EncryptionProperty -> Maybe (Value Text)
url :: EncryptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = EncryptionProperty {deviceId :: Maybe (Value Text)
deviceId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeviceId" EncryptionProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "KeyType" EncryptionProperty where
  type PropertyType "KeyType" EncryptionProperty = Value Prelude.Text
  set :: PropertyType "KeyType" EncryptionProperty
-> EncryptionProperty -> EncryptionProperty
set PropertyType "KeyType" EncryptionProperty
newValue EncryptionProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EncryptionProperty -> ()
algorithm :: EncryptionProperty -> Maybe (Value Text)
constantInitializationVector :: EncryptionProperty -> Maybe (Value Text)
deviceId :: EncryptionProperty -> Maybe (Value Text)
keyType :: EncryptionProperty -> Maybe (Value Text)
region :: EncryptionProperty -> Maybe (Value Text)
resourceId :: EncryptionProperty -> Maybe (Value Text)
roleArn :: EncryptionProperty -> Value Text
secretArn :: EncryptionProperty -> Maybe (Value Text)
url :: EncryptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = EncryptionProperty {keyType :: Maybe (Value Text)
keyType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "KeyType" EncryptionProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "Region" EncryptionProperty where
  type PropertyType "Region" EncryptionProperty = Value Prelude.Text
  set :: PropertyType "Region" EncryptionProperty
-> EncryptionProperty -> EncryptionProperty
set PropertyType "Region" EncryptionProperty
newValue EncryptionProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EncryptionProperty -> ()
algorithm :: EncryptionProperty -> Maybe (Value Text)
constantInitializationVector :: EncryptionProperty -> Maybe (Value Text)
deviceId :: EncryptionProperty -> Maybe (Value Text)
keyType :: EncryptionProperty -> Maybe (Value Text)
region :: EncryptionProperty -> Maybe (Value Text)
resourceId :: EncryptionProperty -> Maybe (Value Text)
roleArn :: EncryptionProperty -> Value Text
secretArn :: EncryptionProperty -> Maybe (Value Text)
url :: EncryptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = EncryptionProperty {region :: Maybe (Value Text)
region = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Region" EncryptionProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "ResourceId" EncryptionProperty where
  type PropertyType "ResourceId" EncryptionProperty = Value Prelude.Text
  set :: PropertyType "ResourceId" EncryptionProperty
-> EncryptionProperty -> EncryptionProperty
set PropertyType "ResourceId" EncryptionProperty
newValue EncryptionProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EncryptionProperty -> ()
algorithm :: EncryptionProperty -> Maybe (Value Text)
constantInitializationVector :: EncryptionProperty -> Maybe (Value Text)
deviceId :: EncryptionProperty -> Maybe (Value Text)
keyType :: EncryptionProperty -> Maybe (Value Text)
region :: EncryptionProperty -> Maybe (Value Text)
resourceId :: EncryptionProperty -> Maybe (Value Text)
roleArn :: EncryptionProperty -> Value Text
secretArn :: EncryptionProperty -> Maybe (Value Text)
url :: EncryptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = EncryptionProperty {resourceId :: Maybe (Value Text)
resourceId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ResourceId" EncryptionProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "RoleArn" EncryptionProperty where
  type PropertyType "RoleArn" EncryptionProperty = Value Prelude.Text
  set :: PropertyType "RoleArn" EncryptionProperty
-> EncryptionProperty -> EncryptionProperty
set PropertyType "RoleArn" EncryptionProperty
newValue EncryptionProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EncryptionProperty -> ()
algorithm :: EncryptionProperty -> Maybe (Value Text)
constantInitializationVector :: EncryptionProperty -> Maybe (Value Text)
deviceId :: EncryptionProperty -> Maybe (Value Text)
keyType :: EncryptionProperty -> Maybe (Value Text)
region :: EncryptionProperty -> Maybe (Value Text)
resourceId :: EncryptionProperty -> Maybe (Value Text)
roleArn :: EncryptionProperty -> Value Text
secretArn :: EncryptionProperty -> Maybe (Value Text)
url :: EncryptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = EncryptionProperty {roleArn :: Value Text
roleArn = PropertyType "RoleArn" EncryptionProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
instance Property "SecretArn" EncryptionProperty where
  type PropertyType "SecretArn" EncryptionProperty = Value Prelude.Text
  set :: PropertyType "SecretArn" EncryptionProperty
-> EncryptionProperty -> EncryptionProperty
set PropertyType "SecretArn" EncryptionProperty
newValue EncryptionProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EncryptionProperty -> ()
algorithm :: EncryptionProperty -> Maybe (Value Text)
constantInitializationVector :: EncryptionProperty -> Maybe (Value Text)
deviceId :: EncryptionProperty -> Maybe (Value Text)
keyType :: EncryptionProperty -> Maybe (Value Text)
region :: EncryptionProperty -> Maybe (Value Text)
resourceId :: EncryptionProperty -> Maybe (Value Text)
roleArn :: EncryptionProperty -> Value Text
secretArn :: EncryptionProperty -> Maybe (Value Text)
url :: EncryptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = EncryptionProperty {secretArn :: Maybe (Value Text)
secretArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SecretArn" EncryptionProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
url :: Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
url :: Maybe (Value Text)
..}
instance Property "Url" EncryptionProperty where
  type PropertyType "Url" EncryptionProperty = Value Prelude.Text
  set :: PropertyType "Url" EncryptionProperty
-> EncryptionProperty -> EncryptionProperty
set PropertyType "Url" EncryptionProperty
newValue EncryptionProperty {Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EncryptionProperty -> ()
algorithm :: EncryptionProperty -> Maybe (Value Text)
constantInitializationVector :: EncryptionProperty -> Maybe (Value Text)
deviceId :: EncryptionProperty -> Maybe (Value Text)
keyType :: EncryptionProperty -> Maybe (Value Text)
region :: EncryptionProperty -> Maybe (Value Text)
resourceId :: EncryptionProperty -> Maybe (Value Text)
roleArn :: EncryptionProperty -> Value Text
secretArn :: EncryptionProperty -> Maybe (Value Text)
url :: EncryptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
url :: Maybe (Value Text)
..}
    = EncryptionProperty {url :: Maybe (Value Text)
url = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Url" EncryptionProperty
Value Text
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
haddock_workaround_ :: ()
algorithm :: Maybe (Value Text)
constantInitializationVector :: Maybe (Value Text)
deviceId :: Maybe (Value Text)
keyType :: Maybe (Value Text)
region :: Maybe (Value Text)
resourceId :: Maybe (Value Text)
roleArn :: Value Text
secretArn :: Maybe (Value Text)
..}