module Stratosphere.Kendra.DataSource.WorkDocsConfigurationProperty (
module Exports, WorkDocsConfigurationProperty(..),
mkWorkDocsConfigurationProperty
) 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 WorkDocsConfigurationProperty
=
WorkDocsConfigurationProperty {WorkDocsConfigurationProperty -> ()
haddock_workaround_ :: (),
:: (Prelude.Maybe (Value Prelude.Bool)),
WorkDocsConfigurationProperty -> Maybe (ValueList Text)
exclusionPatterns :: (Prelude.Maybe (ValueList Prelude.Text)),
WorkDocsConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings :: (Prelude.Maybe [DataSourceToIndexFieldMappingProperty]),
WorkDocsConfigurationProperty -> Maybe (ValueList Text)
inclusionPatterns :: (Prelude.Maybe (ValueList Prelude.Text)),
WorkDocsConfigurationProperty -> Value Text
organizationId :: (Value Prelude.Text),
WorkDocsConfigurationProperty -> Maybe (Value Bool)
useChangeLog :: (Prelude.Maybe (Value Prelude.Bool))}
deriving stock (WorkDocsConfigurationProperty
-> WorkDocsConfigurationProperty -> Bool
(WorkDocsConfigurationProperty
-> WorkDocsConfigurationProperty -> Bool)
-> (WorkDocsConfigurationProperty
-> WorkDocsConfigurationProperty -> Bool)
-> Eq WorkDocsConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: WorkDocsConfigurationProperty
-> WorkDocsConfigurationProperty -> Bool
== :: WorkDocsConfigurationProperty
-> WorkDocsConfigurationProperty -> Bool
$c/= :: WorkDocsConfigurationProperty
-> WorkDocsConfigurationProperty -> Bool
/= :: WorkDocsConfigurationProperty
-> WorkDocsConfigurationProperty -> Bool
Prelude.Eq, Int -> WorkDocsConfigurationProperty -> ShowS
[WorkDocsConfigurationProperty] -> ShowS
WorkDocsConfigurationProperty -> String
(Int -> WorkDocsConfigurationProperty -> ShowS)
-> (WorkDocsConfigurationProperty -> String)
-> ([WorkDocsConfigurationProperty] -> ShowS)
-> Show WorkDocsConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> WorkDocsConfigurationProperty -> ShowS
showsPrec :: Int -> WorkDocsConfigurationProperty -> ShowS
$cshow :: WorkDocsConfigurationProperty -> String
show :: WorkDocsConfigurationProperty -> String
$cshowList :: [WorkDocsConfigurationProperty] -> ShowS
showList :: [WorkDocsConfigurationProperty] -> ShowS
Prelude.Show)
mkWorkDocsConfigurationProperty ::
Value Prelude.Text -> WorkDocsConfigurationProperty
mkWorkDocsConfigurationProperty :: Value Text -> WorkDocsConfigurationProperty
mkWorkDocsConfigurationProperty Value Text
organizationId
= WorkDocsConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), organizationId :: Value Text
organizationId = Value Text
organizationId,
crawlComments :: Maybe (Value Bool)
crawlComments = Maybe (Value Bool)
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,
useChangeLog :: Maybe (Value Bool)
useChangeLog = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties WorkDocsConfigurationProperty where
toResourceProperties :: WorkDocsConfigurationProperty -> ResourceProperties
toResourceProperties WorkDocsConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: WorkDocsConfigurationProperty -> ()
crawlComments :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: WorkDocsConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
organizationId :: WorkDocsConfigurationProperty -> Value Text
useChangeLog :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Kendra::DataSource.WorkDocsConfiguration",
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
"OrganizationId" 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
organizationId]
([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
"CrawlComments" (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)
crawlComments,
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,
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
"UseChangeLog" (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)
useChangeLog]))}
instance JSON.ToJSON WorkDocsConfigurationProperty where
toJSON :: WorkDocsConfigurationProperty -> Value
toJSON WorkDocsConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: WorkDocsConfigurationProperty -> ()
crawlComments :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: WorkDocsConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
organizationId :: WorkDocsConfigurationProperty -> Value Text
useChangeLog :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
..}
= [(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
"OrganizationId" 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
organizationId]
([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
"CrawlComments" (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)
crawlComments,
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,
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
"UseChangeLog" (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)
useChangeLog])))
instance Property "CrawlComments" WorkDocsConfigurationProperty where
type PropertyType "CrawlComments" WorkDocsConfigurationProperty = Value Prelude.Bool
set :: PropertyType "CrawlComments" WorkDocsConfigurationProperty
-> WorkDocsConfigurationProperty -> WorkDocsConfigurationProperty
set PropertyType "CrawlComments" WorkDocsConfigurationProperty
newValue WorkDocsConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: WorkDocsConfigurationProperty -> ()
crawlComments :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: WorkDocsConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
organizationId :: WorkDocsConfigurationProperty -> Value Text
useChangeLog :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
..}
= WorkDocsConfigurationProperty
{crawlComments :: Maybe (Value Bool)
crawlComments = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CrawlComments" WorkDocsConfigurationProperty
Value Bool
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
haddock_workaround_ :: ()
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
..}
instance Property "ExclusionPatterns" WorkDocsConfigurationProperty where
type PropertyType "ExclusionPatterns" WorkDocsConfigurationProperty = ValueList Prelude.Text
set :: PropertyType "ExclusionPatterns" WorkDocsConfigurationProperty
-> WorkDocsConfigurationProperty -> WorkDocsConfigurationProperty
set PropertyType "ExclusionPatterns" WorkDocsConfigurationProperty
newValue WorkDocsConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: WorkDocsConfigurationProperty -> ()
crawlComments :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: WorkDocsConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
organizationId :: WorkDocsConfigurationProperty -> Value Text
useChangeLog :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
..}
= WorkDocsConfigurationProperty
{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" WorkDocsConfigurationProperty
ValueList Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
..}
instance Property "FieldMappings" WorkDocsConfigurationProperty where
type PropertyType "FieldMappings" WorkDocsConfigurationProperty = [DataSourceToIndexFieldMappingProperty]
set :: PropertyType "FieldMappings" WorkDocsConfigurationProperty
-> WorkDocsConfigurationProperty -> WorkDocsConfigurationProperty
set PropertyType "FieldMappings" WorkDocsConfigurationProperty
newValue WorkDocsConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: WorkDocsConfigurationProperty -> ()
crawlComments :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: WorkDocsConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
organizationId :: WorkDocsConfigurationProperty -> Value Text
useChangeLog :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
..}
= WorkDocsConfigurationProperty
{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" WorkDocsConfigurationProperty
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
..}
instance Property "InclusionPatterns" WorkDocsConfigurationProperty where
type PropertyType "InclusionPatterns" WorkDocsConfigurationProperty = ValueList Prelude.Text
set :: PropertyType "InclusionPatterns" WorkDocsConfigurationProperty
-> WorkDocsConfigurationProperty -> WorkDocsConfigurationProperty
set PropertyType "InclusionPatterns" WorkDocsConfigurationProperty
newValue WorkDocsConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: WorkDocsConfigurationProperty -> ()
crawlComments :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: WorkDocsConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
organizationId :: WorkDocsConfigurationProperty -> Value Text
useChangeLog :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
..}
= WorkDocsConfigurationProperty
{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" WorkDocsConfigurationProperty
ValueList Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
..}
instance Property "OrganizationId" WorkDocsConfigurationProperty where
type PropertyType "OrganizationId" WorkDocsConfigurationProperty = Value Prelude.Text
set :: PropertyType "OrganizationId" WorkDocsConfigurationProperty
-> WorkDocsConfigurationProperty -> WorkDocsConfigurationProperty
set PropertyType "OrganizationId" WorkDocsConfigurationProperty
newValue WorkDocsConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: WorkDocsConfigurationProperty -> ()
crawlComments :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: WorkDocsConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
organizationId :: WorkDocsConfigurationProperty -> Value Text
useChangeLog :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
..}
= WorkDocsConfigurationProperty {organizationId :: Value Text
organizationId = PropertyType "OrganizationId" WorkDocsConfigurationProperty
Value Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
useChangeLog :: Maybe (Value Bool)
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
useChangeLog :: Maybe (Value Bool)
..}
instance Property "UseChangeLog" WorkDocsConfigurationProperty where
type PropertyType "UseChangeLog" WorkDocsConfigurationProperty = Value Prelude.Bool
set :: PropertyType "UseChangeLog" WorkDocsConfigurationProperty
-> WorkDocsConfigurationProperty -> WorkDocsConfigurationProperty
set PropertyType "UseChangeLog" WorkDocsConfigurationProperty
newValue WorkDocsConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: WorkDocsConfigurationProperty -> ()
crawlComments :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
exclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
fieldMappings :: WorkDocsConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: WorkDocsConfigurationProperty -> Maybe (ValueList Text)
organizationId :: WorkDocsConfigurationProperty -> Value Text
useChangeLog :: WorkDocsConfigurationProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
useChangeLog :: Maybe (Value Bool)
..}
= WorkDocsConfigurationProperty
{useChangeLog :: Maybe (Value Bool)
useChangeLog = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "UseChangeLog" WorkDocsConfigurationProperty
Value Bool
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
haddock_workaround_ :: ()
crawlComments :: Maybe (Value Bool)
exclusionPatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
inclusionPatterns :: Maybe (ValueList Text)
organizationId :: Value Text
..}