[][src]Struct rusoto_kendra::SalesforceConfiguration

pub struct SalesforceConfiguration {
    pub chatter_feed_configuration: Option<SalesforceChatterFeedConfiguration>,
    pub crawl_attachments: Option<bool>,
    pub exclude_attachment_file_patterns: Option<Vec<String>>,
    pub include_attachment_file_patterns: Option<Vec<String>>,
    pub knowledge_article_configuration: Option<SalesforceKnowledgeArticleConfiguration>,
    pub secret_arn: String,
    pub server_url: String,
    pub standard_object_attachment_configuration: Option<SalesforceStandardObjectAttachmentConfiguration>,
    pub standard_object_configurations: Option<Vec<SalesforceStandardObjectConfiguration>>,
}

Provides configuration information for connecting to a Salesforce data source.

Fields

chatter_feed_configuration: Option<SalesforceChatterFeedConfiguration>

Specifies configuration information for Salesforce chatter feeds.

crawl_attachments: Option<bool>

Indicates whether Amazon Kendra should index attachments to Salesforce objects.

exclude_attachment_file_patterns: Option<Vec<String>>

A list of regular expression patterns. 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 exclusion pattern and an inclusion pattern, the document is not included in the index.

The regex is applied to the name of the attached file.

include_attachment_file_patterns: Option<Vec<String>>

A list of regular expression patterns. 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 pattern and an exclusion pattern, the document is not included in the index.

The regex is applied to the name of the attached file.

knowledge_article_configuration: Option<SalesforceKnowledgeArticleConfiguration>

Specifies configuration information for the knowlege 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.

secret_arn: String

The Amazon Resource Name (ARN) of an AWS Secrets Manager secret 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.

server_url: String

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

standard_object_attachment_configuration: Option<SalesforceStandardObjectAttachmentConfiguration>

Provides configuration information for processing attachments to Salesforce standard objects.

standard_object_configurations: Option<Vec<SalesforceStandardObjectConfiguration>>

Specifies the Salesforce standard objects that Amazon Kendra indexes.

Trait Implementations

impl Clone for SalesforceConfiguration[src]

impl Debug for SalesforceConfiguration[src]

impl Default for SalesforceConfiguration[src]

impl<'de> Deserialize<'de> for SalesforceConfiguration[src]

impl PartialEq<SalesforceConfiguration> for SalesforceConfiguration[src]

impl Serialize for SalesforceConfiguration[src]

impl StructuralPartialEq for SalesforceConfiguration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.