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

Description

 
Synopsis

Documentation

data ServiceNowServiceCatalogConfiguration Source #

Provides the configuration information for crawling service catalog items in the ServiceNow site

See: newServiceNowServiceCatalogConfiguration smart constructor.

Constructors

ServiceNowServiceCatalogConfiguration' 

Fields

  • crawlAttachments :: Maybe Bool

    TRUE to index attachments to service catalog items.

  • 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 catalogs 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 file name of the attachment.

  • fieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)

    Maps attributes or field names of catalogs 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.

  • includeAttachmentFilePatterns :: Maybe [Text]

    A list of regular expression patterns to include certain attachments of catalogs 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 file name of the attachment.

  • 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 ServiceNowServiceCatalogConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowServiceCatalogConfiguration

ToJSON ServiceNowServiceCatalogConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowServiceCatalogConfiguration

Generic ServiceNowServiceCatalogConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowServiceCatalogConfiguration

Read ServiceNowServiceCatalogConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowServiceCatalogConfiguration

Show ServiceNowServiceCatalogConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowServiceCatalogConfiguration

NFData ServiceNowServiceCatalogConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowServiceCatalogConfiguration

Eq ServiceNowServiceCatalogConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowServiceCatalogConfiguration

Hashable ServiceNowServiceCatalogConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowServiceCatalogConfiguration

type Rep ServiceNowServiceCatalogConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ServiceNowServiceCatalogConfiguration

type Rep ServiceNowServiceCatalogConfiguration = D1 ('MetaData "ServiceNowServiceCatalogConfiguration" "Amazonka.Kendra.Types.ServiceNowServiceCatalogConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "ServiceNowServiceCatalogConfiguration'" '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 "includeAttachmentFilePatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "documentDataFieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newServiceNowServiceCatalogConfiguration Source #

Create a value of ServiceNowServiceCatalogConfiguration 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:ServiceNowServiceCatalogConfiguration', serviceNowServiceCatalogConfiguration_crawlAttachments - TRUE to index attachments to service catalog items.

$sel:documentTitleFieldName:ServiceNowServiceCatalogConfiguration', serviceNowServiceCatalogConfiguration_documentTitleFieldName - The name of the ServiceNow field that is mapped to the index document title field.

$sel:excludeAttachmentFilePatterns:ServiceNowServiceCatalogConfiguration', serviceNowServiceCatalogConfiguration_excludeAttachmentFilePatterns - A list of regular expression patterns to exclude certain attachments of catalogs 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 file name of the attachment.

$sel:fieldMappings:ServiceNowServiceCatalogConfiguration', serviceNowServiceCatalogConfiguration_fieldMappings - Maps attributes or field names of catalogs 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:includeAttachmentFilePatterns:ServiceNowServiceCatalogConfiguration', serviceNowServiceCatalogConfiguration_includeAttachmentFilePatterns - A list of regular expression patterns to include certain attachments of catalogs 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 file name of the attachment.

$sel:documentDataFieldName:ServiceNowServiceCatalogConfiguration', serviceNowServiceCatalogConfiguration_documentDataFieldName - The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.

serviceNowServiceCatalogConfiguration_documentTitleFieldName :: Lens' ServiceNowServiceCatalogConfiguration (Maybe Text) Source #

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

serviceNowServiceCatalogConfiguration_excludeAttachmentFilePatterns :: Lens' ServiceNowServiceCatalogConfiguration (Maybe [Text]) Source #

A list of regular expression patterns to exclude certain attachments of catalogs 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 file name of the attachment.

serviceNowServiceCatalogConfiguration_fieldMappings :: Lens' ServiceNowServiceCatalogConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #

Maps attributes or field names of catalogs 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.

serviceNowServiceCatalogConfiguration_includeAttachmentFilePatterns :: Lens' ServiceNowServiceCatalogConfiguration (Maybe [Text]) Source #

A list of regular expression patterns to include certain attachments of catalogs 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 file name of the attachment.

serviceNowServiceCatalogConfiguration_documentDataFieldName :: Lens' ServiceNowServiceCatalogConfiguration Text Source #

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