Struct rusoto_kendra::SharePointConfiguration
source · [−]pub struct SharePointConfiguration {
pub crawl_attachments: Option<bool>,
pub disable_local_groups: Option<bool>,
pub document_title_field_name: Option<String>,
pub exclusion_patterns: Option<Vec<String>>,
pub field_mappings: Option<Vec<DataSourceToIndexFieldMapping>>,
pub inclusion_patterns: Option<Vec<String>>,
pub secret_arn: String,
pub share_point_version: String,
pub ssl_certificate_s3_path: Option<S3Path>,
pub urls: Vec<String>,
pub use_change_log: Option<bool>,
pub vpc_configuration: Option<DataSourceVpcConfiguration>,
}
Expand description
Provides configuration information for connecting to a Microsoft SharePoint data source.
Fields
crawl_attachments: Option<bool>
TRUE
to include attachments to documents stored in your Microsoft SharePoint site in the index; otherwise, FALSE
.
disable_local_groups: Option<bool>
A Boolean value that specifies whether local groups are disabled (True
) or enabled (False
).
document_title_field_name: Option<String>
The Microsoft SharePoint attribute field that contains the title of the document.
exclusion_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 display URL of the SharePoint document.
field_mappings: Option<Vec<DataSourceToIndexFieldMapping>>
A list of DataSourceToIndexFieldMapping
objects that map Microsoft SharePoint attributes to custom fields in the Amazon Kendra index. You must first create the index fields using the UpdateIndex
operation before you map SharePoint attributes. For more information, see Mapping Data Source Fields.
inclusion_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 display URL of the SharePoint document.
secret_arn: String
The Amazon Resource Name (ARN) of credentials stored in AWS Secrets Manager. The credentials should be a user/password pair. If you use SharePoint Sever, you also need to provide the sever domain name as part of the credentials. For more information, see Using a Microsoft SharePoint Data Source. For more information about AWS Secrets Manager, see What Is AWS Secrets Manager in the AWS Secrets Manager user guide.
The version of Microsoft SharePoint that you are using as a data source.
ssl_certificate_s3_path: Option<S3Path>
urls: Vec<String>
The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.
use_change_log: Option<bool>
Set to TRUE
to use the Microsoft SharePoint change log to determine the documents that need to be updated in the index. Depending on the size of the SharePoint change log, it may take longer for Amazon Kendra to use the change log than it takes it to determine the changed documents using the Amazon Kendra document crawler.
vpc_configuration: Option<DataSourceVpcConfiguration>
Trait Implementations
sourceimpl Clone for SharePointConfiguration
impl Clone for SharePointConfiguration
sourcefn clone(&self) -> SharePointConfiguration
fn clone(&self) -> SharePointConfiguration
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 SharePointConfiguration
impl Debug for SharePointConfiguration
sourceimpl Default for SharePointConfiguration
impl Default for SharePointConfiguration
sourcefn default() -> SharePointConfiguration
fn default() -> SharePointConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SharePointConfiguration
impl<'de> Deserialize<'de> for SharePointConfiguration
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
sourcefn eq(&self, other: &SharePointConfiguration) -> bool
fn eq(&self, other: &SharePointConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SharePointConfiguration) -> bool
fn ne(&self, other: &SharePointConfiguration) -> bool
This method tests for !=
.
sourceimpl Serialize for SharePointConfiguration
impl Serialize for SharePointConfiguration
impl StructuralPartialEq for SharePointConfiguration
Auto Trait Implementations
impl RefUnwindSafe for SharePointConfiguration
impl Send for SharePointConfiguration
impl Sync for SharePointConfiguration
impl Unpin for SharePointConfiguration
impl UnwindSafe for SharePointConfiguration
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