module Stratosphere.Kendra.DataSource.ServiceNowServiceCatalogConfigurationProperty (
module Exports, ServiceNowServiceCatalogConfigurationProperty(..),
mkServiceNowServiceCatalogConfigurationProperty
) 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 ServiceNowServiceCatalogConfigurationProperty
=
ServiceNowServiceCatalogConfigurationProperty {ServiceNowServiceCatalogConfigurationProperty -> ()
haddock_workaround_ :: (),
ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Bool)
crawlAttachments :: (Prelude.Maybe (Value Prelude.Bool)),
ServiceNowServiceCatalogConfigurationProperty -> Value Text
documentDataFieldName :: (Value Prelude.Text),
ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Text)
documentTitleFieldName :: (Prelude.Maybe (Value Prelude.Text)),
ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
excludeAttachmentFilePatterns :: (Prelude.Maybe (ValueList Prelude.Text)),
ServiceNowServiceCatalogConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings :: (Prelude.Maybe [DataSourceToIndexFieldMappingProperty]),
ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
includeAttachmentFilePatterns :: (Prelude.Maybe (ValueList Prelude.Text))}
deriving stock (ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty -> Bool
(ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty -> Bool)
-> (ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty -> Bool)
-> Eq ServiceNowServiceCatalogConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty -> Bool
== :: ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty -> Bool
$c/= :: ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty -> Bool
/= :: ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty -> Bool
Prelude.Eq, Int -> ServiceNowServiceCatalogConfigurationProperty -> ShowS
[ServiceNowServiceCatalogConfigurationProperty] -> ShowS
ServiceNowServiceCatalogConfigurationProperty -> String
(Int -> ServiceNowServiceCatalogConfigurationProperty -> ShowS)
-> (ServiceNowServiceCatalogConfigurationProperty -> String)
-> ([ServiceNowServiceCatalogConfigurationProperty] -> ShowS)
-> Show ServiceNowServiceCatalogConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ServiceNowServiceCatalogConfigurationProperty -> ShowS
showsPrec :: Int -> ServiceNowServiceCatalogConfigurationProperty -> ShowS
$cshow :: ServiceNowServiceCatalogConfigurationProperty -> String
show :: ServiceNowServiceCatalogConfigurationProperty -> String
$cshowList :: [ServiceNowServiceCatalogConfigurationProperty] -> ShowS
showList :: [ServiceNowServiceCatalogConfigurationProperty] -> ShowS
Prelude.Show)
mkServiceNowServiceCatalogConfigurationProperty ::
Value Prelude.Text -> ServiceNowServiceCatalogConfigurationProperty
mkServiceNowServiceCatalogConfigurationProperty :: Value Text -> ServiceNowServiceCatalogConfigurationProperty
mkServiceNowServiceCatalogConfigurationProperty
Value Text
documentDataFieldName
= ServiceNowServiceCatalogConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
documentDataFieldName :: Value Text
documentDataFieldName = Value Text
documentDataFieldName,
crawlAttachments :: Maybe (Value Bool)
crawlAttachments = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
documentTitleFieldName :: Maybe (Value Text)
documentTitleFieldName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
excludeAttachmentFilePatterns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
fieldMappings = Maybe [DataSourceToIndexFieldMappingProperty]
forall a. Maybe a
Prelude.Nothing,
includeAttachmentFilePatterns :: Maybe (ValueList Text)
includeAttachmentFilePatterns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ServiceNowServiceCatalogConfigurationProperty where
toResourceProperties :: ServiceNowServiceCatalogConfigurationProperty -> ResourceProperties
toResourceProperties
ServiceNowServiceCatalogConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowServiceCatalogConfigurationProperty -> ()
crawlAttachments :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Bool)
documentDataFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Kendra::DataSource.ServiceNowServiceCatalogConfiguration",
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
"DocumentDataFieldName" 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
documentDataFieldName]
([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
"CrawlAttachments" (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)
crawlAttachments,
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
"DocumentTitleFieldName"
(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)
documentTitleFieldName,
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
"ExcludeAttachmentFilePatterns"
(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)
excludeAttachmentFilePatterns,
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
"IncludeAttachmentFilePatterns"
(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)
includeAttachmentFilePatterns]))}
instance JSON.ToJSON ServiceNowServiceCatalogConfigurationProperty where
toJSON :: ServiceNowServiceCatalogConfigurationProperty -> Value
toJSON ServiceNowServiceCatalogConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowServiceCatalogConfigurationProperty -> ()
crawlAttachments :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Bool)
documentDataFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList 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
"DocumentDataFieldName" 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
documentDataFieldName]
([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
"CrawlAttachments" (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)
crawlAttachments,
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
"DocumentTitleFieldName"
(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)
documentTitleFieldName,
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
"ExcludeAttachmentFilePatterns"
(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)
excludeAttachmentFilePatterns,
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
"IncludeAttachmentFilePatterns"
(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)
includeAttachmentFilePatterns])))
instance Property "CrawlAttachments" ServiceNowServiceCatalogConfigurationProperty where
type PropertyType "CrawlAttachments" ServiceNowServiceCatalogConfigurationProperty = Value Prelude.Bool
set :: PropertyType
"CrawlAttachments" ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty
set PropertyType
"CrawlAttachments" ServiceNowServiceCatalogConfigurationProperty
newValue ServiceNowServiceCatalogConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowServiceCatalogConfigurationProperty -> ()
crawlAttachments :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Bool)
documentDataFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
= ServiceNowServiceCatalogConfigurationProperty
{crawlAttachments :: Maybe (Value Bool)
crawlAttachments = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"CrawlAttachments" ServiceNowServiceCatalogConfigurationProperty
Value Bool
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
haddock_workaround_ :: ()
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
instance Property "DocumentDataFieldName" ServiceNowServiceCatalogConfigurationProperty where
type PropertyType "DocumentDataFieldName" ServiceNowServiceCatalogConfigurationProperty = Value Prelude.Text
set :: PropertyType
"DocumentDataFieldName"
ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty
set PropertyType
"DocumentDataFieldName"
ServiceNowServiceCatalogConfigurationProperty
newValue ServiceNowServiceCatalogConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowServiceCatalogConfigurationProperty -> ()
crawlAttachments :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Bool)
documentDataFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
= ServiceNowServiceCatalogConfigurationProperty
{documentDataFieldName :: Value Text
documentDataFieldName = PropertyType
"DocumentDataFieldName"
ServiceNowServiceCatalogConfigurationProperty
Value Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
instance Property "DocumentTitleFieldName" ServiceNowServiceCatalogConfigurationProperty where
type PropertyType "DocumentTitleFieldName" ServiceNowServiceCatalogConfigurationProperty = Value Prelude.Text
set :: PropertyType
"DocumentTitleFieldName"
ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty
set PropertyType
"DocumentTitleFieldName"
ServiceNowServiceCatalogConfigurationProperty
newValue ServiceNowServiceCatalogConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowServiceCatalogConfigurationProperty -> ()
crawlAttachments :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Bool)
documentDataFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
= ServiceNowServiceCatalogConfigurationProperty
{documentTitleFieldName :: Maybe (Value Text)
documentTitleFieldName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"DocumentTitleFieldName"
ServiceNowServiceCatalogConfigurationProperty
Value Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
instance Property "ExcludeAttachmentFilePatterns" ServiceNowServiceCatalogConfigurationProperty where
type PropertyType "ExcludeAttachmentFilePatterns" ServiceNowServiceCatalogConfigurationProperty = ValueList Prelude.Text
set :: PropertyType
"ExcludeAttachmentFilePatterns"
ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty
set PropertyType
"ExcludeAttachmentFilePatterns"
ServiceNowServiceCatalogConfigurationProperty
newValue ServiceNowServiceCatalogConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowServiceCatalogConfigurationProperty -> ()
crawlAttachments :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Bool)
documentDataFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
= ServiceNowServiceCatalogConfigurationProperty
{excludeAttachmentFilePatterns :: Maybe (ValueList Text)
excludeAttachmentFilePatterns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"ExcludeAttachmentFilePatterns"
ServiceNowServiceCatalogConfigurationProperty
ValueList Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
instance Property "FieldMappings" ServiceNowServiceCatalogConfigurationProperty where
type PropertyType "FieldMappings" ServiceNowServiceCatalogConfigurationProperty = [DataSourceToIndexFieldMappingProperty]
set :: PropertyType
"FieldMappings" ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty
set PropertyType
"FieldMappings" ServiceNowServiceCatalogConfigurationProperty
newValue ServiceNowServiceCatalogConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowServiceCatalogConfigurationProperty -> ()
crawlAttachments :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Bool)
documentDataFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
= ServiceNowServiceCatalogConfigurationProperty
{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" ServiceNowServiceCatalogConfigurationProperty
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
instance Property "IncludeAttachmentFilePatterns" ServiceNowServiceCatalogConfigurationProperty where
type PropertyType "IncludeAttachmentFilePatterns" ServiceNowServiceCatalogConfigurationProperty = ValueList Prelude.Text
set :: PropertyType
"IncludeAttachmentFilePatterns"
ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty
-> ServiceNowServiceCatalogConfigurationProperty
set PropertyType
"IncludeAttachmentFilePatterns"
ServiceNowServiceCatalogConfigurationProperty
newValue ServiceNowServiceCatalogConfigurationProperty {Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ServiceNowServiceCatalogConfigurationProperty -> ()
crawlAttachments :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Bool)
documentDataFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Value Text
documentTitleFieldName :: ServiceNowServiceCatalogConfigurationProperty -> Maybe (Value Text)
excludeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
fieldMappings :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: ServiceNowServiceCatalogConfigurationProperty
-> Maybe (ValueList Text)
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
includeAttachmentFilePatterns :: Maybe (ValueList Text)
..}
= ServiceNowServiceCatalogConfigurationProperty
{includeAttachmentFilePatterns :: Maybe (ValueList Text)
includeAttachmentFilePatterns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"IncludeAttachmentFilePatterns"
ServiceNowServiceCatalogConfigurationProperty
ValueList Text
newValue, Maybe [DataSourceToIndexFieldMappingProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
haddock_workaround_ :: ()
crawlAttachments :: Maybe (Value Bool)
documentDataFieldName :: Value Text
documentTitleFieldName :: Maybe (Value Text)
excludeAttachmentFilePatterns :: Maybe (ValueList Text)
fieldMappings :: Maybe [DataSourceToIndexFieldMappingProperty]
..}