Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data SharePointConfiguration = SharePointConfiguration' {
- authenticationType :: Maybe SharePointOnlineAuthenticationType
- crawlAttachments :: Maybe Bool
- disableLocalGroups :: Maybe Bool
- documentTitleFieldName :: Maybe Text
- exclusionPatterns :: Maybe [Text]
- fieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)
- inclusionPatterns :: Maybe [Text]
- proxyConfiguration :: Maybe ProxyConfiguration
- sslCertificateS3Path :: Maybe S3Path
- useChangeLog :: Maybe Bool
- vpcConfiguration :: Maybe DataSourceVpcConfiguration
- sharePointVersion :: SharePointVersion
- urls :: NonEmpty Text
- secretArn :: Text
- newSharePointConfiguration :: SharePointVersion -> NonEmpty Text -> Text -> SharePointConfiguration
- sharePointConfiguration_authenticationType :: Lens' SharePointConfiguration (Maybe SharePointOnlineAuthenticationType)
- sharePointConfiguration_crawlAttachments :: Lens' SharePointConfiguration (Maybe Bool)
- sharePointConfiguration_disableLocalGroups :: Lens' SharePointConfiguration (Maybe Bool)
- sharePointConfiguration_documentTitleFieldName :: Lens' SharePointConfiguration (Maybe Text)
- sharePointConfiguration_exclusionPatterns :: Lens' SharePointConfiguration (Maybe [Text])
- sharePointConfiguration_fieldMappings :: Lens' SharePointConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- sharePointConfiguration_inclusionPatterns :: Lens' SharePointConfiguration (Maybe [Text])
- sharePointConfiguration_proxyConfiguration :: Lens' SharePointConfiguration (Maybe ProxyConfiguration)
- sharePointConfiguration_sslCertificateS3Path :: Lens' SharePointConfiguration (Maybe S3Path)
- sharePointConfiguration_useChangeLog :: Lens' SharePointConfiguration (Maybe Bool)
- sharePointConfiguration_vpcConfiguration :: Lens' SharePointConfiguration (Maybe DataSourceVpcConfiguration)
- sharePointConfiguration_sharePointVersion :: Lens' SharePointConfiguration SharePointVersion
- sharePointConfiguration_urls :: Lens' SharePointConfiguration (NonEmpty Text)
- sharePointConfiguration_secretArn :: Lens' SharePointConfiguration Text
Documentation
data SharePointConfiguration Source #
Provides the configuration information to connect to Microsoft SharePoint as your data source.
See: newSharePointConfiguration
smart constructor.
SharePointConfiguration' | |
|
Instances
newSharePointConfiguration Source #
Create a value of SharePointConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:authenticationType:SharePointConfiguration'
, sharePointConfiguration_authenticationType
- Whether you want to connect to SharePoint using basic authentication of
user name and password, or OAuth authentication of user name, password,
client ID, and client secret. You can use OAuth authentication for
SharePoint Online.
$sel:crawlAttachments:SharePointConfiguration'
, sharePointConfiguration_crawlAttachments
- TRUE
to index document attachments.
$sel:disableLocalGroups:SharePointConfiguration'
, sharePointConfiguration_disableLocalGroups
- TRUE
to disable local groups information.
$sel:documentTitleFieldName:SharePointConfiguration'
, sharePointConfiguration_documentTitleFieldName
- The Microsoft SharePoint attribute field that contains the title of the
document.
$sel:exclusionPatterns:SharePointConfiguration'
, sharePointConfiguration_exclusionPatterns
- 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.
$sel:fieldMappings:SharePointConfiguration'
, sharePointConfiguration_fieldMappings
- 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.
$sel:inclusionPatterns:SharePointConfiguration'
, sharePointConfiguration_inclusionPatterns
- 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.
$sel:proxyConfiguration:SharePointConfiguration'
, sharePointConfiguration_proxyConfiguration
- 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.
$sel:sslCertificateS3Path:SharePointConfiguration'
, sharePointConfiguration_sslCertificateS3Path
- 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 simply 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.
$sel:useChangeLog:SharePointConfiguration'
, sharePointConfiguration_useChangeLog
- 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.
$sel:vpcConfiguration:SharePointConfiguration'
, sharePointConfiguration_vpcConfiguration
- Configuration information for an Amazon Virtual Private Cloud to connect
to your Microsoft SharePoint. For more information, see
Configuring a VPC.
$sel:sharePointVersion:SharePointConfiguration'
, sharePointConfiguration_sharePointVersion
- The version of Microsoft SharePoint that you use.
$sel:urls:SharePointConfiguration'
, sharePointConfiguration_urls
- The Microsoft SharePoint site URLs for the documents you want to index.
$sel:secretArn:SharePointConfiguration'
, sharePointConfiguration_secretArn
- The Amazon Resource Name (ARN) of an Secrets Manager secret that
contains the user name and password required to connect to the
SharePoint instance. If you use SharePoint Server, you also need to
provide the sever domain name as part of the credentials. For more
information, see
Using a Microsoft SharePoint Data Source.
You can also provide OAuth authentication credentials of user name, password, client ID, and client secret. For more information, see Using a SharePoint data source.
sharePointConfiguration_authenticationType :: Lens' SharePointConfiguration (Maybe SharePointOnlineAuthenticationType) Source #
Whether you want to connect to SharePoint using basic authentication of user name and password, or OAuth authentication of user name, password, client ID, and client secret. You can use OAuth authentication for SharePoint Online.
sharePointConfiguration_crawlAttachments :: Lens' SharePointConfiguration (Maybe Bool) Source #
TRUE
to index document attachments.
sharePointConfiguration_disableLocalGroups :: Lens' SharePointConfiguration (Maybe Bool) Source #
TRUE
to disable local groups information.
sharePointConfiguration_documentTitleFieldName :: Lens' SharePointConfiguration (Maybe Text) Source #
The Microsoft SharePoint attribute field that contains the title of the document.
sharePointConfiguration_exclusionPatterns :: Lens' SharePointConfiguration (Maybe [Text]) Source #
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.
sharePointConfiguration_fieldMappings :: Lens' SharePointConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #
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.
sharePointConfiguration_inclusionPatterns :: Lens' SharePointConfiguration (Maybe [Text]) Source #
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.
sharePointConfiguration_proxyConfiguration :: Lens' SharePointConfiguration (Maybe ProxyConfiguration) Source #
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.
sharePointConfiguration_sslCertificateS3Path :: Lens' SharePointConfiguration (Maybe S3Path) Source #
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 simply 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.
sharePointConfiguration_useChangeLog :: Lens' SharePointConfiguration (Maybe Bool) Source #
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.
sharePointConfiguration_vpcConfiguration :: Lens' SharePointConfiguration (Maybe DataSourceVpcConfiguration) Source #
Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint. For more information, see Configuring a VPC.
sharePointConfiguration_sharePointVersion :: Lens' SharePointConfiguration SharePointVersion Source #
The version of Microsoft SharePoint that you use.
sharePointConfiguration_urls :: Lens' SharePointConfiguration (NonEmpty Text) Source #
The Microsoft SharePoint site URLs for the documents you want to index.
sharePointConfiguration_secretArn :: Lens' SharePointConfiguration Text Source #
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the user name and password required to connect to the SharePoint instance. If you use SharePoint Server, you also need to provide the sever domain name as part of the credentials. For more information, see Using a Microsoft SharePoint Data Source.
You can also provide OAuth authentication credentials of user name, password, client ID, and client secret. For more information, see Using a SharePoint data source.