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 SalesforceStandardKnowledgeArticleTypeConfiguration = SalesforceStandardKnowledgeArticleTypeConfiguration' {}
- newSalesforceStandardKnowledgeArticleTypeConfiguration :: Text -> SalesforceStandardKnowledgeArticleTypeConfiguration
- salesforceStandardKnowledgeArticleTypeConfiguration_documentTitleFieldName :: Lens' SalesforceStandardKnowledgeArticleTypeConfiguration (Maybe Text)
- salesforceStandardKnowledgeArticleTypeConfiguration_fieldMappings :: Lens' SalesforceStandardKnowledgeArticleTypeConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- salesforceStandardKnowledgeArticleTypeConfiguration_documentDataFieldName :: Lens' SalesforceStandardKnowledgeArticleTypeConfiguration Text
Documentation
data SalesforceStandardKnowledgeArticleTypeConfiguration Source #
Provides the configuration information for standard Salesforce knowledge articles.
See: newSalesforceStandardKnowledgeArticleTypeConfiguration
smart constructor.
SalesforceStandardKnowledgeArticleTypeConfiguration' | |
|
Instances
newSalesforceStandardKnowledgeArticleTypeConfiguration Source #
:: Text |
|
-> SalesforceStandardKnowledgeArticleTypeConfiguration |
Create a value of SalesforceStandardKnowledgeArticleTypeConfiguration
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:documentTitleFieldName:SalesforceStandardKnowledgeArticleTypeConfiguration'
, salesforceStandardKnowledgeArticleTypeConfiguration_documentTitleFieldName
- The name of the field that contains the document title.
$sel:fieldMappings:SalesforceStandardKnowledgeArticleTypeConfiguration'
, salesforceStandardKnowledgeArticleTypeConfiguration_fieldMappings
- Maps attributes or field names of the knowledge article to Amazon Kendra
index field names. To create custom fields, use the UpdateIndex
API
before you map to Salesforce fields. For more information, see
Mapping data source fields.
The Salesforce data source field names must exist in your Salesforce
custom metadata.
$sel:documentDataFieldName:SalesforceStandardKnowledgeArticleTypeConfiguration'
, salesforceStandardKnowledgeArticleTypeConfiguration_documentDataFieldName
- The name of the field that contains the document data to index.
salesforceStandardKnowledgeArticleTypeConfiguration_documentTitleFieldName :: Lens' SalesforceStandardKnowledgeArticleTypeConfiguration (Maybe Text) Source #
The name of the field that contains the document title.
salesforceStandardKnowledgeArticleTypeConfiguration_fieldMappings :: Lens' SalesforceStandardKnowledgeArticleTypeConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #
Maps attributes or field names of the knowledge article to Amazon Kendra
index field names. To create custom fields, use the UpdateIndex
API
before you map to Salesforce fields. For more information, see
Mapping data source fields.
The Salesforce data source field names must exist in your Salesforce
custom metadata.
salesforceStandardKnowledgeArticleTypeConfiguration_documentDataFieldName :: Lens' SalesforceStandardKnowledgeArticleTypeConfiguration Text Source #
The name of the field that contains the document data to index.