Struct rusoto_kendra::SharePointConfiguration [−][src]
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
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 SharePointConfiguration
impl Send for SharePointConfiguration
impl Sync for SharePointConfiguration
impl Unpin for SharePointConfiguration
impl UnwindSafe for SharePointConfiguration
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