Struct rusoto_kendra::SalesforceConfiguration
source · [−]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
sourceimpl Clone for SalesforceConfiguration
impl Clone for SalesforceConfiguration
sourcefn clone(&self) -> SalesforceConfiguration
fn clone(&self) -> SalesforceConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SalesforceConfiguration
impl Debug for SalesforceConfiguration
sourceimpl Default for SalesforceConfiguration
impl Default for SalesforceConfiguration
sourcefn default() -> SalesforceConfiguration
fn default() -> SalesforceConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SalesforceConfiguration
impl<'de> Deserialize<'de> for SalesforceConfiguration
sourcefn 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
sourceimpl PartialEq<SalesforceConfiguration> for SalesforceConfiguration
impl PartialEq<SalesforceConfiguration> for SalesforceConfiguration
sourcefn eq(&self, other: &SalesforceConfiguration) -> bool
fn eq(&self, other: &SalesforceConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SalesforceConfiguration) -> bool
fn ne(&self, other: &SalesforceConfiguration) -> bool
This method tests for !=
.
sourceimpl Serialize for SalesforceConfiguration
impl Serialize for SalesforceConfiguration
impl StructuralPartialEq for SalesforceConfiguration
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more