module Stratosphere.WorkSpaces.Workspace (
module Exports, Workspace(..), mkWorkspace
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.WorkSpaces.Workspace.WorkspacePropertiesProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Workspace
=
Workspace {Workspace -> ()
haddock_workaround_ :: (),
Workspace -> Value Text
bundleId :: (Value Prelude.Text),
Workspace -> Value Text
directoryId :: (Value Prelude.Text),
Workspace -> Maybe (Value Bool)
rootVolumeEncryptionEnabled :: (Prelude.Maybe (Value Prelude.Bool)),
Workspace -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
Workspace -> Value Text
userName :: (Value Prelude.Text),
Workspace -> Maybe (Value Bool)
userVolumeEncryptionEnabled :: (Prelude.Maybe (Value Prelude.Bool)),
Workspace -> Maybe (Value Text)
volumeEncryptionKey :: (Prelude.Maybe (Value Prelude.Text)),
Workspace -> Maybe WorkspacePropertiesProperty
workspaceProperties :: (Prelude.Maybe WorkspacePropertiesProperty)}
deriving stock (Workspace -> Workspace -> Bool
(Workspace -> Workspace -> Bool)
-> (Workspace -> Workspace -> Bool) -> Eq Workspace
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Workspace -> Workspace -> Bool
== :: Workspace -> Workspace -> Bool
$c/= :: Workspace -> Workspace -> Bool
/= :: Workspace -> Workspace -> Bool
Prelude.Eq, Int -> Workspace -> ShowS
[Workspace] -> ShowS
Workspace -> String
(Int -> Workspace -> ShowS)
-> (Workspace -> String)
-> ([Workspace] -> ShowS)
-> Show Workspace
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Workspace -> ShowS
showsPrec :: Int -> Workspace -> ShowS
$cshow :: Workspace -> String
show :: Workspace -> String
$cshowList :: [Workspace] -> ShowS
showList :: [Workspace] -> ShowS
Prelude.Show)
mkWorkspace ::
Value Prelude.Text
-> Value Prelude.Text -> Value Prelude.Text -> Workspace
mkWorkspace :: Value Text -> Value Text -> Value Text -> Workspace
mkWorkspace Value Text
bundleId Value Text
directoryId Value Text
userName
= Workspace
{haddock_workaround_ :: ()
haddock_workaround_ = (), bundleId :: Value Text
bundleId = Value Text
bundleId,
directoryId :: Value Text
directoryId = Value Text
directoryId, userName :: Value Text
userName = Value Text
userName,
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
rootVolumeEncryptionEnabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
userVolumeEncryptionEnabled :: Maybe (Value Bool)
userVolumeEncryptionEnabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
volumeEncryptionKey :: Maybe (Value Text)
volumeEncryptionKey = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
workspaceProperties :: Maybe WorkspacePropertiesProperty
workspaceProperties = Maybe WorkspacePropertiesProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Workspace where
toResourceProperties :: Workspace -> ResourceProperties
toResourceProperties Workspace {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: Workspace -> ()
bundleId :: Workspace -> Value Text
directoryId :: Workspace -> Value Text
rootVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
tags :: Workspace -> Maybe [Tag]
userName :: Workspace -> Value Text
userVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
volumeEncryptionKey :: Workspace -> Maybe (Value Text)
workspaceProperties :: Workspace -> Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::WorkSpaces::Workspace",
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
"BundleId" 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
bundleId, Key
"DirectoryId" 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
directoryId,
Key
"UserName" 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
userName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"RootVolumeEncryptionEnabled"
(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)
rootVolumeEncryptionEnabled,
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,
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
"UserVolumeEncryptionEnabled"
(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)
userVolumeEncryptionEnabled,
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
"VolumeEncryptionKey" (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)
volumeEncryptionKey,
Key -> WorkspacePropertiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"WorkspaceProperties" (WorkspacePropertiesProperty -> (Key, Value))
-> Maybe WorkspacePropertiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe WorkspacePropertiesProperty
workspaceProperties]))}
instance JSON.ToJSON Workspace where
toJSON :: Workspace -> Value
toJSON Workspace {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: Workspace -> ()
bundleId :: Workspace -> Value Text
directoryId :: Workspace -> Value Text
rootVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
tags :: Workspace -> Maybe [Tag]
userName :: Workspace -> Value Text
userVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
volumeEncryptionKey :: Workspace -> Maybe (Value Text)
workspaceProperties :: Workspace -> Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
= [(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
"BundleId" 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
bundleId, Key
"DirectoryId" 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
directoryId,
Key
"UserName" 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
userName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"RootVolumeEncryptionEnabled"
(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)
rootVolumeEncryptionEnabled,
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,
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
"UserVolumeEncryptionEnabled"
(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)
userVolumeEncryptionEnabled,
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
"VolumeEncryptionKey" (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)
volumeEncryptionKey,
Key -> WorkspacePropertiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"WorkspaceProperties" (WorkspacePropertiesProperty -> (Key, Value))
-> Maybe WorkspacePropertiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe WorkspacePropertiesProperty
workspaceProperties])))
instance Property "BundleId" Workspace where
type PropertyType "BundleId" Workspace = Value Prelude.Text
set :: PropertyType "BundleId" Workspace -> Workspace -> Workspace
set PropertyType "BundleId" Workspace
newValue Workspace {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: Workspace -> ()
bundleId :: Workspace -> Value Text
directoryId :: Workspace -> Value Text
rootVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
tags :: Workspace -> Maybe [Tag]
userName :: Workspace -> Value Text
userVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
volumeEncryptionKey :: Workspace -> Maybe (Value Text)
workspaceProperties :: Workspace -> Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..} = Workspace {bundleId :: Value Text
bundleId = PropertyType "BundleId" Workspace
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
instance Property "DirectoryId" Workspace where
type PropertyType "DirectoryId" Workspace = Value Prelude.Text
set :: PropertyType "DirectoryId" Workspace -> Workspace -> Workspace
set PropertyType "DirectoryId" Workspace
newValue Workspace {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: Workspace -> ()
bundleId :: Workspace -> Value Text
directoryId :: Workspace -> Value Text
rootVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
tags :: Workspace -> Maybe [Tag]
userName :: Workspace -> Value Text
userVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
volumeEncryptionKey :: Workspace -> Maybe (Value Text)
workspaceProperties :: Workspace -> Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
= Workspace {directoryId :: Value Text
directoryId = PropertyType "DirectoryId" Workspace
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
bundleId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
instance Property "RootVolumeEncryptionEnabled" Workspace where
type PropertyType "RootVolumeEncryptionEnabled" Workspace = Value Prelude.Bool
set :: PropertyType "RootVolumeEncryptionEnabled" Workspace
-> Workspace -> Workspace
set PropertyType "RootVolumeEncryptionEnabled" Workspace
newValue Workspace {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: Workspace -> ()
bundleId :: Workspace -> Value Text
directoryId :: Workspace -> Value Text
rootVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
tags :: Workspace -> Maybe [Tag]
userName :: Workspace -> Value Text
userVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
volumeEncryptionKey :: Workspace -> Maybe (Value Text)
workspaceProperties :: Workspace -> Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
= Workspace
{rootVolumeEncryptionEnabled :: Maybe (Value Bool)
rootVolumeEncryptionEnabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RootVolumeEncryptionEnabled" Workspace
Value Bool
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
instance Property "Tags" Workspace where
type PropertyType "Tags" Workspace = [Tag]
set :: PropertyType "Tags" Workspace -> Workspace -> Workspace
set PropertyType "Tags" Workspace
newValue Workspace {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: Workspace -> ()
bundleId :: Workspace -> Value Text
directoryId :: Workspace -> Value Text
rootVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
tags :: Workspace -> Maybe [Tag]
userName :: Workspace -> Value Text
userVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
volumeEncryptionKey :: Workspace -> Maybe (Value Text)
workspaceProperties :: Workspace -> Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
= Workspace {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" Workspace
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
instance Property "UserName" Workspace where
type PropertyType "UserName" Workspace = Value Prelude.Text
set :: PropertyType "UserName" Workspace -> Workspace -> Workspace
set PropertyType "UserName" Workspace
newValue Workspace {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: Workspace -> ()
bundleId :: Workspace -> Value Text
directoryId :: Workspace -> Value Text
rootVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
tags :: Workspace -> Maybe [Tag]
userName :: Workspace -> Value Text
userVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
volumeEncryptionKey :: Workspace -> Maybe (Value Text)
workspaceProperties :: Workspace -> Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..} = Workspace {userName :: Value Text
userName = PropertyType "UserName" Workspace
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
instance Property "UserVolumeEncryptionEnabled" Workspace where
type PropertyType "UserVolumeEncryptionEnabled" Workspace = Value Prelude.Bool
set :: PropertyType "UserVolumeEncryptionEnabled" Workspace
-> Workspace -> Workspace
set PropertyType "UserVolumeEncryptionEnabled" Workspace
newValue Workspace {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: Workspace -> ()
bundleId :: Workspace -> Value Text
directoryId :: Workspace -> Value Text
rootVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
tags :: Workspace -> Maybe [Tag]
userName :: Workspace -> Value Text
userVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
volumeEncryptionKey :: Workspace -> Maybe (Value Text)
workspaceProperties :: Workspace -> Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
= Workspace
{userVolumeEncryptionEnabled :: Maybe (Value Bool)
userVolumeEncryptionEnabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "UserVolumeEncryptionEnabled" Workspace
Value Bool
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
instance Property "VolumeEncryptionKey" Workspace where
type PropertyType "VolumeEncryptionKey" Workspace = Value Prelude.Text
set :: PropertyType "VolumeEncryptionKey" Workspace
-> Workspace -> Workspace
set PropertyType "VolumeEncryptionKey" Workspace
newValue Workspace {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: Workspace -> ()
bundleId :: Workspace -> Value Text
directoryId :: Workspace -> Value Text
rootVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
tags :: Workspace -> Maybe [Tag]
userName :: Workspace -> Value Text
userVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
volumeEncryptionKey :: Workspace -> Maybe (Value Text)
workspaceProperties :: Workspace -> Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
= Workspace {volumeEncryptionKey :: Maybe (Value Text)
volumeEncryptionKey = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VolumeEncryptionKey" Workspace
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
workspaceProperties :: Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
instance Property "WorkspaceProperties" Workspace where
type PropertyType "WorkspaceProperties" Workspace = WorkspacePropertiesProperty
set :: PropertyType "WorkspaceProperties" Workspace
-> Workspace -> Workspace
set PropertyType "WorkspaceProperties" Workspace
newValue Workspace {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe WorkspacePropertiesProperty
()
Value Text
haddock_workaround_ :: Workspace -> ()
bundleId :: Workspace -> Value Text
directoryId :: Workspace -> Value Text
rootVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
tags :: Workspace -> Maybe [Tag]
userName :: Workspace -> Value Text
userVolumeEncryptionEnabled :: Workspace -> Maybe (Value Bool)
volumeEncryptionKey :: Workspace -> Maybe (Value Text)
workspaceProperties :: Workspace -> Maybe WorkspacePropertiesProperty
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
workspaceProperties :: Maybe WorkspacePropertiesProperty
..}
= Workspace {workspaceProperties :: Maybe WorkspacePropertiesProperty
workspaceProperties = WorkspacePropertiesProperty -> Maybe WorkspacePropertiesProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "WorkspaceProperties" Workspace
WorkspacePropertiesProperty
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
haddock_workaround_ :: ()
bundleId :: Value Text
directoryId :: Value Text
rootVolumeEncryptionEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
userName :: Value Text
userVolumeEncryptionEnabled :: Maybe (Value Bool)
volumeEncryptionKey :: Maybe (Value Text)
..}