module Stratosphere.DataZone.DataSource.GlueRunConfigurationInputProperty (
module Exports, GlueRunConfigurationInputProperty(..),
mkGlueRunConfigurationInputProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.DataZone.DataSource.RelationalFilterConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data GlueRunConfigurationInputProperty
=
GlueRunConfigurationInputProperty {GlueRunConfigurationInputProperty -> ()
haddock_workaround_ :: (),
GlueRunConfigurationInputProperty -> Maybe (Value Bool)
autoImportDataQualityResult :: (Prelude.Maybe (Value Prelude.Bool)),
GlueRunConfigurationInputProperty -> Maybe (Value Text)
catalogName :: (Prelude.Maybe (Value Prelude.Text)),
GlueRunConfigurationInputProperty -> Maybe (Value Text)
dataAccessRole :: (Prelude.Maybe (Value Prelude.Text)),
GlueRunConfigurationInputProperty
-> [RelationalFilterConfigurationProperty]
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]}
deriving stock (GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty -> Bool
(GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty -> Bool)
-> (GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty -> Bool)
-> Eq GlueRunConfigurationInputProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty -> Bool
== :: GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty -> Bool
$c/= :: GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty -> Bool
/= :: GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty -> Bool
Prelude.Eq, Int -> GlueRunConfigurationInputProperty -> ShowS
[GlueRunConfigurationInputProperty] -> ShowS
GlueRunConfigurationInputProperty -> String
(Int -> GlueRunConfigurationInputProperty -> ShowS)
-> (GlueRunConfigurationInputProperty -> String)
-> ([GlueRunConfigurationInputProperty] -> ShowS)
-> Show GlueRunConfigurationInputProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GlueRunConfigurationInputProperty -> ShowS
showsPrec :: Int -> GlueRunConfigurationInputProperty -> ShowS
$cshow :: GlueRunConfigurationInputProperty -> String
show :: GlueRunConfigurationInputProperty -> String
$cshowList :: [GlueRunConfigurationInputProperty] -> ShowS
showList :: [GlueRunConfigurationInputProperty] -> ShowS
Prelude.Show)
mkGlueRunConfigurationInputProperty ::
[RelationalFilterConfigurationProperty]
-> GlueRunConfigurationInputProperty
mkGlueRunConfigurationInputProperty :: [RelationalFilterConfigurationProperty]
-> GlueRunConfigurationInputProperty
mkGlueRunConfigurationInputProperty [RelationalFilterConfigurationProperty]
relationalFilterConfigurations
= GlueRunConfigurationInputProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
relationalFilterConfigurations = [RelationalFilterConfigurationProperty]
relationalFilterConfigurations,
autoImportDataQualityResult :: Maybe (Value Bool)
autoImportDataQualityResult = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
catalogName :: Maybe (Value Text)
catalogName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, dataAccessRole :: Maybe (Value Text)
dataAccessRole = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties GlueRunConfigurationInputProperty where
toResourceProperties :: GlueRunConfigurationInputProperty -> ResourceProperties
toResourceProperties GlueRunConfigurationInputProperty {[RelationalFilterConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlueRunConfigurationInputProperty -> ()
autoImportDataQualityResult :: GlueRunConfigurationInputProperty -> Maybe (Value Bool)
catalogName :: GlueRunConfigurationInputProperty -> Maybe (Value Text)
dataAccessRole :: GlueRunConfigurationInputProperty -> Maybe (Value Text)
relationalFilterConfigurations :: GlueRunConfigurationInputProperty
-> [RelationalFilterConfigurationProperty]
haddock_workaround_ :: ()
autoImportDataQualityResult :: Maybe (Value Bool)
catalogName :: Maybe (Value Text)
dataAccessRole :: Maybe (Value Text)
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::DataZone::DataSource.GlueRunConfigurationInput",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
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
"RelationalFilterConfigurations"
Key -> [RelationalFilterConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [RelationalFilterConfigurationProperty]
relationalFilterConfigurations]
([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
"AutoImportDataQualityResult"
(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)
autoImportDataQualityResult,
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
"CatalogName" (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)
catalogName,
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
"DataAccessRole" (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)
dataAccessRole]))}
instance JSON.ToJSON GlueRunConfigurationInputProperty where
toJSON :: GlueRunConfigurationInputProperty -> Value
toJSON GlueRunConfigurationInputProperty {[RelationalFilterConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlueRunConfigurationInputProperty -> ()
autoImportDataQualityResult :: GlueRunConfigurationInputProperty -> Maybe (Value Bool)
catalogName :: GlueRunConfigurationInputProperty -> Maybe (Value Text)
dataAccessRole :: GlueRunConfigurationInputProperty -> Maybe (Value Text)
relationalFilterConfigurations :: GlueRunConfigurationInputProperty
-> [RelationalFilterConfigurationProperty]
haddock_workaround_ :: ()
autoImportDataQualityResult :: Maybe (Value Bool)
catalogName :: Maybe (Value Text)
dataAccessRole :: Maybe (Value Text)
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
..}
= [(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
"RelationalFilterConfigurations"
Key -> [RelationalFilterConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [RelationalFilterConfigurationProperty]
relationalFilterConfigurations]
([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
"AutoImportDataQualityResult"
(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)
autoImportDataQualityResult,
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
"CatalogName" (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)
catalogName,
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
"DataAccessRole" (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)
dataAccessRole])))
instance Property "AutoImportDataQualityResult" GlueRunConfigurationInputProperty where
type PropertyType "AutoImportDataQualityResult" GlueRunConfigurationInputProperty = Value Prelude.Bool
set :: PropertyType
"AutoImportDataQualityResult" GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty
set PropertyType
"AutoImportDataQualityResult" GlueRunConfigurationInputProperty
newValue GlueRunConfigurationInputProperty {[RelationalFilterConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlueRunConfigurationInputProperty -> ()
autoImportDataQualityResult :: GlueRunConfigurationInputProperty -> Maybe (Value Bool)
catalogName :: GlueRunConfigurationInputProperty -> Maybe (Value Text)
dataAccessRole :: GlueRunConfigurationInputProperty -> Maybe (Value Text)
relationalFilterConfigurations :: GlueRunConfigurationInputProperty
-> [RelationalFilterConfigurationProperty]
haddock_workaround_ :: ()
autoImportDataQualityResult :: Maybe (Value Bool)
catalogName :: Maybe (Value Text)
dataAccessRole :: Maybe (Value Text)
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
..}
= GlueRunConfigurationInputProperty
{autoImportDataQualityResult :: Maybe (Value Bool)
autoImportDataQualityResult = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"AutoImportDataQualityResult" GlueRunConfigurationInputProperty
Value Bool
newValue, [RelationalFilterConfigurationProperty]
Maybe (Value Text)
()
haddock_workaround_ :: ()
catalogName :: Maybe (Value Text)
dataAccessRole :: Maybe (Value Text)
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
haddock_workaround_ :: ()
catalogName :: Maybe (Value Text)
dataAccessRole :: Maybe (Value Text)
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
..}
instance Property "CatalogName" GlueRunConfigurationInputProperty where
type PropertyType "CatalogName" GlueRunConfigurationInputProperty = Value Prelude.Text
set :: PropertyType "CatalogName" GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty
set PropertyType "CatalogName" GlueRunConfigurationInputProperty
newValue GlueRunConfigurationInputProperty {[RelationalFilterConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlueRunConfigurationInputProperty -> ()
autoImportDataQualityResult :: GlueRunConfigurationInputProperty -> Maybe (Value Bool)
catalogName :: GlueRunConfigurationInputProperty -> Maybe (Value Text)
dataAccessRole :: GlueRunConfigurationInputProperty -> Maybe (Value Text)
relationalFilterConfigurations :: GlueRunConfigurationInputProperty
-> [RelationalFilterConfigurationProperty]
haddock_workaround_ :: ()
autoImportDataQualityResult :: Maybe (Value Bool)
catalogName :: Maybe (Value Text)
dataAccessRole :: Maybe (Value Text)
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
..}
= GlueRunConfigurationInputProperty
{catalogName :: Maybe (Value Text)
catalogName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CatalogName" GlueRunConfigurationInputProperty
Value Text
newValue, [RelationalFilterConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
autoImportDataQualityResult :: Maybe (Value Bool)
dataAccessRole :: Maybe (Value Text)
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
haddock_workaround_ :: ()
autoImportDataQualityResult :: Maybe (Value Bool)
dataAccessRole :: Maybe (Value Text)
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
..}
instance Property "DataAccessRole" GlueRunConfigurationInputProperty where
type PropertyType "DataAccessRole" GlueRunConfigurationInputProperty = Value Prelude.Text
set :: PropertyType "DataAccessRole" GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty
set PropertyType "DataAccessRole" GlueRunConfigurationInputProperty
newValue GlueRunConfigurationInputProperty {[RelationalFilterConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlueRunConfigurationInputProperty -> ()
autoImportDataQualityResult :: GlueRunConfigurationInputProperty -> Maybe (Value Bool)
catalogName :: GlueRunConfigurationInputProperty -> Maybe (Value Text)
dataAccessRole :: GlueRunConfigurationInputProperty -> Maybe (Value Text)
relationalFilterConfigurations :: GlueRunConfigurationInputProperty
-> [RelationalFilterConfigurationProperty]
haddock_workaround_ :: ()
autoImportDataQualityResult :: Maybe (Value Bool)
catalogName :: Maybe (Value Text)
dataAccessRole :: Maybe (Value Text)
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
..}
= GlueRunConfigurationInputProperty
{dataAccessRole :: Maybe (Value Text)
dataAccessRole = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DataAccessRole" GlueRunConfigurationInputProperty
Value Text
newValue, [RelationalFilterConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
autoImportDataQualityResult :: Maybe (Value Bool)
catalogName :: Maybe (Value Text)
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
haddock_workaround_ :: ()
autoImportDataQualityResult :: Maybe (Value Bool)
catalogName :: Maybe (Value Text)
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
..}
instance Property "RelationalFilterConfigurations" GlueRunConfigurationInputProperty where
type PropertyType "RelationalFilterConfigurations" GlueRunConfigurationInputProperty = [RelationalFilterConfigurationProperty]
set :: PropertyType
"RelationalFilterConfigurations" GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty
-> GlueRunConfigurationInputProperty
set PropertyType
"RelationalFilterConfigurations" GlueRunConfigurationInputProperty
newValue GlueRunConfigurationInputProperty {[RelationalFilterConfigurationProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlueRunConfigurationInputProperty -> ()
autoImportDataQualityResult :: GlueRunConfigurationInputProperty -> Maybe (Value Bool)
catalogName :: GlueRunConfigurationInputProperty -> Maybe (Value Text)
dataAccessRole :: GlueRunConfigurationInputProperty -> Maybe (Value Text)
relationalFilterConfigurations :: GlueRunConfigurationInputProperty
-> [RelationalFilterConfigurationProperty]
haddock_workaround_ :: ()
autoImportDataQualityResult :: Maybe (Value Bool)
catalogName :: Maybe (Value Text)
dataAccessRole :: Maybe (Value Text)
relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
..}
= GlueRunConfigurationInputProperty
{relationalFilterConfigurations :: [RelationalFilterConfigurationProperty]
relationalFilterConfigurations = [RelationalFilterConfigurationProperty]
PropertyType
"RelationalFilterConfigurations" GlueRunConfigurationInputProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
autoImportDataQualityResult :: Maybe (Value Bool)
catalogName :: Maybe (Value Text)
dataAccessRole :: Maybe (Value Text)
haddock_workaround_ :: ()
autoImportDataQualityResult :: Maybe (Value Bool)
catalogName :: Maybe (Value Text)
dataAccessRole :: Maybe (Value Text)
..}