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 BoxConfiguration = BoxConfiguration' {
- commentFieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)
- crawlComments :: Maybe Bool
- crawlTasks :: Maybe Bool
- crawlWebLinks :: Maybe Bool
- exclusionPatterns :: Maybe [Text]
- fileFieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)
- inclusionPatterns :: Maybe [Text]
- taskFieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)
- useChangeLog :: Maybe Bool
- vpcConfiguration :: Maybe DataSourceVpcConfiguration
- webLinkFieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)
- enterpriseId :: Text
- secretArn :: Text
- newBoxConfiguration :: Text -> Text -> BoxConfiguration
- boxConfiguration_commentFieldMappings :: Lens' BoxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- boxConfiguration_crawlComments :: Lens' BoxConfiguration (Maybe Bool)
- boxConfiguration_crawlTasks :: Lens' BoxConfiguration (Maybe Bool)
- boxConfiguration_crawlWebLinks :: Lens' BoxConfiguration (Maybe Bool)
- boxConfiguration_exclusionPatterns :: Lens' BoxConfiguration (Maybe [Text])
- boxConfiguration_fileFieldMappings :: Lens' BoxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- boxConfiguration_inclusionPatterns :: Lens' BoxConfiguration (Maybe [Text])
- boxConfiguration_taskFieldMappings :: Lens' BoxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- boxConfiguration_useChangeLog :: Lens' BoxConfiguration (Maybe Bool)
- boxConfiguration_vpcConfiguration :: Lens' BoxConfiguration (Maybe DataSourceVpcConfiguration)
- boxConfiguration_webLinkFieldMappings :: Lens' BoxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- boxConfiguration_enterpriseId :: Lens' BoxConfiguration Text
- boxConfiguration_secretArn :: Lens' BoxConfiguration Text
Documentation
data BoxConfiguration Source #
Provides the configuration information to connect to Box as your data source.
See: newBoxConfiguration
smart constructor.
BoxConfiguration' | |
|
Instances
:: Text | |
-> Text | |
-> BoxConfiguration |
Create a value of BoxConfiguration
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:commentFieldMappings:BoxConfiguration'
, boxConfiguration_commentFieldMappings
- A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Box comments to Amazon Kendra index field names. To
create custom fields, use the UpdateIndex
API before you map to Box
fields. For more information, see
Mapping data source fields.
The Box field names must exist in your Box custom metadata.
$sel:crawlComments:BoxConfiguration'
, boxConfiguration_crawlComments
- TRUE
to index comments.
$sel:crawlTasks:BoxConfiguration'
, boxConfiguration_crawlTasks
- TRUE
to index the contents of tasks.
$sel:crawlWebLinks:BoxConfiguration'
, boxConfiguration_crawlWebLinks
- TRUE
to index web links.
$sel:exclusionPatterns:BoxConfiguration'
, boxConfiguration_exclusionPatterns
- A list of regular expression patterns to exclude certain files and
folders from your Box platform. Files and folders that match the
patterns are excluded from the index.Files and folders that don't match
the patterns are included in the index. If a file or folder matches both
an inclusion and exclusion pattern, the exclusion pattern takes
precedence and the file or folder isn't included in the index.
$sel:fileFieldMappings:BoxConfiguration'
, boxConfiguration_fileFieldMappings
- A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Box files to Amazon Kendra index field names. To create
custom fields, use the UpdateIndex
API before you map to Box fields.
For more information, see
Mapping data source fields.
The Box field names must exist in your Box custom metadata.
$sel:inclusionPatterns:BoxConfiguration'
, boxConfiguration_inclusionPatterns
- A list of regular expression patterns to include certain files and
folders in your Box platform. Files and folders that match the patterns
are included in the index. Files and folders that don't match the
patterns are excluded from the index. If a file or folder matches both
an inclusion and exclusion pattern, the exclusion pattern takes
precedence and the file or folder isn't included in the index.
$sel:taskFieldMappings:BoxConfiguration'
, boxConfiguration_taskFieldMappings
- A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Box tasks to Amazon Kendra index field names. To create
custom fields, use the UpdateIndex
API before you map to Box fields.
For more information, see
Mapping data source fields.
The Box field names must exist in your Box custom metadata.
$sel:useChangeLog:BoxConfiguration'
, boxConfiguration_useChangeLog
- TRUE
to use the Slack change log to determine which documents require
updating in the index. Depending on the data source change log's size,
it may take longer for Amazon Kendra to use the change log than to scan
all of your documents.
$sel:vpcConfiguration:BoxConfiguration'
, boxConfiguration_vpcConfiguration
- Configuration information for an Amazon VPC to connect to your Box. For
more information, see
Configuring a VPC.
$sel:webLinkFieldMappings:BoxConfiguration'
, boxConfiguration_webLinkFieldMappings
- A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Box web links to Amazon Kendra index field names. To
create custom fields, use the UpdateIndex
API before you map to Box
fields. For more information, see
Mapping data source fields.
The Box field names must exist in your Box custom metadata.
$sel:enterpriseId:BoxConfiguration'
, boxConfiguration_enterpriseId
- The identifier of the Box Enterprise platform. You can find the
enterprise ID in the Box Developer Console settings or when you create
an app in Box and download your authentication credentials. For example,
801234567.
$sel:secretArn:BoxConfiguration'
, boxConfiguration_secretArn
- The Amazon Resource Name (ARN) of an Secrets Manager secret that
contains the key-value pairs required to connect to your Box platform.
The secret must contain a JSON structure with the following keys:
- clientID—The identifier of the client OAuth 2.0 authentication application created in Box.
- clientSecret—A set of characters known only to the OAuth 2.0 authentication application created in Box.
- publicKeyId—The identifier of the public key contained within an identity certificate.
- privateKey—A set of characters that make up an encryption key.
- passphrase—A set of characters that act like a password.
You create an application in Box to generate the keys or credentials required for the secret. For more information, see Using a Box data source.
boxConfiguration_commentFieldMappings :: Lens' BoxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #
A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Box comments to Amazon Kendra index field names. To
create custom fields, use the UpdateIndex
API before you map to Box
fields. For more information, see
Mapping data source fields.
The Box field names must exist in your Box custom metadata.
boxConfiguration_crawlComments :: Lens' BoxConfiguration (Maybe Bool) Source #
TRUE
to index comments.
boxConfiguration_crawlTasks :: Lens' BoxConfiguration (Maybe Bool) Source #
TRUE
to index the contents of tasks.
boxConfiguration_crawlWebLinks :: Lens' BoxConfiguration (Maybe Bool) Source #
TRUE
to index web links.
boxConfiguration_exclusionPatterns :: Lens' BoxConfiguration (Maybe [Text]) Source #
A list of regular expression patterns to exclude certain files and folders from your Box platform. Files and folders that match the patterns are excluded from the index.Files and folders that don't match the patterns are included in the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.
boxConfiguration_fileFieldMappings :: Lens' BoxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #
A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Box files to Amazon Kendra index field names. To create
custom fields, use the UpdateIndex
API before you map to Box fields.
For more information, see
Mapping data source fields.
The Box field names must exist in your Box custom metadata.
boxConfiguration_inclusionPatterns :: Lens' BoxConfiguration (Maybe [Text]) Source #
A list of regular expression patterns to include certain files and folders in your Box platform. Files and folders that match the patterns are included in the index. Files and folders that don't match the patterns are excluded from the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.
boxConfiguration_taskFieldMappings :: Lens' BoxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #
A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Box tasks to Amazon Kendra index field names. To create
custom fields, use the UpdateIndex
API before you map to Box fields.
For more information, see
Mapping data source fields.
The Box field names must exist in your Box custom metadata.
boxConfiguration_useChangeLog :: Lens' BoxConfiguration (Maybe Bool) Source #
TRUE
to use the Slack change log to determine which documents require
updating in the index. Depending on the data source change log's size,
it may take longer for Amazon Kendra to use the change log than to scan
all of your documents.
boxConfiguration_vpcConfiguration :: Lens' BoxConfiguration (Maybe DataSourceVpcConfiguration) Source #
Configuration information for an Amazon VPC to connect to your Box. For more information, see Configuring a VPC.
boxConfiguration_webLinkFieldMappings :: Lens' BoxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #
A list of DataSourceToIndexFieldMapping
objects that map attributes or
field names of Box web links to Amazon Kendra index field names. To
create custom fields, use the UpdateIndex
API before you map to Box
fields. For more information, see
Mapping data source fields.
The Box field names must exist in your Box custom metadata.
boxConfiguration_enterpriseId :: Lens' BoxConfiguration Text Source #
The identifier of the Box Enterprise platform. You can find the enterprise ID in the Box Developer Console settings or when you create an app in Box and download your authentication credentials. For example, 801234567.
boxConfiguration_secretArn :: Lens' BoxConfiguration Text Source #
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Box platform. The secret must contain a JSON structure with the following keys:
- clientID—The identifier of the client OAuth 2.0 authentication application created in Box.
- clientSecret—A set of characters known only to the OAuth 2.0 authentication application created in Box.
- publicKeyId—The identifier of the public key contained within an identity certificate.
- privateKey—A set of characters that make up an encryption key.
- passphrase—A set of characters that act like a password.
You create an application in Box to generate the keys or credentials required for the secret. For more information, see Using a Box data source.