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

share_point_version: String

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more