module Stratosphere.Amplify.Branch (
module Exports, Branch(..), mkBranch
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Amplify.Branch.BackendProperty as Exports
import {-# SOURCE #-} Stratosphere.Amplify.Branch.BasicAuthConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.Amplify.Branch.EnvironmentVariableProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Branch
=
Branch {Branch -> ()
haddock_workaround_ :: (),
Branch -> Value Text
appId :: (Value Prelude.Text),
Branch -> Maybe BackendProperty
backend :: (Prelude.Maybe BackendProperty),
Branch -> Maybe BasicAuthConfigProperty
basicAuthConfig :: (Prelude.Maybe BasicAuthConfigProperty),
Branch -> Value Text
branchName :: (Value Prelude.Text),
Branch -> Maybe (Value Text)
buildSpec :: (Prelude.Maybe (Value Prelude.Text)),
Branch -> Maybe (Value Text)
computeRoleArn :: (Prelude.Maybe (Value Prelude.Text)),
Branch -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
Branch -> Maybe (Value Bool)
enableAutoBuild :: (Prelude.Maybe (Value Prelude.Bool)),
Branch -> Maybe (Value Bool)
enablePerformanceMode :: (Prelude.Maybe (Value Prelude.Bool)),
Branch -> Maybe (Value Bool)
enablePullRequestPreview :: (Prelude.Maybe (Value Prelude.Bool)),
Branch -> Maybe (Value Bool)
enableSkewProtection :: (Prelude.Maybe (Value Prelude.Bool)),
Branch -> Maybe [EnvironmentVariableProperty]
environmentVariables :: (Prelude.Maybe [EnvironmentVariableProperty]),
Branch -> Maybe (Value Text)
framework :: (Prelude.Maybe (Value Prelude.Text)),
Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: (Prelude.Maybe (Value Prelude.Text)),
Branch -> Maybe (Value Text)
stage :: (Prelude.Maybe (Value Prelude.Text)),
Branch -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
deriving stock (Branch -> Branch -> Bool
(Branch -> Branch -> Bool)
-> (Branch -> Branch -> Bool) -> Eq Branch
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Branch -> Branch -> Bool
== :: Branch -> Branch -> Bool
$c/= :: Branch -> Branch -> Bool
/= :: Branch -> Branch -> Bool
Prelude.Eq, Int -> Branch -> ShowS
[Branch] -> ShowS
Branch -> String
(Int -> Branch -> ShowS)
-> (Branch -> String) -> ([Branch] -> ShowS) -> Show Branch
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Branch -> ShowS
showsPrec :: Int -> Branch -> ShowS
$cshow :: Branch -> String
show :: Branch -> String
$cshowList :: [Branch] -> ShowS
showList :: [Branch] -> ShowS
Prelude.Show)
mkBranch :: Value Prelude.Text -> Value Prelude.Text -> Branch
mkBranch :: Value Text -> Value Text -> Branch
mkBranch Value Text
appId Value Text
branchName
= Branch
{haddock_workaround_ :: ()
haddock_workaround_ = (), appId :: Value Text
appId = Value Text
appId, branchName :: Value Text
branchName = Value Text
branchName,
backend :: Maybe BackendProperty
backend = Maybe BackendProperty
forall a. Maybe a
Prelude.Nothing, basicAuthConfig :: Maybe BasicAuthConfigProperty
basicAuthConfig = Maybe BasicAuthConfigProperty
forall a. Maybe a
Prelude.Nothing,
buildSpec :: Maybe (Value Text)
buildSpec = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, computeRoleArn :: Maybe (Value Text)
computeRoleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, enableAutoBuild :: Maybe (Value Bool)
enableAutoBuild = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
enablePerformanceMode :: Maybe (Value Bool)
enablePerformanceMode = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
enablePullRequestPreview :: Maybe (Value Bool)
enablePullRequestPreview = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
enableSkewProtection :: Maybe (Value Bool)
enableSkewProtection = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
environmentVariables :: Maybe [EnvironmentVariableProperty]
environmentVariables = Maybe [EnvironmentVariableProperty]
forall a. Maybe a
Prelude.Nothing,
framework :: Maybe (Value Text)
framework = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
pullRequestEnvironmentName :: Maybe (Value Text)
pullRequestEnvironmentName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
stage :: Maybe (Value Text)
stage = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Branch where
toResourceProperties :: Branch -> ResourceProperties
toResourceProperties Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Amplify::Branch", 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
"AppId" 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
appId, Key
"BranchName" 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
branchName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> BackendProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Backend" (BackendProperty -> (Key, Value))
-> Maybe BackendProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BackendProperty
backend,
Key -> BasicAuthConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BasicAuthConfig" (BasicAuthConfigProperty -> (Key, Value))
-> Maybe BasicAuthConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BasicAuthConfigProperty
basicAuthConfig,
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
"BuildSpec" (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)
buildSpec,
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
"ComputeRoleArn" (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)
computeRoleArn,
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 -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableAutoBuild" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableAutoBuild,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnablePerformanceMode"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enablePerformanceMode,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnablePullRequestPreview"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enablePullRequestPreview,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableSkewProtection" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableSkewProtection,
Key -> [EnvironmentVariableProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnvironmentVariables" ([EnvironmentVariableProperty] -> (Key, Value))
-> Maybe [EnvironmentVariableProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [EnvironmentVariableProperty]
environmentVariables,
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
"Framework" (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)
framework,
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
"PullRequestEnvironmentName"
(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)
pullRequestEnvironmentName,
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
"Stage" (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)
stage,
Key -> [Tag] -> (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" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))}
instance JSON.ToJSON Branch where
toJSON :: Branch -> Value
toJSON Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= [(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
"AppId" 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
appId, Key
"BranchName" 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
branchName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> BackendProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Backend" (BackendProperty -> (Key, Value))
-> Maybe BackendProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BackendProperty
backend,
Key -> BasicAuthConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BasicAuthConfig" (BasicAuthConfigProperty -> (Key, Value))
-> Maybe BasicAuthConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BasicAuthConfigProperty
basicAuthConfig,
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
"BuildSpec" (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)
buildSpec,
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
"ComputeRoleArn" (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)
computeRoleArn,
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 -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableAutoBuild" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableAutoBuild,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnablePerformanceMode"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enablePerformanceMode,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnablePullRequestPreview"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enablePullRequestPreview,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableSkewProtection" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableSkewProtection,
Key -> [EnvironmentVariableProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnvironmentVariables" ([EnvironmentVariableProperty] -> (Key, Value))
-> Maybe [EnvironmentVariableProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [EnvironmentVariableProperty]
environmentVariables,
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
"Framework" (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)
framework,
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
"PullRequestEnvironmentName"
(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)
pullRequestEnvironmentName,
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
"Stage" (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)
stage,
Key -> [Tag] -> (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" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])))
instance Property "AppId" Branch where
type PropertyType "AppId" Branch = Value Prelude.Text
set :: PropertyType "AppId" Branch -> Branch -> Branch
set PropertyType "AppId" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..} = Branch {appId :: Value Text
appId = PropertyType "AppId" Branch
Value Text
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Backend" Branch where
type PropertyType "Backend" Branch = BackendProperty
set :: PropertyType "Backend" Branch -> Branch -> Branch
set PropertyType "Backend" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {backend :: Maybe BackendProperty
backend = BackendProperty -> Maybe BackendProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Backend" Branch
BackendProperty
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "BasicAuthConfig" Branch where
type PropertyType "BasicAuthConfig" Branch = BasicAuthConfigProperty
set :: PropertyType "BasicAuthConfig" Branch -> Branch -> Branch
set PropertyType "BasicAuthConfig" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {basicAuthConfig :: Maybe BasicAuthConfigProperty
basicAuthConfig = BasicAuthConfigProperty -> Maybe BasicAuthConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BasicAuthConfig" Branch
BasicAuthConfigProperty
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "BranchName" Branch where
type PropertyType "BranchName" Branch = Value Prelude.Text
set :: PropertyType "BranchName" Branch -> Branch -> Branch
set PropertyType "BranchName" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..} = Branch {branchName :: Value Text
branchName = PropertyType "BranchName" Branch
Value Text
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "BuildSpec" Branch where
type PropertyType "BuildSpec" Branch = Value Prelude.Text
set :: PropertyType "BuildSpec" Branch -> Branch -> Branch
set PropertyType "BuildSpec" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {buildSpec :: Maybe (Value Text)
buildSpec = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BuildSpec" Branch
Value Text
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "ComputeRoleArn" Branch where
type PropertyType "ComputeRoleArn" Branch = Value Prelude.Text
set :: PropertyType "ComputeRoleArn" Branch -> Branch -> Branch
set PropertyType "ComputeRoleArn" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {computeRoleArn :: Maybe (Value Text)
computeRoleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ComputeRoleArn" Branch
Value Text
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Description" Branch where
type PropertyType "Description" Branch = Value Prelude.Text
set :: PropertyType "Description" Branch -> Branch -> Branch
set PropertyType "Description" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {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" Branch
Value Text
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "EnableAutoBuild" Branch where
type PropertyType "EnableAutoBuild" Branch = Value Prelude.Bool
set :: PropertyType "EnableAutoBuild" Branch -> Branch -> Branch
set PropertyType "EnableAutoBuild" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {enableAutoBuild :: Maybe (Value Bool)
enableAutoBuild = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnableAutoBuild" Branch
Value Bool
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "EnablePerformanceMode" Branch where
type PropertyType "EnablePerformanceMode" Branch = Value Prelude.Bool
set :: PropertyType "EnablePerformanceMode" Branch -> Branch -> Branch
set PropertyType "EnablePerformanceMode" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {enablePerformanceMode :: Maybe (Value Bool)
enablePerformanceMode = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnablePerformanceMode" Branch
Value Bool
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "EnablePullRequestPreview" Branch where
type PropertyType "EnablePullRequestPreview" Branch = Value Prelude.Bool
set :: PropertyType "EnablePullRequestPreview" Branch -> Branch -> Branch
set PropertyType "EnablePullRequestPreview" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {enablePullRequestPreview :: Maybe (Value Bool)
enablePullRequestPreview = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnablePullRequestPreview" Branch
Value Bool
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "EnableSkewProtection" Branch where
type PropertyType "EnableSkewProtection" Branch = Value Prelude.Bool
set :: PropertyType "EnableSkewProtection" Branch -> Branch -> Branch
set PropertyType "EnableSkewProtection" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {enableSkewProtection :: Maybe (Value Bool)
enableSkewProtection = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnableSkewProtection" Branch
Value Bool
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "EnvironmentVariables" Branch where
type PropertyType "EnvironmentVariables" Branch = [EnvironmentVariableProperty]
set :: PropertyType "EnvironmentVariables" Branch -> Branch -> Branch
set PropertyType "EnvironmentVariables" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {environmentVariables :: Maybe [EnvironmentVariableProperty]
environmentVariables = [EnvironmentVariableProperty]
-> Maybe [EnvironmentVariableProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [EnvironmentVariableProperty]
PropertyType "EnvironmentVariables" Branch
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Framework" Branch where
type PropertyType "Framework" Branch = Value Prelude.Text
set :: PropertyType "Framework" Branch -> Branch -> Branch
set PropertyType "Framework" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {framework :: Maybe (Value Text)
framework = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Framework" Branch
Value Text
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "PullRequestEnvironmentName" Branch where
type PropertyType "PullRequestEnvironmentName" Branch = Value Prelude.Text
set :: PropertyType "PullRequestEnvironmentName" Branch
-> Branch -> Branch
set PropertyType "PullRequestEnvironmentName" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {pullRequestEnvironmentName :: Maybe (Value Text)
pullRequestEnvironmentName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PullRequestEnvironmentName" Branch
Value Text
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Stage" Branch where
type PropertyType "Stage" Branch = Value Prelude.Text
set :: PropertyType "Stage" Branch -> Branch -> Branch
set PropertyType "Stage" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {stage :: Maybe (Value Text)
stage = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Stage" Branch
Value Text
newValue, Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Tags" Branch where
type PropertyType "Tags" Branch = [Tag]
set :: PropertyType "Tags" Branch -> Branch -> Branch
set PropertyType "Tags" Branch
newValue Branch {Maybe [Tag]
Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: Branch -> ()
appId :: Branch -> Value Text
backend :: Branch -> Maybe BackendProperty
basicAuthConfig :: Branch -> Maybe BasicAuthConfigProperty
branchName :: Branch -> Value Text
buildSpec :: Branch -> Maybe (Value Text)
computeRoleArn :: Branch -> Maybe (Value Text)
description :: Branch -> Maybe (Value Text)
enableAutoBuild :: Branch -> Maybe (Value Bool)
enablePerformanceMode :: Branch -> Maybe (Value Bool)
enablePullRequestPreview :: Branch -> Maybe (Value Bool)
enableSkewProtection :: Branch -> Maybe (Value Bool)
environmentVariables :: Branch -> Maybe [EnvironmentVariableProperty]
framework :: Branch -> Maybe (Value Text)
pullRequestEnvironmentName :: Branch -> Maybe (Value Text)
stage :: Branch -> Maybe (Value Text)
tags :: Branch -> Maybe [Tag]
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
= Branch {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" Branch
newValue, Maybe [EnvironmentVariableProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe BackendProperty
Maybe BasicAuthConfigProperty
()
Value Text
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
haddock_workaround_ :: ()
appId :: Value Text
backend :: Maybe BackendProperty
basicAuthConfig :: Maybe BasicAuthConfigProperty
branchName :: Value Text
buildSpec :: Maybe (Value Text)
computeRoleArn :: Maybe (Value Text)
description :: Maybe (Value Text)
enableAutoBuild :: Maybe (Value Bool)
enablePerformanceMode :: Maybe (Value Bool)
enablePullRequestPreview :: Maybe (Value Bool)
enableSkewProtection :: Maybe (Value Bool)
environmentVariables :: Maybe [EnvironmentVariableProperty]
framework :: Maybe (Value Text)
pullRequestEnvironmentName :: Maybe (Value Text)
stage :: Maybe (Value Text)
..}