Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ServiceNowKnowledgeArticleConfiguration = ServiceNowKnowledgeArticleConfiguration' {}
- newServiceNowKnowledgeArticleConfiguration :: Text -> ServiceNowKnowledgeArticleConfiguration
- serviceNowKnowledgeArticleConfiguration_crawlAttachments :: Lens' ServiceNowKnowledgeArticleConfiguration (Maybe Bool)
- serviceNowKnowledgeArticleConfiguration_documentTitleFieldName :: Lens' ServiceNowKnowledgeArticleConfiguration (Maybe Text)
- serviceNowKnowledgeArticleConfiguration_excludeAttachmentFilePatterns :: Lens' ServiceNowKnowledgeArticleConfiguration (Maybe [Text])
- serviceNowKnowledgeArticleConfiguration_fieldMappings :: Lens' ServiceNowKnowledgeArticleConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- serviceNowKnowledgeArticleConfiguration_filterQuery :: Lens' ServiceNowKnowledgeArticleConfiguration (Maybe Text)
- serviceNowKnowledgeArticleConfiguration_includeAttachmentFilePatterns :: Lens' ServiceNowKnowledgeArticleConfiguration (Maybe [Text])
- serviceNowKnowledgeArticleConfiguration_documentDataFieldName :: Lens' ServiceNowKnowledgeArticleConfiguration Text
Documentation
data ServiceNowKnowledgeArticleConfiguration Source #
Provides the configuration information for crawling knowledge articles in the ServiceNow site.
See: newServiceNowKnowledgeArticleConfiguration
smart constructor.
ServiceNowKnowledgeArticleConfiguration' | |
|
Instances
newServiceNowKnowledgeArticleConfiguration Source #
:: Text |
|
-> ServiceNowKnowledgeArticleConfiguration |
Create a value of ServiceNowKnowledgeArticleConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:crawlAttachments:ServiceNowKnowledgeArticleConfiguration'
, serviceNowKnowledgeArticleConfiguration_crawlAttachments
- TRUE
to index attachments to knowledge articles.
$sel:documentTitleFieldName:ServiceNowKnowledgeArticleConfiguration'
, serviceNowKnowledgeArticleConfiguration_documentTitleFieldName
- The name of the ServiceNow field that is mapped to the index document
title field.
$sel:excludeAttachmentFilePatterns:ServiceNowKnowledgeArticleConfiguration'
, serviceNowKnowledgeArticleConfiguration_excludeAttachmentFilePatterns
- A list of regular expression patterns to exclude certain attachments of
knowledge articles in your ServiceNow. Item that match the patterns are
excluded from the index. Items that don't match the patterns are
included in the index. If an item matches both an inclusion and
exclusion pattern, the exclusion pattern takes precedence and the item
isn't included in the index.
The regex is applied to the field specified in the PatternTargetField
.
$sel:fieldMappings:ServiceNowKnowledgeArticleConfiguration'
, serviceNowKnowledgeArticleConfiguration_fieldMappings
- Maps attributes or field names of knoweldge articles to Amazon Kendra
index field names. To create custom fields, use the UpdateIndex
API
before you map to ServiceNow fields. For more information, see
Mapping data source fields.
The ServiceNow data source field names must exist in your ServiceNow
custom metadata.
$sel:filterQuery:ServiceNowKnowledgeArticleConfiguration'
, serviceNowKnowledgeArticleConfiguration_filterQuery
- A query that selects the knowledge articles to index. The query can
return articles from multiple knowledge bases, and the knowledge bases
can be public or private.
The query string must be one generated by the ServiceNow console. For more information, see Specifying documents to index with a query.
$sel:includeAttachmentFilePatterns:ServiceNowKnowledgeArticleConfiguration'
, serviceNowKnowledgeArticleConfiguration_includeAttachmentFilePatterns
- A list of regular expression patterns to include certain attachments of
knowledge articles in your ServiceNow. Item that match the patterns are
included in the index. Items that don't match the patterns are excluded
from the index. If an item matches both an inclusion and exclusion
pattern, the exclusion pattern takes precedence and the item isn't
included in the index.
The regex is applied to the field specified in the PatternTargetField
.
$sel:documentDataFieldName:ServiceNowKnowledgeArticleConfiguration'
, serviceNowKnowledgeArticleConfiguration_documentDataFieldName
- The name of the ServiceNow field that is mapped to the index document
contents field in the Amazon Kendra index.
serviceNowKnowledgeArticleConfiguration_crawlAttachments :: Lens' ServiceNowKnowledgeArticleConfiguration (Maybe Bool) Source #
TRUE
to index attachments to knowledge articles.
serviceNowKnowledgeArticleConfiguration_documentTitleFieldName :: Lens' ServiceNowKnowledgeArticleConfiguration (Maybe Text) Source #
The name of the ServiceNow field that is mapped to the index document title field.
serviceNowKnowledgeArticleConfiguration_excludeAttachmentFilePatterns :: Lens' ServiceNowKnowledgeArticleConfiguration (Maybe [Text]) Source #
A list of regular expression patterns to exclude certain attachments of knowledge articles in your ServiceNow. Item that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
The regex is applied to the field specified in the PatternTargetField
.
serviceNowKnowledgeArticleConfiguration_fieldMappings :: Lens' ServiceNowKnowledgeArticleConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #
Maps attributes or field names of knoweldge articles to Amazon Kendra
index field names. To create custom fields, use the UpdateIndex
API
before you map to ServiceNow fields. For more information, see
Mapping data source fields.
The ServiceNow data source field names must exist in your ServiceNow
custom metadata.
serviceNowKnowledgeArticleConfiguration_filterQuery :: Lens' ServiceNowKnowledgeArticleConfiguration (Maybe Text) Source #
A query that selects the knowledge articles to index. The query can return articles from multiple knowledge bases, and the knowledge bases can be public or private.
The query string must be one generated by the ServiceNow console. For more information, see Specifying documents to index with a query.
serviceNowKnowledgeArticleConfiguration_includeAttachmentFilePatterns :: Lens' ServiceNowKnowledgeArticleConfiguration (Maybe [Text]) Source #
A list of regular expression patterns to include certain attachments of knowledge articles in your ServiceNow. Item that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
The regex is applied to the field specified in the PatternTargetField
.
serviceNowKnowledgeArticleConfiguration_documentDataFieldName :: Lens' ServiceNowKnowledgeArticleConfiguration Text Source #
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.