Values.SharePointConfigurationSourceProvides the configuration information to connect to Microsoft SharePoint as your data source.
type nonrec t = {urls : SharePointUrlList.t;The Microsoft SharePoint site URLs for the documents you want to index.
*)secretArn : SecretArn.t;The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the user name and password required to connect to the SharePoint instance. For more information, see Microsoft SharePoint.
*)crawlAttachments : Boolean.t option;TRUE to index document attachments.
*)useChangeLog : Boolean.t option;TRUE to use the SharePoint change log to determine which documents require updating in the index. Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in SharePoint.
*)inclusionPatterns : DataSourceInclusionsExclusionsStrings.t option;A list of regular expression patterns to include certain documents in your SharePoint. 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 and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index. The regex applies to the display URL of the SharePoint document.
*)exclusionPatterns : DataSourceInclusionsExclusionsStrings.t option;A list of regular expression patterns to exclude certain documents in your SharePoint. 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 inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index. The regex applies to the display URL of the SharePoint document.
*)vpcConfiguration : DataSourceVpcConfiguration.t option;Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint. For more information, see Configuring a VPC.
*)fieldMappings : DataSourceToIndexFieldMappingList.t option;A list of DataSourceToIndexFieldMapping objects that map SharePoint data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to SharePoint fields. For more information, see Mapping data source fields. The SharePoint data source field names must exist in your SharePoint custom metadata.
*)documentTitleFieldName : DataSourceFieldName.t option;The Microsoft SharePoint attribute field that contains the title of the document.
*)disableLocalGroups : Boolean.t option;TRUE to disable local groups information.
*)sslCertificateS3Path : S3Path.t option;The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to SharePoint Server if you require a secure SSL connection. You can generate a self-signed X509 certificate on any computer using OpenSSL. For an example of using OpenSSL to create an X509 certificate, see Create and sign an X509 certificate.
*)authenticationType : SharePointOnlineAuthenticationType.t option;Whether you want to connect to SharePoint Online using basic authentication of user name and password, or OAuth authentication of user name, password, client ID, and client secret, or AD App-only authentication of client secret.
*)proxyConfiguration : ProxyConfiguration.t option;Configuration information to connect to your Microsoft SharePoint site URLs via instance via a web proxy. You can use this option for SharePoint Server. You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS. Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication of user name and password. To store web proxy credentials, you use a secret in Secrets Manager. It is recommended that you follow best security practices when configuring your web proxy. This includes setting up throttling, setting up logging and monitoring, and applying security patches on a regular basis. If you use your web proxy with multiple data sources, sync jobs that occur at the same time could strain the load on your proxy. It is recommended you prepare your proxy beforehand for any security and load requirements.
*)}val make :
?crawlAttachments:??? ->
?useChangeLog:??? ->
?inclusionPatterns:??? ->
?exclusionPatterns:??? ->
?vpcConfiguration:??? ->
?fieldMappings:??? ->
?documentTitleFieldName:??? ->
?disableLocalGroups:??? ->
?sslCertificateS3Path:??? ->
?authenticationType:??? ->
?proxyConfiguration:??? ->
sharePointVersion:SharePointVersion.t ->
urls:SharePointUrlList.t ->
secretArn:SecretArn.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `String of Url.t
| `Structure of
(string * [> `String of DataSourceFieldName.t ]) list ]
list
| `String of SecretArn.t
| `Structure of
(string
* [> `Integer of Port.t
| `List of [> `String of SubnetId.t ] list
| `String of S3BucketName.t ])
list ])
list ]