module Stratosphere.Kendra.DataSource.GoogleDriveConfigurationProperty (
module Exports, GoogleDriveConfigurationProperty(..),
mkGoogleDriveConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Kendra.DataSource.DataSourceToIndexFieldMappingProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data GoogleDriveConfigurationProperty
=
GoogleDriveConfigurationProperty {GoogleDriveConfigurationProperty -> ()
haddock_workaround_ :: (),
GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeMimeTypes :: (Prelude.Maybe (ValueList Prelude.Text)),
GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeSharedDrives :: (Prelude.Maybe (ValueList Prelude.Text)),
GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeUserAccounts :: (Prelude.Maybe (ValueList Prelude.Text)),
GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
exclusionPatterns :: (Prelude.Maybe (ValueList Prelude.Text)),
GoogleDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings :: (Prelude.Maybe [DataSourceToIndexFieldMappingProperty]),
GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
inclusionPatterns :: (Prelude.Maybe (ValueList Prelude.Text)),
GoogleDriveConfigurationProperty -> Value Text
secretArn :: (Value Prelude.Text)}
deriving stock (GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty -> Bool
(GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty -> Bool)
-> (GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty -> Bool)
-> Eq GoogleDriveConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty -> Bool
== :: GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty -> Bool
$c/= :: GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty -> Bool
/= :: GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty -> Bool
Prelude.Eq, Int -> GoogleDriveConfigurationProperty -> ShowS
[GoogleDriveConfigurationProperty] -> ShowS
GoogleDriveConfigurationProperty -> String
(Int -> GoogleDriveConfigurationProperty -> ShowS)
-> (GoogleDriveConfigurationProperty -> String)
-> ([GoogleDriveConfigurationProperty] -> ShowS)
-> Show GoogleDriveConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GoogleDriveConfigurationProperty -> ShowS
showsPrec :: Int -> GoogleDriveConfigurationProperty -> ShowS
$cshow :: GoogleDriveConfigurationProperty -> String
show :: GoogleDriveConfigurationProperty -> String
$cshowList :: [GoogleDriveConfigurationProperty] -> ShowS
showList :: [GoogleDriveConfigurationProperty] -> ShowS
Prelude.Show)
mkGoogleDriveConfigurationProperty ::
Value Prelude.Text -> GoogleDriveConfigurationProperty
mkGoogleDriveConfigurationProperty :: Value Text -> GoogleDriveConfigurationProperty
mkGoogleDriveConfigurationProperty Value Text
secretArn
= GoogleDriveConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), secretArn :: Value Text
secretArn = Value Text
secretArn,
excludeMimeTypes :: Maybe (ValueList Text)
excludeMimeTypes = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
excludeSharedDrives :: Maybe (ValueList Text)
excludeSharedDrives = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
excludeUserAccounts :: Maybe (ValueList Text)
excludeUserAccounts = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
exclusionPatterns :: Maybe (ValueList Text)
exclusionPatterns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings = Maybe [DataSourceToIndexFieldMappingProperty]
forall a. Maybe a
Prelude.Nothing,
inclusionPatterns :: Maybe (ValueList Text)
inclusionPatterns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties GoogleDriveConfigurationProperty where
toResourceProperties :: GoogleDriveConfigurationProperty -> ResourceProperties
toResourceProperties GoogleDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: GoogleDriveConfigurationProperty -> ()
excludeMimeTypes :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeSharedDrives :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeUserAccounts :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
exclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: GoogleDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
secretArn :: GoogleDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Kendra::DataSource.GoogleDriveConfiguration",
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
"SecretArn" 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
secretArn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> ValueList 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
"ExcludeMimeTypes" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
excludeMimeTypes,
Key -> ValueList 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
"ExcludeSharedDrives" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
excludeSharedDrives,
Key -> ValueList 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
"ExcludeUserAccounts" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
excludeUserAccounts,
Key -> ValueList 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
"ExclusionPatterns" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
exclusionPatterns,
Key -> [DataSourceToIndexFieldMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FieldMappings" ([DataSourceToIndexFieldMappingProperty] -> (Key, Value))
-> Maybe [DataSourceToIndexFieldMappingProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings,
Key -> ValueList 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
"InclusionPatterns" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
inclusionPatterns]))}
instance JSON.ToJSON GoogleDriveConfigurationProperty where
toJSON :: GoogleDriveConfigurationProperty -> Value
toJSON GoogleDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: GoogleDriveConfigurationProperty -> ()
excludeMimeTypes :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeSharedDrives :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeUserAccounts :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
exclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: GoogleDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
secretArn :: GoogleDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
= [(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
"SecretArn" 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
secretArn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> ValueList 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
"ExcludeMimeTypes" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
excludeMimeTypes,
Key -> ValueList 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
"ExcludeSharedDrives" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
excludeSharedDrives,
Key -> ValueList 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
"ExcludeUserAccounts" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
excludeUserAccounts,
Key -> ValueList 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
"ExclusionPatterns" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
exclusionPatterns,
Key -> [DataSourceToIndexFieldMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FieldMappings" ([DataSourceToIndexFieldMappingProperty] -> (Key, Value))
-> Maybe [DataSourceToIndexFieldMappingProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings,
Key -> ValueList 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
"InclusionPatterns" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
inclusionPatterns])))
instance Property "ExcludeMimeTypes" GoogleDriveConfigurationProperty where
type PropertyType "ExcludeMimeTypes" GoogleDriveConfigurationProperty = ValueList Prelude.Text
set :: PropertyType "ExcludeMimeTypes" GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
set PropertyType "ExcludeMimeTypes" GoogleDriveConfigurationProperty
newValue GoogleDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: GoogleDriveConfigurationProperty -> ()
excludeMimeTypes :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeSharedDrives :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeUserAccounts :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
exclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: GoogleDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
secretArn :: GoogleDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
= GoogleDriveConfigurationProperty
{excludeMimeTypes :: Maybe (ValueList Text)
excludeMimeTypes = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExcludeMimeTypes" GoogleDriveConfigurationProperty
ValueList Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: ()
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
haddock_workaround_ :: ()
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
instance Property "ExcludeSharedDrives" GoogleDriveConfigurationProperty where
type PropertyType "ExcludeSharedDrives" GoogleDriveConfigurationProperty = ValueList Prelude.Text
set :: PropertyType "ExcludeSharedDrives" GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
set PropertyType "ExcludeSharedDrives" GoogleDriveConfigurationProperty
newValue GoogleDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: GoogleDriveConfigurationProperty -> ()
excludeMimeTypes :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeSharedDrives :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeUserAccounts :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
exclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: GoogleDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
secretArn :: GoogleDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
= GoogleDriveConfigurationProperty
{excludeSharedDrives :: Maybe (ValueList Text)
excludeSharedDrives = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExcludeSharedDrives" GoogleDriveConfigurationProperty
ValueList Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
instance Property "ExcludeUserAccounts" GoogleDriveConfigurationProperty where
type PropertyType "ExcludeUserAccounts" GoogleDriveConfigurationProperty = ValueList Prelude.Text
set :: PropertyType "ExcludeUserAccounts" GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
set PropertyType "ExcludeUserAccounts" GoogleDriveConfigurationProperty
newValue GoogleDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: GoogleDriveConfigurationProperty -> ()
excludeMimeTypes :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeSharedDrives :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeUserAccounts :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
exclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: GoogleDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
secretArn :: GoogleDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
= GoogleDriveConfigurationProperty
{excludeUserAccounts :: Maybe (ValueList Text)
excludeUserAccounts = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExcludeUserAccounts" GoogleDriveConfigurationProperty
ValueList Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
instance Property "ExclusionPatterns" GoogleDriveConfigurationProperty where
type PropertyType "ExclusionPatterns" GoogleDriveConfigurationProperty = ValueList Prelude.Text
set :: PropertyType "ExclusionPatterns" GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
set PropertyType "ExclusionPatterns" GoogleDriveConfigurationProperty
newValue GoogleDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: GoogleDriveConfigurationProperty -> ()
excludeMimeTypes :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeSharedDrives :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeUserAccounts :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
exclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: GoogleDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
secretArn :: GoogleDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
= GoogleDriveConfigurationProperty
{exclusionPatterns :: Maybe (ValueList Text)
exclusionPatterns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExclusionPatterns" GoogleDriveConfigurationProperty
ValueList Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
instance Property "FieldMappings" GoogleDriveConfigurationProperty where
type PropertyType "FieldMappings" GoogleDriveConfigurationProperty = [DataSourceToIndexFieldMappingProperty]
set :: PropertyType "FieldMappings" GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
set PropertyType "FieldMappings" GoogleDriveConfigurationProperty
newValue GoogleDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: GoogleDriveConfigurationProperty -> ()
excludeMimeTypes :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeSharedDrives :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeUserAccounts :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
exclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: GoogleDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
secretArn :: GoogleDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
= GoogleDriveConfigurationProperty
{fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings = [DataSourceToIndexFieldMappingProperty]
-> Maybe [DataSourceToIndexFieldMappingProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [DataSourceToIndexFieldMappingProperty]
PropertyType "FieldMappings" GoogleDriveConfigurationProperty
newValue, Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
instance Property "InclusionPatterns" GoogleDriveConfigurationProperty where
type PropertyType "InclusionPatterns" GoogleDriveConfigurationProperty = ValueList Prelude.Text
set :: PropertyType "InclusionPatterns" GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
set PropertyType "InclusionPatterns" GoogleDriveConfigurationProperty
newValue GoogleDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: GoogleDriveConfigurationProperty -> ()
excludeMimeTypes :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeSharedDrives :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeUserAccounts :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
exclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: GoogleDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
secretArn :: GoogleDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
= GoogleDriveConfigurationProperty
{inclusionPatterns :: Maybe (ValueList Text)
inclusionPatterns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InclusionPatterns" GoogleDriveConfigurationProperty
ValueList Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
secretArn :: Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
secretArn :: Value Text
..}
instance Property "SecretArn" GoogleDriveConfigurationProperty where
type PropertyType "SecretArn" GoogleDriveConfigurationProperty = Value Prelude.Text
set :: PropertyType "SecretArn" GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
-> GoogleDriveConfigurationProperty
set PropertyType "SecretArn" GoogleDriveConfigurationProperty
newValue GoogleDriveConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: GoogleDriveConfigurationProperty -> ()
excludeMimeTypes :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeSharedDrives :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
excludeUserAccounts :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
exclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: GoogleDriveConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: GoogleDriveConfigurationProperty -> Maybe (ValueList Text)
secretArn :: GoogleDriveConfigurationProperty -> Value Text
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
secretArn :: Value Text
..}
= GoogleDriveConfigurationProperty {secretArn :: Value Text
secretArn = PropertyType "SecretArn" GoogleDriveConfigurationProperty
Value Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
()
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
haddock_workaround_ :: ()
excludeMimeTypes :: Maybe (ValueList Text)
excludeSharedDrives :: Maybe (ValueList Text)
excludeUserAccounts :: Maybe (ValueList Text)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
..}