module Stratosphere.DataZone.Connection.SparkGluePropertiesInputProperty (
module Exports, SparkGluePropertiesInputProperty(..),
mkSparkGluePropertiesInputProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.DataZone.Connection.SparkGlueArgsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SparkGluePropertiesInputProperty
=
SparkGluePropertiesInputProperty {SparkGluePropertiesInputProperty -> ()
haddock_workaround_ :: (),
SparkGluePropertiesInputProperty -> Maybe SparkGlueArgsProperty
additionalArgs :: (Prelude.Maybe SparkGlueArgsProperty),
SparkGluePropertiesInputProperty -> Maybe (Value Text)
glueConnectionName :: (Prelude.Maybe (Value Prelude.Text)),
SparkGluePropertiesInputProperty -> Maybe (Value Text)
glueVersion :: (Prelude.Maybe (Value Prelude.Text)),
SparkGluePropertiesInputProperty -> Maybe (Value Double)
idleTimeout :: (Prelude.Maybe (Value Prelude.Double)),
SparkGluePropertiesInputProperty -> Maybe (Value Text)
javaVirtualEnv :: (Prelude.Maybe (Value Prelude.Text)),
SparkGluePropertiesInputProperty -> Maybe (Value Double)
numberOfWorkers :: (Prelude.Maybe (Value Prelude.Double)),
SparkGluePropertiesInputProperty -> Maybe (Value Text)
pythonVirtualEnv :: (Prelude.Maybe (Value Prelude.Text)),
SparkGluePropertiesInputProperty -> Maybe (Value Text)
workerType :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty -> Bool
(SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty -> Bool)
-> (SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty -> Bool)
-> Eq SparkGluePropertiesInputProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty -> Bool
== :: SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty -> Bool
$c/= :: SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty -> Bool
/= :: SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty -> Bool
Prelude.Eq, Int -> SparkGluePropertiesInputProperty -> ShowS
[SparkGluePropertiesInputProperty] -> ShowS
SparkGluePropertiesInputProperty -> String
(Int -> SparkGluePropertiesInputProperty -> ShowS)
-> (SparkGluePropertiesInputProperty -> String)
-> ([SparkGluePropertiesInputProperty] -> ShowS)
-> Show SparkGluePropertiesInputProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SparkGluePropertiesInputProperty -> ShowS
showsPrec :: Int -> SparkGluePropertiesInputProperty -> ShowS
$cshow :: SparkGluePropertiesInputProperty -> String
show :: SparkGluePropertiesInputProperty -> String
$cshowList :: [SparkGluePropertiesInputProperty] -> ShowS
showList :: [SparkGluePropertiesInputProperty] -> ShowS
Prelude.Show)
mkSparkGluePropertiesInputProperty ::
SparkGluePropertiesInputProperty
mkSparkGluePropertiesInputProperty :: SparkGluePropertiesInputProperty
mkSparkGluePropertiesInputProperty
= SparkGluePropertiesInputProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), additionalArgs :: Maybe SparkGlueArgsProperty
additionalArgs = Maybe SparkGlueArgsProperty
forall a. Maybe a
Prelude.Nothing,
glueConnectionName :: Maybe (Value Text)
glueConnectionName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
glueVersion :: Maybe (Value Text)
glueVersion = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, idleTimeout :: Maybe (Value Double)
idleTimeout = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
javaVirtualEnv :: Maybe (Value Text)
javaVirtualEnv = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
numberOfWorkers :: Maybe (Value Double)
numberOfWorkers = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
pythonVirtualEnv :: Maybe (Value Text)
pythonVirtualEnv = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, workerType :: Maybe (Value Text)
workerType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties SparkGluePropertiesInputProperty where
toResourceProperties :: SparkGluePropertiesInputProperty -> ResourceProperties
toResourceProperties SparkGluePropertiesInputProperty {Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: SparkGluePropertiesInputProperty -> ()
additionalArgs :: SparkGluePropertiesInputProperty -> Maybe SparkGlueArgsProperty
glueConnectionName :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
glueVersion :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
idleTimeout :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
javaVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
numberOfWorkers :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
pythonVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
workerType :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::DataZone::Connection.SparkGluePropertiesInput",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> SparkGlueArgsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AdditionalArgs" (SparkGlueArgsProperty -> (Key, Value))
-> Maybe SparkGlueArgsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SparkGlueArgsProperty
additionalArgs,
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
"GlueConnectionName" (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)
glueConnectionName,
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
"GlueVersion" (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)
glueVersion,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IdleTimeout" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
idleTimeout,
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
"JavaVirtualEnv" (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)
javaVirtualEnv,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NumberOfWorkers" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
numberOfWorkers,
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
"PythonVirtualEnv" (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)
pythonVirtualEnv,
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
"WorkerType" (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)
workerType])}
instance JSON.ToJSON SparkGluePropertiesInputProperty where
toJSON :: SparkGluePropertiesInputProperty -> Value
toJSON SparkGluePropertiesInputProperty {Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: SparkGluePropertiesInputProperty -> ()
additionalArgs :: SparkGluePropertiesInputProperty -> Maybe SparkGlueArgsProperty
glueConnectionName :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
glueVersion :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
idleTimeout :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
javaVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
numberOfWorkers :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
pythonVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
workerType :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> SparkGlueArgsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AdditionalArgs" (SparkGlueArgsProperty -> (Key, Value))
-> Maybe SparkGlueArgsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SparkGlueArgsProperty
additionalArgs,
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
"GlueConnectionName" (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)
glueConnectionName,
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
"GlueVersion" (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)
glueVersion,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IdleTimeout" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
idleTimeout,
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
"JavaVirtualEnv" (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)
javaVirtualEnv,
Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NumberOfWorkers" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
numberOfWorkers,
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
"PythonVirtualEnv" (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)
pythonVirtualEnv,
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
"WorkerType" (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)
workerType]))
instance Property "AdditionalArgs" SparkGluePropertiesInputProperty where
type PropertyType "AdditionalArgs" SparkGluePropertiesInputProperty = SparkGlueArgsProperty
set :: PropertyType "AdditionalArgs" SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
set PropertyType "AdditionalArgs" SparkGluePropertiesInputProperty
newValue SparkGluePropertiesInputProperty {Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: SparkGluePropertiesInputProperty -> ()
additionalArgs :: SparkGluePropertiesInputProperty -> Maybe SparkGlueArgsProperty
glueConnectionName :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
glueVersion :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
idleTimeout :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
javaVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
numberOfWorkers :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
pythonVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
workerType :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
= SparkGluePropertiesInputProperty
{additionalArgs :: Maybe SparkGlueArgsProperty
additionalArgs = SparkGlueArgsProperty -> Maybe SparkGlueArgsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AdditionalArgs" SparkGluePropertiesInputProperty
SparkGlueArgsProperty
newValue, Maybe (Value Double)
Maybe (Value Text)
()
haddock_workaround_ :: ()
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
haddock_workaround_ :: ()
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
instance Property "GlueConnectionName" SparkGluePropertiesInputProperty where
type PropertyType "GlueConnectionName" SparkGluePropertiesInputProperty = Value Prelude.Text
set :: PropertyType "GlueConnectionName" SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
set PropertyType "GlueConnectionName" SparkGluePropertiesInputProperty
newValue SparkGluePropertiesInputProperty {Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: SparkGluePropertiesInputProperty -> ()
additionalArgs :: SparkGluePropertiesInputProperty -> Maybe SparkGlueArgsProperty
glueConnectionName :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
glueVersion :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
idleTimeout :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
javaVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
numberOfWorkers :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
pythonVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
workerType :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
= SparkGluePropertiesInputProperty
{glueConnectionName :: Maybe (Value Text)
glueConnectionName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "GlueConnectionName" SparkGluePropertiesInputProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
instance Property "GlueVersion" SparkGluePropertiesInputProperty where
type PropertyType "GlueVersion" SparkGluePropertiesInputProperty = Value Prelude.Text
set :: PropertyType "GlueVersion" SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
set PropertyType "GlueVersion" SparkGluePropertiesInputProperty
newValue SparkGluePropertiesInputProperty {Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: SparkGluePropertiesInputProperty -> ()
additionalArgs :: SparkGluePropertiesInputProperty -> Maybe SparkGlueArgsProperty
glueConnectionName :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
glueVersion :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
idleTimeout :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
javaVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
numberOfWorkers :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
pythonVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
workerType :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
= SparkGluePropertiesInputProperty
{glueVersion :: Maybe (Value Text)
glueVersion = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "GlueVersion" SparkGluePropertiesInputProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
instance Property "IdleTimeout" SparkGluePropertiesInputProperty where
type PropertyType "IdleTimeout" SparkGluePropertiesInputProperty = Value Prelude.Double
set :: PropertyType "IdleTimeout" SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
set PropertyType "IdleTimeout" SparkGluePropertiesInputProperty
newValue SparkGluePropertiesInputProperty {Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: SparkGluePropertiesInputProperty -> ()
additionalArgs :: SparkGluePropertiesInputProperty -> Maybe SparkGlueArgsProperty
glueConnectionName :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
glueVersion :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
idleTimeout :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
javaVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
numberOfWorkers :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
pythonVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
workerType :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
= SparkGluePropertiesInputProperty
{idleTimeout :: Maybe (Value Double)
idleTimeout = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IdleTimeout" SparkGluePropertiesInputProperty
Value Double
newValue, Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
instance Property "JavaVirtualEnv" SparkGluePropertiesInputProperty where
type PropertyType "JavaVirtualEnv" SparkGluePropertiesInputProperty = Value Prelude.Text
set :: PropertyType "JavaVirtualEnv" SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
set PropertyType "JavaVirtualEnv" SparkGluePropertiesInputProperty
newValue SparkGluePropertiesInputProperty {Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: SparkGluePropertiesInputProperty -> ()
additionalArgs :: SparkGluePropertiesInputProperty -> Maybe SparkGlueArgsProperty
glueConnectionName :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
glueVersion :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
idleTimeout :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
javaVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
numberOfWorkers :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
pythonVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
workerType :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
= SparkGluePropertiesInputProperty
{javaVirtualEnv :: Maybe (Value Text)
javaVirtualEnv = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "JavaVirtualEnv" SparkGluePropertiesInputProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
instance Property "NumberOfWorkers" SparkGluePropertiesInputProperty where
type PropertyType "NumberOfWorkers" SparkGluePropertiesInputProperty = Value Prelude.Double
set :: PropertyType "NumberOfWorkers" SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
set PropertyType "NumberOfWorkers" SparkGluePropertiesInputProperty
newValue SparkGluePropertiesInputProperty {Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: SparkGluePropertiesInputProperty -> ()
additionalArgs :: SparkGluePropertiesInputProperty -> Maybe SparkGlueArgsProperty
glueConnectionName :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
glueVersion :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
idleTimeout :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
javaVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
numberOfWorkers :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
pythonVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
workerType :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
= SparkGluePropertiesInputProperty
{numberOfWorkers :: Maybe (Value Double)
numberOfWorkers = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "NumberOfWorkers" SparkGluePropertiesInputProperty
Value Double
newValue, Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
instance Property "PythonVirtualEnv" SparkGluePropertiesInputProperty where
type PropertyType "PythonVirtualEnv" SparkGluePropertiesInputProperty = Value Prelude.Text
set :: PropertyType "PythonVirtualEnv" SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
set PropertyType "PythonVirtualEnv" SparkGluePropertiesInputProperty
newValue SparkGluePropertiesInputProperty {Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: SparkGluePropertiesInputProperty -> ()
additionalArgs :: SparkGluePropertiesInputProperty -> Maybe SparkGlueArgsProperty
glueConnectionName :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
glueVersion :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
idleTimeout :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
javaVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
numberOfWorkers :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
pythonVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
workerType :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
= SparkGluePropertiesInputProperty
{pythonVirtualEnv :: Maybe (Value Text)
pythonVirtualEnv = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PythonVirtualEnv" SparkGluePropertiesInputProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
workerType :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
workerType :: Maybe (Value Text)
..}
instance Property "WorkerType" SparkGluePropertiesInputProperty where
type PropertyType "WorkerType" SparkGluePropertiesInputProperty = Value Prelude.Text
set :: PropertyType "WorkerType" SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
-> SparkGluePropertiesInputProperty
set PropertyType "WorkerType" SparkGluePropertiesInputProperty
newValue SparkGluePropertiesInputProperty {Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: SparkGluePropertiesInputProperty -> ()
additionalArgs :: SparkGluePropertiesInputProperty -> Maybe SparkGlueArgsProperty
glueConnectionName :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
glueVersion :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
idleTimeout :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
javaVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
numberOfWorkers :: SparkGluePropertiesInputProperty -> Maybe (Value Double)
pythonVirtualEnv :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
workerType :: SparkGluePropertiesInputProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
workerType :: Maybe (Value Text)
..}
= SparkGluePropertiesInputProperty
{workerType :: Maybe (Value Text)
workerType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "WorkerType" SparkGluePropertiesInputProperty
Value Text
newValue, Maybe (Value Double)
Maybe (Value Text)
Maybe SparkGlueArgsProperty
()
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalArgs :: Maybe SparkGlueArgsProperty
glueConnectionName :: Maybe (Value Text)
glueVersion :: Maybe (Value Text)
idleTimeout :: Maybe (Value Double)
javaVirtualEnv :: Maybe (Value Text)
numberOfWorkers :: Maybe (Value Double)
pythonVirtualEnv :: Maybe (Value Text)
..}