amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.Types.ServiceNowKnowledgeArticleConfiguration

Description

 
Synopsis

Documentation

data ServiceNowKnowledgeArticleConfiguration Source #

Provides the configuration information for crawling knowledge articles in the ServiceNow site.

See: newServiceNowKnowledgeArticleConfiguration smart constructor.

Constructors

ServiceNowKnowledgeArticleConfiguration' 

Fields

  • crawlAttachments :: Maybe Bool

    TRUE to index attachments to knowledge articles.

  • documentTitleFieldName :: Maybe Text

    The name of the ServiceNow field that is mapped to the index document title field.

  • excludeAttachmentFilePatterns :: Maybe [Text]

    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.

  • fieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)

    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.

  • filterQuery :: Maybe Text

    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.

  • includeAttachmentFilePatterns :: Maybe [Text]

    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.

  • documentDataFieldName :: Text

    The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.

Instances

Instances details
FromJSON ServiceNowKnowledgeArticleConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowKnowledgeArticleConfiguration

ToJSON ServiceNowKnowledgeArticleConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowKnowledgeArticleConfiguration

Generic ServiceNowKnowledgeArticleConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowKnowledgeArticleConfiguration

Read ServiceNowKnowledgeArticleConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowKnowledgeArticleConfiguration

Show ServiceNowKnowledgeArticleConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowKnowledgeArticleConfiguration

NFData ServiceNowKnowledgeArticleConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowKnowledgeArticleConfiguration

Eq ServiceNowKnowledgeArticleConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowKnowledgeArticleConfiguration

Hashable ServiceNowKnowledgeArticleConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowKnowledgeArticleConfiguration

type Rep ServiceNowKnowledgeArticleConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowKnowledgeArticleConfiguration

type Rep ServiceNowKnowledgeArticleConfiguration = D1 ('MetaData "ServiceNowKnowledgeArticleConfiguration" "Amazonka.Kendra.Types.ServiceNowKnowledgeArticleConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "ServiceNowKnowledgeArticleConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "crawlAttachments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "documentTitleFieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "excludeAttachmentFilePatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "fieldMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DataSourceToIndexFieldMapping))) :*: S1 ('MetaSel ('Just "filterQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "includeAttachmentFilePatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "documentDataFieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newServiceNowKnowledgeArticleConfiguration Source #

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_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.