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 SalesforceConfiguration = SalesforceConfiguration' {
- chatterFeedConfiguration :: Maybe SalesforceChatterFeedConfiguration
- crawlAttachments :: Maybe Bool
- excludeAttachmentFilePatterns :: Maybe [Text]
- includeAttachmentFilePatterns :: Maybe [Text]
- knowledgeArticleConfiguration :: Maybe SalesforceKnowledgeArticleConfiguration
- standardObjectAttachmentConfiguration :: Maybe SalesforceStandardObjectAttachmentConfiguration
- standardObjectConfigurations :: Maybe (NonEmpty SalesforceStandardObjectConfiguration)
- serverUrl :: Text
- secretArn :: Text
- newSalesforceConfiguration :: Text -> Text -> SalesforceConfiguration
- salesforceConfiguration_chatterFeedConfiguration :: Lens' SalesforceConfiguration (Maybe SalesforceChatterFeedConfiguration)
- salesforceConfiguration_crawlAttachments :: Lens' SalesforceConfiguration (Maybe Bool)
- salesforceConfiguration_excludeAttachmentFilePatterns :: Lens' SalesforceConfiguration (Maybe [Text])
- salesforceConfiguration_includeAttachmentFilePatterns :: Lens' SalesforceConfiguration (Maybe [Text])
- salesforceConfiguration_knowledgeArticleConfiguration :: Lens' SalesforceConfiguration (Maybe SalesforceKnowledgeArticleConfiguration)
- salesforceConfiguration_standardObjectAttachmentConfiguration :: Lens' SalesforceConfiguration (Maybe SalesforceStandardObjectAttachmentConfiguration)
- salesforceConfiguration_standardObjectConfigurations :: Lens' SalesforceConfiguration (Maybe (NonEmpty SalesforceStandardObjectConfiguration))
- salesforceConfiguration_serverUrl :: Lens' SalesforceConfiguration Text
- salesforceConfiguration_secretArn :: Lens' SalesforceConfiguration Text
Documentation
data SalesforceConfiguration Source #
Provides the configuration information to connect to Salesforce as your data source.
See: newSalesforceConfiguration
smart constructor.
SalesforceConfiguration' | |
|
Instances
newSalesforceConfiguration Source #
:: Text | |
-> Text | |
-> SalesforceConfiguration |
Create a value of SalesforceConfiguration
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:chatterFeedConfiguration:SalesforceConfiguration'
, salesforceConfiguration_chatterFeedConfiguration
- Configuration information for Salesforce chatter feeds.
$sel:crawlAttachments:SalesforceConfiguration'
, salesforceConfiguration_crawlAttachments
- Indicates whether Amazon Kendra should index attachments to Salesforce
objects.
$sel:excludeAttachmentFilePatterns:SalesforceConfiguration'
, salesforceConfiguration_excludeAttachmentFilePatterns
- A list of regular expression patterns to exclude certain documents in
your Salesforce. Documents that match the patterns are excluded from the
index. Documents that don't match the patterns are included in the
index. If a document matches both an inclusion and exclusion pattern,
the exclusion pattern takes precedence and the document isn't included
in the index.
The pattern is applied to the name of the attached file.
$sel:includeAttachmentFilePatterns:SalesforceConfiguration'
, salesforceConfiguration_includeAttachmentFilePatterns
- A list of regular expression patterns to include certain documents in
your Salesforce. Documents that match the patterns are included in the
index. Documents that don't match the patterns are excluded from the
index. If a document matches both an inclusion and exclusion pattern,
the exclusion pattern takes precedence and the document isn't included
in the index.
The pattern is applied to the name of the attached file.
$sel:knowledgeArticleConfiguration:SalesforceConfiguration'
, salesforceConfiguration_knowledgeArticleConfiguration
- Configuration information for the knowledge article types that Amazon
Kendra indexes. Amazon Kendra indexes standard knowledge articles and
the standard fields of knowledge articles, or the custom fields of
custom knowledge articles, but not both.
$sel:standardObjectAttachmentConfiguration:SalesforceConfiguration'
, salesforceConfiguration_standardObjectAttachmentConfiguration
- Configuration information for processing attachments to Salesforce
standard objects.
$sel:standardObjectConfigurations:SalesforceConfiguration'
, salesforceConfiguration_standardObjectConfigurations
- Configuration of the Salesforce standard objects that Amazon Kendra
indexes.
$sel:serverUrl:SalesforceConfiguration'
, salesforceConfiguration_serverUrl
- The instance URL for the Salesforce site that you want to index.
$sel:secretArn:SalesforceConfiguration'
, salesforceConfiguration_secretArn
- The Amazon Resource Name (ARN) of an Secrets Managersecret that contains
the key/value pairs required to connect to your Salesforce instance.
The secret must contain a JSON structure with the following keys:
- authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an OAUTH token.
- consumerKey - The application public key generated when you created your Salesforce application.
- consumerSecret - The application private key generated when you created your Salesforce application.
- password - The password associated with the user logging in to the Salesforce instance.
- securityToken - The token associated with the user account logging in to the Salesforce instance.
- username - The user name of the user logging in to the Salesforce instance.
salesforceConfiguration_chatterFeedConfiguration :: Lens' SalesforceConfiguration (Maybe SalesforceChatterFeedConfiguration) Source #
Configuration information for Salesforce chatter feeds.
salesforceConfiguration_crawlAttachments :: Lens' SalesforceConfiguration (Maybe Bool) Source #
Indicates whether Amazon Kendra should index attachments to Salesforce objects.
salesforceConfiguration_excludeAttachmentFilePatterns :: Lens' SalesforceConfiguration (Maybe [Text]) Source #
A list of regular expression patterns to exclude certain documents in your Salesforce. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The pattern is applied to the name of the attached file.
salesforceConfiguration_includeAttachmentFilePatterns :: Lens' SalesforceConfiguration (Maybe [Text]) Source #
A list of regular expression patterns to include certain documents in your Salesforce. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The pattern is applied to the name of the attached file.
salesforceConfiguration_knowledgeArticleConfiguration :: Lens' SalesforceConfiguration (Maybe SalesforceKnowledgeArticleConfiguration) Source #
Configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both.
salesforceConfiguration_standardObjectAttachmentConfiguration :: Lens' SalesforceConfiguration (Maybe SalesforceStandardObjectAttachmentConfiguration) Source #
Configuration information for processing attachments to Salesforce standard objects.
salesforceConfiguration_standardObjectConfigurations :: Lens' SalesforceConfiguration (Maybe (NonEmpty SalesforceStandardObjectConfiguration)) Source #
Configuration of the Salesforce standard objects that Amazon Kendra indexes.
salesforceConfiguration_serverUrl :: Lens' SalesforceConfiguration Text Source #
The instance URL for the Salesforce site that you want to index.
salesforceConfiguration_secretArn :: Lens' SalesforceConfiguration Text Source #
The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the key/value pairs required to connect to your Salesforce instance. The secret must contain a JSON structure with the following keys:
- authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an OAUTH token.
- consumerKey - The application public key generated when you created your Salesforce application.
- consumerSecret - The application private key generated when you created your Salesforce application.
- password - The password associated with the user logging in to the Salesforce instance.
- securityToken - The token associated with the user account logging in to the Salesforce instance.
- username - The user name of the user logging in to the Salesforce instance.