module Stratosphere.QBusiness.DataSource (
module Exports, DataSource(..), mkDataSource
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QBusiness.DataSource.DataSourceVpcConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QBusiness.DataSource.DocumentEnrichmentConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QBusiness.DataSource.MediaExtractionConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data DataSource
=
DataSource {DataSource -> ()
haddock_workaround_ :: (),
DataSource -> Value Text
applicationId :: (Value Prelude.Text),
DataSource -> Object
configuration :: JSON.Object,
DataSource -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
DataSource -> Value Text
displayName :: (Value Prelude.Text),
DataSource -> Maybe DocumentEnrichmentConfigurationProperty
documentEnrichmentConfiguration :: (Prelude.Maybe DocumentEnrichmentConfigurationProperty),
DataSource -> Value Text
indexId :: (Value Prelude.Text),
:: (Prelude.Maybe MediaExtractionConfigurationProperty),
DataSource -> Maybe (Value Text)
roleArn :: (Prelude.Maybe (Value Prelude.Text)),
DataSource -> Maybe (Value Text)
syncSchedule :: (Prelude.Maybe (Value Prelude.Text)),
DataSource -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
DataSource -> Maybe DataSourceVpcConfigurationProperty
vpcConfiguration :: (Prelude.Maybe DataSourceVpcConfigurationProperty)}
deriving stock (DataSource -> DataSource -> Bool
(DataSource -> DataSource -> Bool)
-> (DataSource -> DataSource -> Bool) -> Eq DataSource
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DataSource -> DataSource -> Bool
== :: DataSource -> DataSource -> Bool
$c/= :: DataSource -> DataSource -> Bool
/= :: DataSource -> DataSource -> Bool
Prelude.Eq, Int -> DataSource -> ShowS
[DataSource] -> ShowS
DataSource -> String
(Int -> DataSource -> ShowS)
-> (DataSource -> String)
-> ([DataSource] -> ShowS)
-> Show DataSource
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DataSource -> ShowS
showsPrec :: Int -> DataSource -> ShowS
$cshow :: DataSource -> String
show :: DataSource -> String
$cshowList :: [DataSource] -> ShowS
showList :: [DataSource] -> ShowS
Prelude.Show)
mkDataSource ::
Value Prelude.Text
-> JSON.Object
-> Value Prelude.Text -> Value Prelude.Text -> DataSource
mkDataSource :: Value Text -> Object -> Value Text -> Value Text -> DataSource
mkDataSource Value Text
applicationId Object
configuration Value Text
displayName Value Text
indexId
= DataSource
{haddock_workaround_ :: ()
haddock_workaround_ = (), applicationId :: Value Text
applicationId = Value Text
applicationId,
configuration :: Object
configuration = Object
configuration, displayName :: Value Text
displayName = Value Text
displayName,
indexId :: Value Text
indexId = Value Text
indexId, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
documentEnrichmentConfiguration = Maybe DocumentEnrichmentConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
mediaExtractionConfiguration = Maybe MediaExtractionConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
roleArn :: Maybe (Value Text)
roleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, syncSchedule :: Maybe (Value Text)
syncSchedule = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing, vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
vpcConfiguration = Maybe DataSourceVpcConfigurationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DataSource where
toResourceProperties :: DataSource -> ResourceProperties
toResourceProperties DataSource {Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: DataSource -> ()
applicationId :: DataSource -> Value Text
configuration :: DataSource -> Object
description :: DataSource -> Maybe (Value Text)
displayName :: DataSource -> Value Text
documentEnrichmentConfiguration :: DataSource -> Maybe DocumentEnrichmentConfigurationProperty
indexId :: DataSource -> Value Text
mediaExtractionConfiguration :: DataSource -> Maybe MediaExtractionConfigurationProperty
roleArn :: DataSource -> Maybe (Value Text)
syncSchedule :: DataSource -> Maybe (Value Text)
tags :: DataSource -> Maybe [Tag]
vpcConfiguration :: DataSource -> Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QBusiness::DataSource",
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
"ApplicationId" 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
applicationId,
Key
"Configuration" Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Object
configuration,
Key
"DisplayName" 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
displayName, Key
"IndexId" 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
indexId]
([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 -> DocumentEnrichmentConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DocumentEnrichmentConfiguration"
(DocumentEnrichmentConfigurationProperty -> (Key, Value))
-> Maybe DocumentEnrichmentConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DocumentEnrichmentConfigurationProperty
documentEnrichmentConfiguration,
Key -> MediaExtractionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MediaExtractionConfiguration"
(MediaExtractionConfigurationProperty -> (Key, Value))
-> Maybe MediaExtractionConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MediaExtractionConfigurationProperty
mediaExtractionConfiguration,
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
"RoleArn" (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)
roleArn,
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
"SyncSchedule" (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)
syncSchedule,
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 -> DataSourceVpcConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VpcConfiguration" (DataSourceVpcConfigurationProperty -> (Key, Value))
-> Maybe DataSourceVpcConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataSourceVpcConfigurationProperty
vpcConfiguration]))}
instance JSON.ToJSON DataSource where
toJSON :: DataSource -> Value
toJSON DataSource {Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: DataSource -> ()
applicationId :: DataSource -> Value Text
configuration :: DataSource -> Object
description :: DataSource -> Maybe (Value Text)
displayName :: DataSource -> Value Text
documentEnrichmentConfiguration :: DataSource -> Maybe DocumentEnrichmentConfigurationProperty
indexId :: DataSource -> Value Text
mediaExtractionConfiguration :: DataSource -> Maybe MediaExtractionConfigurationProperty
roleArn :: DataSource -> Maybe (Value Text)
syncSchedule :: DataSource -> Maybe (Value Text)
tags :: DataSource -> Maybe [Tag]
vpcConfiguration :: DataSource -> Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
= [(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
"ApplicationId" 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
applicationId,
Key
"Configuration" Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Object
configuration,
Key
"DisplayName" 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
displayName, Key
"IndexId" 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
indexId]
([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 -> DocumentEnrichmentConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DocumentEnrichmentConfiguration"
(DocumentEnrichmentConfigurationProperty -> (Key, Value))
-> Maybe DocumentEnrichmentConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DocumentEnrichmentConfigurationProperty
documentEnrichmentConfiguration,
Key -> MediaExtractionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MediaExtractionConfiguration"
(MediaExtractionConfigurationProperty -> (Key, Value))
-> Maybe MediaExtractionConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MediaExtractionConfigurationProperty
mediaExtractionConfiguration,
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
"RoleArn" (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)
roleArn,
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
"SyncSchedule" (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)
syncSchedule,
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 -> DataSourceVpcConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VpcConfiguration" (DataSourceVpcConfigurationProperty -> (Key, Value))
-> Maybe DataSourceVpcConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataSourceVpcConfigurationProperty
vpcConfiguration])))
instance Property "ApplicationId" DataSource where
type PropertyType "ApplicationId" DataSource = Value Prelude.Text
set :: PropertyType "ApplicationId" DataSource -> DataSource -> DataSource
set PropertyType "ApplicationId" DataSource
newValue DataSource {Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: DataSource -> ()
applicationId :: DataSource -> Value Text
configuration :: DataSource -> Object
description :: DataSource -> Maybe (Value Text)
displayName :: DataSource -> Value Text
documentEnrichmentConfiguration :: DataSource -> Maybe DocumentEnrichmentConfigurationProperty
indexId :: DataSource -> Value Text
mediaExtractionConfiguration :: DataSource -> Maybe MediaExtractionConfigurationProperty
roleArn :: DataSource -> Maybe (Value Text)
syncSchedule :: DataSource -> Maybe (Value Text)
tags :: DataSource -> Maybe [Tag]
vpcConfiguration :: DataSource -> Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
= DataSource {applicationId :: Value Text
applicationId = PropertyType "ApplicationId" DataSource
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: ()
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
instance Property "Configuration" DataSource where
type PropertyType "Configuration" DataSource = JSON.Object
set :: PropertyType "Configuration" DataSource -> DataSource -> DataSource
set PropertyType "Configuration" DataSource
newValue DataSource {Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: DataSource -> ()
applicationId :: DataSource -> Value Text
configuration :: DataSource -> Object
description :: DataSource -> Maybe (Value Text)
displayName :: DataSource -> Value Text
documentEnrichmentConfiguration :: DataSource -> Maybe DocumentEnrichmentConfigurationProperty
indexId :: DataSource -> Value Text
mediaExtractionConfiguration :: DataSource -> Maybe MediaExtractionConfigurationProperty
roleArn :: DataSource -> Maybe (Value Text)
syncSchedule :: DataSource -> Maybe (Value Text)
tags :: DataSource -> Maybe [Tag]
vpcConfiguration :: DataSource -> Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
= DataSource {configuration :: Object
configuration = Object
PropertyType "Configuration" DataSource
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
instance Property "Description" DataSource where
type PropertyType "Description" DataSource = Value Prelude.Text
set :: PropertyType "Description" DataSource -> DataSource -> DataSource
set PropertyType "Description" DataSource
newValue DataSource {Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: DataSource -> ()
applicationId :: DataSource -> Value Text
configuration :: DataSource -> Object
description :: DataSource -> Maybe (Value Text)
displayName :: DataSource -> Value Text
documentEnrichmentConfiguration :: DataSource -> Maybe DocumentEnrichmentConfigurationProperty
indexId :: DataSource -> Value Text
mediaExtractionConfiguration :: DataSource -> Maybe MediaExtractionConfigurationProperty
roleArn :: DataSource -> Maybe (Value Text)
syncSchedule :: DataSource -> Maybe (Value Text)
tags :: DataSource -> Maybe [Tag]
vpcConfiguration :: DataSource -> Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
= DataSource {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" DataSource
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
instance Property "DisplayName" DataSource where
type PropertyType "DisplayName" DataSource = Value Prelude.Text
set :: PropertyType "DisplayName" DataSource -> DataSource -> DataSource
set PropertyType "DisplayName" DataSource
newValue DataSource {Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: DataSource -> ()
applicationId :: DataSource -> Value Text
configuration :: DataSource -> Object
description :: DataSource -> Maybe (Value Text)
displayName :: DataSource -> Value Text
documentEnrichmentConfiguration :: DataSource -> Maybe DocumentEnrichmentConfigurationProperty
indexId :: DataSource -> Value Text
mediaExtractionConfiguration :: DataSource -> Maybe MediaExtractionConfigurationProperty
roleArn :: DataSource -> Maybe (Value Text)
syncSchedule :: DataSource -> Maybe (Value Text)
tags :: DataSource -> Maybe [Tag]
vpcConfiguration :: DataSource -> Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
= DataSource {displayName :: Value Text
displayName = PropertyType "DisplayName" DataSource
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
instance Property "DocumentEnrichmentConfiguration" DataSource where
type PropertyType "DocumentEnrichmentConfiguration" DataSource = DocumentEnrichmentConfigurationProperty
set :: PropertyType "DocumentEnrichmentConfiguration" DataSource
-> DataSource -> DataSource
set PropertyType "DocumentEnrichmentConfiguration" DataSource
newValue DataSource {Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: DataSource -> ()
applicationId :: DataSource -> Value Text
configuration :: DataSource -> Object
description :: DataSource -> Maybe (Value Text)
displayName :: DataSource -> Value Text
documentEnrichmentConfiguration :: DataSource -> Maybe DocumentEnrichmentConfigurationProperty
indexId :: DataSource -> Value Text
mediaExtractionConfiguration :: DataSource -> Maybe MediaExtractionConfigurationProperty
roleArn :: DataSource -> Maybe (Value Text)
syncSchedule :: DataSource -> Maybe (Value Text)
tags :: DataSource -> Maybe [Tag]
vpcConfiguration :: DataSource -> Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
= DataSource
{documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
documentEnrichmentConfiguration = DocumentEnrichmentConfigurationProperty
-> Maybe DocumentEnrichmentConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DocumentEnrichmentConfiguration" DataSource
DocumentEnrichmentConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
instance Property "IndexId" DataSource where
type PropertyType "IndexId" DataSource = Value Prelude.Text
set :: PropertyType "IndexId" DataSource -> DataSource -> DataSource
set PropertyType "IndexId" DataSource
newValue DataSource {Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: DataSource -> ()
applicationId :: DataSource -> Value Text
configuration :: DataSource -> Object
description :: DataSource -> Maybe (Value Text)
displayName :: DataSource -> Value Text
documentEnrichmentConfiguration :: DataSource -> Maybe DocumentEnrichmentConfigurationProperty
indexId :: DataSource -> Value Text
mediaExtractionConfiguration :: DataSource -> Maybe MediaExtractionConfigurationProperty
roleArn :: DataSource -> Maybe (Value Text)
syncSchedule :: DataSource -> Maybe (Value Text)
tags :: DataSource -> Maybe [Tag]
vpcConfiguration :: DataSource -> Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..} = DataSource {indexId :: Value Text
indexId = PropertyType "IndexId" DataSource
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
instance Property "MediaExtractionConfiguration" DataSource where
type PropertyType "MediaExtractionConfiguration" DataSource = MediaExtractionConfigurationProperty
set :: PropertyType "MediaExtractionConfiguration" DataSource
-> DataSource -> DataSource
set PropertyType "MediaExtractionConfiguration" DataSource
newValue DataSource {Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: DataSource -> ()
applicationId :: DataSource -> Value Text
configuration :: DataSource -> Object
description :: DataSource -> Maybe (Value Text)
displayName :: DataSource -> Value Text
documentEnrichmentConfiguration :: DataSource -> Maybe DocumentEnrichmentConfigurationProperty
indexId :: DataSource -> Value Text
mediaExtractionConfiguration :: DataSource -> Maybe MediaExtractionConfigurationProperty
roleArn :: DataSource -> Maybe (Value Text)
syncSchedule :: DataSource -> Maybe (Value Text)
tags :: DataSource -> Maybe [Tag]
vpcConfiguration :: DataSource -> Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
= DataSource
{mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
mediaExtractionConfiguration = MediaExtractionConfigurationProperty
-> Maybe MediaExtractionConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MediaExtractionConfiguration" DataSource
MediaExtractionConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
instance Property "RoleArn" DataSource where
type PropertyType "RoleArn" DataSource = Value Prelude.Text
set :: PropertyType "RoleArn" DataSource -> DataSource -> DataSource
set PropertyType "RoleArn" DataSource
newValue DataSource {Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: DataSource -> ()
applicationId :: DataSource -> Value Text
configuration :: DataSource -> Object
description :: DataSource -> Maybe (Value Text)
displayName :: DataSource -> Value Text
documentEnrichmentConfiguration :: DataSource -> Maybe DocumentEnrichmentConfigurationProperty
indexId :: DataSource -> Value Text
mediaExtractionConfiguration :: DataSource -> Maybe MediaExtractionConfigurationProperty
roleArn :: DataSource -> Maybe (Value Text)
syncSchedule :: DataSource -> Maybe (Value Text)
tags :: DataSource -> Maybe [Tag]
vpcConfiguration :: DataSource -> Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
= DataSource {roleArn :: Maybe (Value Text)
roleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RoleArn" DataSource
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
instance Property "SyncSchedule" DataSource where
type PropertyType "SyncSchedule" DataSource = Value Prelude.Text
set :: PropertyType "SyncSchedule" DataSource -> DataSource -> DataSource
set PropertyType "SyncSchedule" DataSource
newValue DataSource {Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: DataSource -> ()
applicationId :: DataSource -> Value Text
configuration :: DataSource -> Object
description :: DataSource -> Maybe (Value Text)
displayName :: DataSource -> Value Text
documentEnrichmentConfiguration :: DataSource -> Maybe DocumentEnrichmentConfigurationProperty
indexId :: DataSource -> Value Text
mediaExtractionConfiguration :: DataSource -> Maybe MediaExtractionConfigurationProperty
roleArn :: DataSource -> Maybe (Value Text)
syncSchedule :: DataSource -> Maybe (Value Text)
tags :: DataSource -> Maybe [Tag]
vpcConfiguration :: DataSource -> Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
= DataSource {syncSchedule :: Maybe (Value Text)
syncSchedule = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SyncSchedule" DataSource
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
instance Property "Tags" DataSource where
type PropertyType "Tags" DataSource = [Tag]
set :: PropertyType "Tags" DataSource -> DataSource -> DataSource
set PropertyType "Tags" DataSource
newValue DataSource {Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: DataSource -> ()
applicationId :: DataSource -> Value Text
configuration :: DataSource -> Object
description :: DataSource -> Maybe (Value Text)
displayName :: DataSource -> Value Text
documentEnrichmentConfiguration :: DataSource -> Maybe DocumentEnrichmentConfigurationProperty
indexId :: DataSource -> Value Text
mediaExtractionConfiguration :: DataSource -> Maybe MediaExtractionConfigurationProperty
roleArn :: DataSource -> Maybe (Value Text)
syncSchedule :: DataSource -> Maybe (Value Text)
tags :: DataSource -> Maybe [Tag]
vpcConfiguration :: DataSource -> Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
= DataSource {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" DataSource
newValue, Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
instance Property "VpcConfiguration" DataSource where
type PropertyType "VpcConfiguration" DataSource = DataSourceVpcConfigurationProperty
set :: PropertyType "VpcConfiguration" DataSource
-> DataSource -> DataSource
set PropertyType "VpcConfiguration" DataSource
newValue DataSource {Maybe [Tag]
Maybe (Value Text)
Maybe DataSourceVpcConfigurationProperty
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: DataSource -> ()
applicationId :: DataSource -> Value Text
configuration :: DataSource -> Object
description :: DataSource -> Maybe (Value Text)
displayName :: DataSource -> Value Text
documentEnrichmentConfiguration :: DataSource -> Maybe DocumentEnrichmentConfigurationProperty
indexId :: DataSource -> Value Text
mediaExtractionConfiguration :: DataSource -> Maybe MediaExtractionConfigurationProperty
roleArn :: DataSource -> Maybe (Value Text)
syncSchedule :: DataSource -> Maybe (Value Text)
tags :: DataSource -> Maybe [Tag]
vpcConfiguration :: DataSource -> Maybe DataSourceVpcConfigurationProperty
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
..}
= DataSource {vpcConfiguration :: Maybe DataSourceVpcConfigurationProperty
vpcConfiguration = DataSourceVpcConfigurationProperty
-> Maybe DataSourceVpcConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VpcConfiguration" DataSource
DataSourceVpcConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DocumentEnrichmentConfigurationProperty
Maybe MediaExtractionConfigurationProperty
()
Object
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
applicationId :: Value Text
configuration :: Object
description :: Maybe (Value Text)
displayName :: Value Text
documentEnrichmentConfiguration :: Maybe DocumentEnrichmentConfigurationProperty
indexId :: Value Text
mediaExtractionConfiguration :: Maybe MediaExtractionConfigurationProperty
roleArn :: Maybe (Value Text)
syncSchedule :: Maybe (Value Text)
tags :: Maybe [Tag]
..}