amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.Types.SharePointConfiguration

Description

 
Synopsis

Documentation

data SharePointConfiguration Source #

Provides the configuration information to connect to Microsoft SharePoint as your data source.

See: newSharePointConfiguration smart constructor.

Constructors

SharePointConfiguration' 

Fields

  • authenticationType :: Maybe SharePointOnlineAuthenticationType

    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.

  • crawlAttachments :: Maybe Bool

    TRUE to index document attachments.

  • disableLocalGroups :: Maybe Bool

    TRUE to disable local groups information.

  • documentTitleFieldName :: Maybe Text

    The Microsoft SharePoint attribute field that contains the title of the document.

  • exclusionPatterns :: Maybe [Text]

    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.

  • fieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)

    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.

  • inclusionPatterns :: Maybe [Text]

    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.

  • proxyConfiguration :: Maybe 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.

  • sslCertificateS3Path :: Maybe S3Path

    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.

  • useChangeLog :: Maybe Bool

    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.

  • vpcConfiguration :: Maybe DataSourceVpcConfiguration

    Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint. For more information, see Configuring a VPC.

  • sharePointVersion :: SharePointVersion

    The version of Microsoft SharePoint that you use.

  • urls :: NonEmpty Text

    The Microsoft SharePoint site URLs for the documents you want to index.

  • secretArn :: Text

    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.

Instances

Instances details
FromJSON SharePointConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SharePointConfiguration

ToJSON SharePointConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SharePointConfiguration

Generic SharePointConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SharePointConfiguration

Associated Types

type Rep SharePointConfiguration :: Type -> Type #

Read SharePointConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SharePointConfiguration

Show SharePointConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SharePointConfiguration

NFData SharePointConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SharePointConfiguration

Methods

rnf :: SharePointConfiguration -> () #

Eq SharePointConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SharePointConfiguration

Hashable SharePointConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SharePointConfiguration

type Rep SharePointConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.SharePointConfiguration

type Rep SharePointConfiguration = D1 ('MetaData "SharePointConfiguration" "Amazonka.Kendra.Types.SharePointConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "SharePointConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "authenticationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SharePointOnlineAuthenticationType)) :*: (S1 ('MetaSel ('Just "crawlAttachments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "disableLocalGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "documentTitleFieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "exclusionPatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "fieldMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DataSourceToIndexFieldMapping))) :*: S1 ('MetaSel ('Just "inclusionPatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))) :*: ((S1 ('MetaSel ('Just "proxyConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProxyConfiguration)) :*: (S1 ('MetaSel ('Just "sslCertificateS3Path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Path)) :*: S1 ('MetaSel ('Just "useChangeLog") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "vpcConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSourceVpcConfiguration)) :*: S1 ('MetaSel ('Just "sharePointVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SharePointVersion)) :*: (S1 ('MetaSel ('Just "urls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)) :*: S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

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