Struct rusoto_kendra::SalesforceConfiguration [−][src]
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>>, }
Expand description
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 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.
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
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SalesforceConfiguration
impl Send for SalesforceConfiguration
impl Sync for SalesforceConfiguration
impl Unpin for SalesforceConfiguration
impl UnwindSafe for SalesforceConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self