[][src]Struct rusoto_kendra::SharePointConfiguration

pub struct SharePointConfiguration {
    pub crawl_attachments: 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 urls: Vec<String>,
    pub use_change_log: Option<bool>,
    pub vpc_configuration: Option<DataSourceVpcConfiguration>,
}

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.

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

share_point_version: String

The version of Microsoft SharePoint that you are using as a data source.

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

impl Clone for SharePointConfiguration[src]

impl Debug for SharePointConfiguration[src]

impl Default for SharePointConfiguration[src]

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

impl PartialEq<SharePointConfiguration> for SharePointConfiguration[src]

impl Serialize for SharePointConfiguration[src]

impl StructuralPartialEq for SharePointConfiguration[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.