module Stratosphere.FinSpace.Environment (
        module Exports, Environment(..), mkEnvironment
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.FinSpace.Environment.FederationParametersProperty as Exports
import {-# SOURCE #-} Stratosphere.FinSpace.Environment.SuperuserParametersProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Environment
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html>
    Environment {Environment -> ()
haddock_workaround_ :: (),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-description>
                 Environment -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-federationmode>
                 Environment -> Maybe (Value Text)
federationMode :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-federationparameters>
                 Environment -> Maybe FederationParametersProperty
federationParameters :: (Prelude.Maybe FederationParametersProperty),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-kmskeyid>
                 Environment -> Maybe (Value Text)
kmsKeyId :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-name>
                 Environment -> Value Text
name :: (Value Prelude.Text),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-superuserparameters>
                 Environment -> Maybe SuperuserParametersProperty
superuserParameters :: (Prelude.Maybe SuperuserParametersProperty),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-tags>
                 Environment -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (Environment -> Environment -> Bool
(Environment -> Environment -> Bool)
-> (Environment -> Environment -> Bool) -> Eq Environment
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Environment -> Environment -> Bool
== :: Environment -> Environment -> Bool
$c/= :: Environment -> Environment -> Bool
/= :: Environment -> Environment -> Bool
Prelude.Eq, Int -> Environment -> ShowS
[Environment] -> ShowS
Environment -> String
(Int -> Environment -> ShowS)
-> (Environment -> String)
-> ([Environment] -> ShowS)
-> Show Environment
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Environment -> ShowS
showsPrec :: Int -> Environment -> ShowS
$cshow :: Environment -> String
show :: Environment -> String
$cshowList :: [Environment] -> ShowS
showList :: [Environment] -> ShowS
Prelude.Show)
mkEnvironment :: Value Prelude.Text -> Environment
mkEnvironment :: Value Text -> Environment
mkEnvironment Value Text
name
  = Environment
      {haddock_workaround_ :: ()
haddock_workaround_ = (), name :: Value Text
name = Value Text
name,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, federationMode :: Maybe (Value Text)
federationMode = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       federationParameters :: Maybe FederationParametersProperty
federationParameters = Maybe FederationParametersProperty
forall a. Maybe a
Prelude.Nothing, kmsKeyId :: Maybe (Value Text)
kmsKeyId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       superuserParameters :: Maybe SuperuserParametersProperty
superuserParameters = Maybe SuperuserParametersProperty
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Environment where
  toResourceProperties :: Environment -> ResourceProperties
toResourceProperties Environment {Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: Environment -> ()
description :: Environment -> Maybe (Value Text)
federationMode :: Environment -> Maybe (Value Text)
federationParameters :: Environment -> Maybe FederationParametersProperty
kmsKeyId :: Environment -> Maybe (Value Text)
name :: Environment -> Value Text
superuserParameters :: Environment -> Maybe SuperuserParametersProperty
tags :: Environment -> Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::FinSpace::Environment",
         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
"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
"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 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
"FederationMode" (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)
federationMode,
                               Key -> FederationParametersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FederationParameters" (FederationParametersProperty -> (Key, Value))
-> Maybe FederationParametersProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FederationParametersProperty
federationParameters,
                               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
"KmsKeyId" (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)
kmsKeyId,
                               Key -> SuperuserParametersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SuperuserParameters" (SuperuserParametersProperty -> (Key, Value))
-> Maybe SuperuserParametersProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SuperuserParametersProperty
superuserParameters,
                               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 Environment where
  toJSON :: Environment -> Value
toJSON Environment {Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: Environment -> ()
description :: Environment -> Maybe (Value Text)
federationMode :: Environment -> Maybe (Value Text)
federationParameters :: Environment -> Maybe FederationParametersProperty
kmsKeyId :: Environment -> Maybe (Value Text)
name :: Environment -> Value Text
superuserParameters :: Environment -> Maybe SuperuserParametersProperty
tags :: Environment -> Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
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
"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
"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 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
"FederationMode" (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)
federationMode,
                  Key -> FederationParametersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FederationParameters" (FederationParametersProperty -> (Key, Value))
-> Maybe FederationParametersProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FederationParametersProperty
federationParameters,
                  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
"KmsKeyId" (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)
kmsKeyId,
                  Key -> SuperuserParametersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SuperuserParameters" (SuperuserParametersProperty -> (Key, Value))
-> Maybe SuperuserParametersProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SuperuserParametersProperty
superuserParameters,
                  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 "Description" Environment where
  type PropertyType "Description" Environment = Value Prelude.Text
  set :: PropertyType "Description" Environment
-> Environment -> Environment
set PropertyType "Description" Environment
newValue Environment {Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: Environment -> ()
description :: Environment -> Maybe (Value Text)
federationMode :: Environment -> Maybe (Value Text)
federationParameters :: Environment -> Maybe FederationParametersProperty
kmsKeyId :: Environment -> Maybe (Value Text)
name :: Environment -> Value Text
superuserParameters :: Environment -> Maybe SuperuserParametersProperty
tags :: Environment -> Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
..}
    = Environment {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" Environment
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: ()
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
..}
instance Property "FederationMode" Environment where
  type PropertyType "FederationMode" Environment = Value Prelude.Text
  set :: PropertyType "FederationMode" Environment
-> Environment -> Environment
set PropertyType "FederationMode" Environment
newValue Environment {Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: Environment -> ()
description :: Environment -> Maybe (Value Text)
federationMode :: Environment -> Maybe (Value Text)
federationParameters :: Environment -> Maybe FederationParametersProperty
kmsKeyId :: Environment -> Maybe (Value Text)
name :: Environment -> Value Text
superuserParameters :: Environment -> Maybe SuperuserParametersProperty
tags :: Environment -> Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
..}
    = Environment {federationMode :: Maybe (Value Text)
federationMode = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FederationMode" Environment
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
..}
instance Property "FederationParameters" Environment where
  type PropertyType "FederationParameters" Environment = FederationParametersProperty
  set :: PropertyType "FederationParameters" Environment
-> Environment -> Environment
set PropertyType "FederationParameters" Environment
newValue Environment {Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: Environment -> ()
description :: Environment -> Maybe (Value Text)
federationMode :: Environment -> Maybe (Value Text)
federationParameters :: Environment -> Maybe FederationParametersProperty
kmsKeyId :: Environment -> Maybe (Value Text)
name :: Environment -> Value Text
superuserParameters :: Environment -> Maybe SuperuserParametersProperty
tags :: Environment -> Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
..}
    = Environment {federationParameters :: Maybe FederationParametersProperty
federationParameters = FederationParametersProperty -> Maybe FederationParametersProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FederationParameters" Environment
FederationParametersProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
..}
instance Property "KmsKeyId" Environment where
  type PropertyType "KmsKeyId" Environment = Value Prelude.Text
  set :: PropertyType "KmsKeyId" Environment -> Environment -> Environment
set PropertyType "KmsKeyId" Environment
newValue Environment {Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: Environment -> ()
description :: Environment -> Maybe (Value Text)
federationMode :: Environment -> Maybe (Value Text)
federationParameters :: Environment -> Maybe FederationParametersProperty
kmsKeyId :: Environment -> Maybe (Value Text)
name :: Environment -> Value Text
superuserParameters :: Environment -> Maybe SuperuserParametersProperty
tags :: Environment -> Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
..}
    = Environment {kmsKeyId :: Maybe (Value Text)
kmsKeyId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "KmsKeyId" Environment
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
..}
instance Property "Name" Environment where
  type PropertyType "Name" Environment = Value Prelude.Text
  set :: PropertyType "Name" Environment -> Environment -> Environment
set PropertyType "Name" Environment
newValue Environment {Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: Environment -> ()
description :: Environment -> Maybe (Value Text)
federationMode :: Environment -> Maybe (Value Text)
federationParameters :: Environment -> Maybe FederationParametersProperty
kmsKeyId :: Environment -> Maybe (Value Text)
name :: Environment -> Value Text
superuserParameters :: Environment -> Maybe SuperuserParametersProperty
tags :: Environment -> Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
..} = Environment {name :: Value Text
name = PropertyType "Name" Environment
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
..}
instance Property "SuperuserParameters" Environment where
  type PropertyType "SuperuserParameters" Environment = SuperuserParametersProperty
  set :: PropertyType "SuperuserParameters" Environment
-> Environment -> Environment
set PropertyType "SuperuserParameters" Environment
newValue Environment {Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: Environment -> ()
description :: Environment -> Maybe (Value Text)
federationMode :: Environment -> Maybe (Value Text)
federationParameters :: Environment -> Maybe FederationParametersProperty
kmsKeyId :: Environment -> Maybe (Value Text)
name :: Environment -> Value Text
superuserParameters :: Environment -> Maybe SuperuserParametersProperty
tags :: Environment -> Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
..}
    = Environment {superuserParameters :: Maybe SuperuserParametersProperty
superuserParameters = SuperuserParametersProperty -> Maybe SuperuserParametersProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SuperuserParameters" Environment
SuperuserParametersProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
tags :: Maybe [Tag]
..}
instance Property "Tags" Environment where
  type PropertyType "Tags" Environment = [Tag]
  set :: PropertyType "Tags" Environment -> Environment -> Environment
set PropertyType "Tags" Environment
newValue Environment {Maybe [Tag]
Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: Environment -> ()
description :: Environment -> Maybe (Value Text)
federationMode :: Environment -> Maybe (Value Text)
federationParameters :: Environment -> Maybe FederationParametersProperty
kmsKeyId :: Environment -> Maybe (Value Text)
name :: Environment -> Value Text
superuserParameters :: Environment -> Maybe SuperuserParametersProperty
tags :: Environment -> Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
tags :: Maybe [Tag]
..}
    = Environment {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" Environment
newValue, Maybe (Value Text)
Maybe FederationParametersProperty
Maybe SuperuserParametersProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
federationMode :: Maybe (Value Text)
federationParameters :: Maybe FederationParametersProperty
kmsKeyId :: Maybe (Value Text)
name :: Value Text
superuserParameters :: Maybe SuperuserParametersProperty
..}