module Stratosphere.Bedrock.Flow (
module Exports, Flow(..), mkFlow
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Bedrock.Flow.FlowDefinitionProperty as Exports
import {-# SOURCE #-} Stratosphere.Bedrock.Flow.S3LocationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data Flow
=
Flow {Flow -> ()
haddock_workaround_ :: (),
Flow -> Maybe (Value Text)
customerEncryptionKeyArn :: (Prelude.Maybe (Value Prelude.Text)),
Flow -> Maybe FlowDefinitionProperty
definition :: (Prelude.Maybe FlowDefinitionProperty),
Flow -> Maybe S3LocationProperty
definitionS3Location :: (Prelude.Maybe S3LocationProperty),
Flow -> Maybe (Value Text)
definitionString :: (Prelude.Maybe (Value Prelude.Text)),
Flow -> Maybe (Map Text Object)
definitionSubstitutions :: (Prelude.Maybe (Prelude.Map Prelude.Text JSON.Object)),
Flow -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
Flow -> Value Text
executionRoleArn :: (Value Prelude.Text),
Flow -> Value Text
name :: (Value Prelude.Text),
Flow -> Maybe (Map Text (Value Text))
tags :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
Flow -> Maybe (Map Text (Value Text))
testAliasTags :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text)))}
deriving stock (Flow -> Flow -> Bool
(Flow -> Flow -> Bool) -> (Flow -> Flow -> Bool) -> Eq Flow
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Flow -> Flow -> Bool
== :: Flow -> Flow -> Bool
$c/= :: Flow -> Flow -> Bool
/= :: Flow -> Flow -> Bool
Prelude.Eq, Int -> Flow -> ShowS
[Flow] -> ShowS
Flow -> String
(Int -> Flow -> ShowS)
-> (Flow -> String) -> ([Flow] -> ShowS) -> Show Flow
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Flow -> ShowS
showsPrec :: Int -> Flow -> ShowS
$cshow :: Flow -> String
show :: Flow -> String
$cshowList :: [Flow] -> ShowS
showList :: [Flow] -> ShowS
Prelude.Show)
mkFlow :: Value Prelude.Text -> Value Prelude.Text -> Flow
mkFlow :: Value Text -> Value Text -> Flow
mkFlow Value Text
executionRoleArn Value Text
name
= Flow
{haddock_workaround_ :: ()
haddock_workaround_ = (), executionRoleArn :: Value Text
executionRoleArn = Value Text
executionRoleArn,
name :: Value Text
name = Value Text
name, customerEncryptionKeyArn :: Maybe (Value Text)
customerEncryptionKeyArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
definition :: Maybe FlowDefinitionProperty
definition = Maybe FlowDefinitionProperty
forall a. Maybe a
Prelude.Nothing,
definitionS3Location :: Maybe S3LocationProperty
definitionS3Location = Maybe S3LocationProperty
forall a. Maybe a
Prelude.Nothing,
definitionString :: Maybe (Value Text)
definitionString = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
definitionSubstitutions :: Maybe (Map Text Object)
definitionSubstitutions = Maybe (Map Text Object)
forall a. Maybe a
Prelude.Nothing,
description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe (Map Text (Value Text))
tags = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing,
testAliasTags :: Maybe (Map Text (Value Text))
testAliasTags = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Flow where
toResourceProperties :: Flow -> ResourceProperties
toResourceProperties Flow {Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Flow -> ()
customerEncryptionKeyArn :: Flow -> Maybe (Value Text)
definition :: Flow -> Maybe FlowDefinitionProperty
definitionS3Location :: Flow -> Maybe S3LocationProperty
definitionString :: Flow -> Maybe (Value Text)
definitionSubstitutions :: Flow -> Maybe (Map Text Object)
description :: Flow -> Maybe (Value Text)
executionRoleArn :: Flow -> Value Text
name :: Flow -> Value Text
tags :: Flow -> Maybe (Map Text (Value Text))
testAliasTags :: Flow -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Bedrock::Flow", supportsTags :: Bool
supportsTags = Bool
Prelude.True,
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
"ExecutionRoleArn" 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
executionRoleArn, Key
"Name" 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
name]
([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
"CustomerEncryptionKeyArn"
(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)
customerEncryptionKeyArn,
Key -> FlowDefinitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Definition" (FlowDefinitionProperty -> (Key, Value))
-> Maybe FlowDefinitionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FlowDefinitionProperty
definition,
Key -> S3LocationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DefinitionS3Location" (S3LocationProperty -> (Key, Value))
-> Maybe S3LocationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe S3LocationProperty
definitionS3Location,
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
"DefinitionString" (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)
definitionString,
Key -> Map Text Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DefinitionSubstitutions"
(Map Text Object -> (Key, Value))
-> Maybe (Map Text Object) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text Object)
definitionSubstitutions,
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
"Description" (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)
description,
Key -> Map Text (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
"Tags" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
tags,
Key -> Map Text (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
"TestAliasTags" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
testAliasTags]))}
instance JSON.ToJSON Flow where
toJSON :: Flow -> Value
toJSON Flow {Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Flow -> ()
customerEncryptionKeyArn :: Flow -> Maybe (Value Text)
definition :: Flow -> Maybe FlowDefinitionProperty
definitionS3Location :: Flow -> Maybe S3LocationProperty
definitionString :: Flow -> Maybe (Value Text)
definitionSubstitutions :: Flow -> Maybe (Map Text Object)
description :: Flow -> Maybe (Value Text)
executionRoleArn :: Flow -> Value Text
name :: Flow -> Value Text
tags :: Flow -> Maybe (Map Text (Value Text))
testAliasTags :: Flow -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (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
"ExecutionRoleArn" 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
executionRoleArn, Key
"Name" 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
name]
([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
"CustomerEncryptionKeyArn"
(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)
customerEncryptionKeyArn,
Key -> FlowDefinitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Definition" (FlowDefinitionProperty -> (Key, Value))
-> Maybe FlowDefinitionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FlowDefinitionProperty
definition,
Key -> S3LocationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DefinitionS3Location" (S3LocationProperty -> (Key, Value))
-> Maybe S3LocationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe S3LocationProperty
definitionS3Location,
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
"DefinitionString" (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)
definitionString,
Key -> Map Text Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DefinitionSubstitutions"
(Map Text Object -> (Key, Value))
-> Maybe (Map Text Object) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text Object)
definitionSubstitutions,
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
"Description" (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)
description,
Key -> Map Text (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
"Tags" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
tags,
Key -> Map Text (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
"TestAliasTags" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
testAliasTags])))
instance Property "CustomerEncryptionKeyArn" Flow where
type PropertyType "CustomerEncryptionKeyArn" Flow = Value Prelude.Text
set :: PropertyType "CustomerEncryptionKeyArn" Flow -> Flow -> Flow
set PropertyType "CustomerEncryptionKeyArn" Flow
newValue Flow {Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Flow -> ()
customerEncryptionKeyArn :: Flow -> Maybe (Value Text)
definition :: Flow -> Maybe FlowDefinitionProperty
definitionS3Location :: Flow -> Maybe S3LocationProperty
definitionString :: Flow -> Maybe (Value Text)
definitionSubstitutions :: Flow -> Maybe (Map Text Object)
description :: Flow -> Maybe (Value Text)
executionRoleArn :: Flow -> Value Text
name :: Flow -> Value Text
tags :: Flow -> Maybe (Map Text (Value Text))
testAliasTags :: Flow -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
= Flow {customerEncryptionKeyArn :: Maybe (Value Text)
customerEncryptionKeyArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CustomerEncryptionKeyArn" Flow
Value Text
newValue, Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
instance Property "Definition" Flow where
type PropertyType "Definition" Flow = FlowDefinitionProperty
set :: PropertyType "Definition" Flow -> Flow -> Flow
set PropertyType "Definition" Flow
newValue Flow {Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Flow -> ()
customerEncryptionKeyArn :: Flow -> Maybe (Value Text)
definition :: Flow -> Maybe FlowDefinitionProperty
definitionS3Location :: Flow -> Maybe S3LocationProperty
definitionString :: Flow -> Maybe (Value Text)
definitionSubstitutions :: Flow -> Maybe (Map Text Object)
description :: Flow -> Maybe (Value Text)
executionRoleArn :: Flow -> Value Text
name :: Flow -> Value Text
tags :: Flow -> Maybe (Map Text (Value Text))
testAliasTags :: Flow -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
= Flow {definition :: Maybe FlowDefinitionProperty
definition = FlowDefinitionProperty -> Maybe FlowDefinitionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Definition" Flow
FlowDefinitionProperty
newValue, Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
()
Value Text
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
instance Property "DefinitionS3Location" Flow where
type PropertyType "DefinitionS3Location" Flow = S3LocationProperty
set :: PropertyType "DefinitionS3Location" Flow -> Flow -> Flow
set PropertyType "DefinitionS3Location" Flow
newValue Flow {Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Flow -> ()
customerEncryptionKeyArn :: Flow -> Maybe (Value Text)
definition :: Flow -> Maybe FlowDefinitionProperty
definitionS3Location :: Flow -> Maybe S3LocationProperty
definitionString :: Flow -> Maybe (Value Text)
definitionSubstitutions :: Flow -> Maybe (Map Text Object)
description :: Flow -> Maybe (Value Text)
executionRoleArn :: Flow -> Value Text
name :: Flow -> Value Text
tags :: Flow -> Maybe (Map Text (Value Text))
testAliasTags :: Flow -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
= Flow {definitionS3Location :: Maybe S3LocationProperty
definitionS3Location = S3LocationProperty -> Maybe S3LocationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DefinitionS3Location" Flow
S3LocationProperty
newValue, Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
instance Property "DefinitionString" Flow where
type PropertyType "DefinitionString" Flow = Value Prelude.Text
set :: PropertyType "DefinitionString" Flow -> Flow -> Flow
set PropertyType "DefinitionString" Flow
newValue Flow {Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Flow -> ()
customerEncryptionKeyArn :: Flow -> Maybe (Value Text)
definition :: Flow -> Maybe FlowDefinitionProperty
definitionS3Location :: Flow -> Maybe S3LocationProperty
definitionString :: Flow -> Maybe (Value Text)
definitionSubstitutions :: Flow -> Maybe (Map Text Object)
description :: Flow -> Maybe (Value Text)
executionRoleArn :: Flow -> Value Text
name :: Flow -> Value Text
tags :: Flow -> Maybe (Map Text (Value Text))
testAliasTags :: Flow -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
= Flow {definitionString :: Maybe (Value Text)
definitionString = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DefinitionString" Flow
Value Text
newValue, Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
instance Property "DefinitionSubstitutions" Flow where
type PropertyType "DefinitionSubstitutions" Flow = Prelude.Map Prelude.Text JSON.Object
set :: PropertyType "DefinitionSubstitutions" Flow -> Flow -> Flow
set PropertyType "DefinitionSubstitutions" Flow
newValue Flow {Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Flow -> ()
customerEncryptionKeyArn :: Flow -> Maybe (Value Text)
definition :: Flow -> Maybe FlowDefinitionProperty
definitionS3Location :: Flow -> Maybe S3LocationProperty
definitionString :: Flow -> Maybe (Value Text)
definitionSubstitutions :: Flow -> Maybe (Map Text Object)
description :: Flow -> Maybe (Value Text)
executionRoleArn :: Flow -> Value Text
name :: Flow -> Value Text
tags :: Flow -> Maybe (Map Text (Value Text))
testAliasTags :: Flow -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
= Flow {definitionSubstitutions :: Maybe (Map Text Object)
definitionSubstitutions = Map Text Object -> Maybe (Map Text Object)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text Object
PropertyType "DefinitionSubstitutions" Flow
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
instance Property "Description" Flow where
type PropertyType "Description" Flow = Value Prelude.Text
set :: PropertyType "Description" Flow -> Flow -> Flow
set PropertyType "Description" Flow
newValue Flow {Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Flow -> ()
customerEncryptionKeyArn :: Flow -> Maybe (Value Text)
definition :: Flow -> Maybe FlowDefinitionProperty
definitionS3Location :: Flow -> Maybe S3LocationProperty
definitionString :: Flow -> Maybe (Value Text)
definitionSubstitutions :: Flow -> Maybe (Map Text Object)
description :: Flow -> Maybe (Value Text)
executionRoleArn :: Flow -> Value Text
name :: Flow -> Value Text
tags :: Flow -> Maybe (Map Text (Value Text))
testAliasTags :: Flow -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
= Flow {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" Flow
Value Text
newValue, Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
instance Property "ExecutionRoleArn" Flow where
type PropertyType "ExecutionRoleArn" Flow = Value Prelude.Text
set :: PropertyType "ExecutionRoleArn" Flow -> Flow -> Flow
set PropertyType "ExecutionRoleArn" Flow
newValue Flow {Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Flow -> ()
customerEncryptionKeyArn :: Flow -> Maybe (Value Text)
definition :: Flow -> Maybe FlowDefinitionProperty
definitionS3Location :: Flow -> Maybe S3LocationProperty
definitionString :: Flow -> Maybe (Value Text)
definitionSubstitutions :: Flow -> Maybe (Map Text Object)
description :: Flow -> Maybe (Value Text)
executionRoleArn :: Flow -> Value Text
name :: Flow -> Value Text
tags :: Flow -> Maybe (Map Text (Value Text))
testAliasTags :: Flow -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..} = Flow {executionRoleArn :: Value Text
executionRoleArn = PropertyType "ExecutionRoleArn" Flow
Value Text
newValue, Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
instance Property "Name" Flow where
type PropertyType "Name" Flow = Value Prelude.Text
set :: PropertyType "Name" Flow -> Flow -> Flow
set PropertyType "Name" Flow
newValue Flow {Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Flow -> ()
customerEncryptionKeyArn :: Flow -> Maybe (Value Text)
definition :: Flow -> Maybe FlowDefinitionProperty
definitionS3Location :: Flow -> Maybe S3LocationProperty
definitionString :: Flow -> Maybe (Value Text)
definitionSubstitutions :: Flow -> Maybe (Map Text Object)
description :: Flow -> Maybe (Value Text)
executionRoleArn :: Flow -> Value Text
name :: Flow -> Value Text
tags :: Flow -> Maybe (Map Text (Value Text))
testAliasTags :: Flow -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..} = Flow {name :: Value Text
name = PropertyType "Name" Flow
Value Text
newValue, Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
instance Property "Tags" Flow where
type PropertyType "Tags" Flow = Prelude.Map Prelude.Text (Value Prelude.Text)
set :: PropertyType "Tags" Flow -> Flow -> Flow
set PropertyType "Tags" Flow
newValue Flow {Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Flow -> ()
customerEncryptionKeyArn :: Flow -> Maybe (Value Text)
definition :: Flow -> Maybe FlowDefinitionProperty
definitionS3Location :: Flow -> Maybe S3LocationProperty
definitionString :: Flow -> Maybe (Value Text)
definitionSubstitutions :: Flow -> Maybe (Map Text Object)
description :: Flow -> Maybe (Value Text)
executionRoleArn :: Flow -> Value Text
name :: Flow -> Value Text
tags :: Flow -> Maybe (Map Text (Value Text))
testAliasTags :: Flow -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..} = Flow {tags :: Maybe (Map Text (Value Text))
tags = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType "Tags" Flow
newValue, Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
testAliasTags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
testAliasTags :: Maybe (Map Text (Value Text))
..}
instance Property "TestAliasTags" Flow where
type PropertyType "TestAliasTags" Flow = Prelude.Map Prelude.Text (Value Prelude.Text)
set :: PropertyType "TestAliasTags" Flow -> Flow -> Flow
set PropertyType "TestAliasTags" Flow
newValue Flow {Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Flow -> ()
customerEncryptionKeyArn :: Flow -> Maybe (Value Text)
definition :: Flow -> Maybe FlowDefinitionProperty
definitionS3Location :: Flow -> Maybe S3LocationProperty
definitionString :: Flow -> Maybe (Value Text)
definitionSubstitutions :: Flow -> Maybe (Map Text Object)
description :: Flow -> Maybe (Value Text)
executionRoleArn :: Flow -> Value Text
name :: Flow -> Value Text
tags :: Flow -> Maybe (Map Text (Value Text))
testAliasTags :: Flow -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
testAliasTags :: Maybe (Map Text (Value Text))
..}
= Flow {testAliasTags :: Maybe (Map Text (Value Text))
testAliasTags = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType "TestAliasTags" Flow
newValue, Maybe (Map Text Object)
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe S3LocationProperty
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
customerEncryptionKeyArn :: Maybe (Value Text)
definition :: Maybe FlowDefinitionProperty
definitionS3Location :: Maybe S3LocationProperty
definitionString :: Maybe (Value Text)
definitionSubstitutions :: Maybe (Map Text Object)
description :: Maybe (Value Text)
executionRoleArn :: Value Text
name :: Value Text
tags :: Maybe (Map Text (Value Text))
..}