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

Description

 
Synopsis

Documentation

data SalesforceConfiguration Source #

Provides the configuration information to connect to Salesforce as your data source.

See: newSalesforceConfiguration smart constructor.

Constructors

SalesforceConfiguration' 

Fields

  • chatterFeedConfiguration :: Maybe SalesforceChatterFeedConfiguration

    Configuration information for Salesforce chatter feeds.

  • crawlAttachments :: Maybe Bool

    Indicates whether Amazon Kendra should index attachments to Salesforce objects.

  • excludeAttachmentFilePatterns :: Maybe [Text]

    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.

  • includeAttachmentFilePatterns :: Maybe [Text]

    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.

  • knowledgeArticleConfiguration :: Maybe SalesforceKnowledgeArticleConfiguration

    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.

  • standardObjectAttachmentConfiguration :: Maybe SalesforceStandardObjectAttachmentConfiguration

    Configuration information for processing attachments to Salesforce standard objects.

  • standardObjectConfigurations :: Maybe (NonEmpty SalesforceStandardObjectConfiguration)

    Configuration of the Salesforce standard objects that Amazon Kendra indexes.

  • serverUrl :: Text

    The instance URL for the Salesforce site that you want to index.

  • secretArn :: Text

    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.

Instances

Instances details
FromJSON SalesforceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SalesforceConfiguration

ToJSON SalesforceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SalesforceConfiguration

Generic SalesforceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SalesforceConfiguration

Associated Types

type Rep SalesforceConfiguration :: Type -> Type #

Read SalesforceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SalesforceConfiguration

Show SalesforceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SalesforceConfiguration

NFData SalesforceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SalesforceConfiguration

Methods

rnf :: SalesforceConfiguration -> () #

Eq SalesforceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SalesforceConfiguration

Hashable SalesforceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SalesforceConfiguration

type Rep SalesforceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SalesforceConfiguration

type Rep SalesforceConfiguration = D1 ('MetaData "SalesforceConfiguration" "Amazonka.Kendra.Types.SalesforceConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "SalesforceConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "chatterFeedConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SalesforceChatterFeedConfiguration)) :*: S1 ('MetaSel ('Just "crawlAttachments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "excludeAttachmentFilePatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "includeAttachmentFilePatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "knowledgeArticleConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SalesforceKnowledgeArticleConfiguration)) :*: S1 ('MetaSel ('Just "standardObjectAttachmentConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SalesforceStandardObjectAttachmentConfiguration))) :*: (S1 ('MetaSel ('Just "standardObjectConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty SalesforceStandardObjectConfiguration))) :*: (S1 ('MetaSel ('Just "serverUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newSalesforceConfiguration Source #

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