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 OneDriveConfiguration = OneDriveConfiguration' {}
- newOneDriveConfiguration :: Text -> Text -> OneDriveUsers -> OneDriveConfiguration
- oneDriveConfiguration_disableLocalGroups :: Lens' OneDriveConfiguration (Maybe Bool)
- oneDriveConfiguration_exclusionPatterns :: Lens' OneDriveConfiguration (Maybe [Text])
- oneDriveConfiguration_fieldMappings :: Lens' OneDriveConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- oneDriveConfiguration_inclusionPatterns :: Lens' OneDriveConfiguration (Maybe [Text])
- oneDriveConfiguration_tenantDomain :: Lens' OneDriveConfiguration Text
- oneDriveConfiguration_secretArn :: Lens' OneDriveConfiguration Text
- oneDriveConfiguration_oneDriveUsers :: Lens' OneDriveConfiguration OneDriveUsers
Documentation
data OneDriveConfiguration Source #
Provides the configuration information to connect to OneDrive as your data source.
See: newOneDriveConfiguration
smart constructor.
OneDriveConfiguration' | |
|
Instances
newOneDriveConfiguration Source #
:: Text | |
-> Text | |
-> OneDriveUsers | |
-> OneDriveConfiguration |
Create a value of OneDriveConfiguration
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:disableLocalGroups:OneDriveConfiguration'
, oneDriveConfiguration_disableLocalGroups
- TRUE
to disable local groups information.
$sel:exclusionPatterns:OneDriveConfiguration'
, oneDriveConfiguration_exclusionPatterns
- A list of regular expression patterns to exclude certain documents in
your OneDrive. 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 pattern is applied to the file name.
$sel:fieldMappings:OneDriveConfiguration'
, oneDriveConfiguration_fieldMappings
- A list of DataSourceToIndexFieldMapping
objects that map OneDrive data
source attributes or field names to Amazon Kendra index field names. To
create custom fields, use the UpdateIndex
API before you map to
OneDrive fields. For more information, see
Mapping data source fields.
The OneDrive data source field names must exist in your OneDrive custom
metadata.
$sel:inclusionPatterns:OneDriveConfiguration'
, oneDriveConfiguration_inclusionPatterns
- A list of regular expression patterns to include certain documents in
your OneDrive. 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 pattern is applied to the file name.
$sel:tenantDomain:OneDriveConfiguration'
, oneDriveConfiguration_tenantDomain
- The Azure Active Directory domain of the organization.
$sel:secretArn:OneDriveConfiguration'
, oneDriveConfiguration_secretArn
- The Amazon Resource Name (ARN) of an Secrets Managersecret that contains
the user name and password to connect to OneDrive. The user namd should
be the application ID for the OneDrive application, and the password is
the application key for the OneDrive application.
$sel:oneDriveUsers:OneDriveConfiguration'
, oneDriveConfiguration_oneDriveUsers
- A list of user accounts whose documents should be indexed.
oneDriveConfiguration_disableLocalGroups :: Lens' OneDriveConfiguration (Maybe Bool) Source #
TRUE
to disable local groups information.
oneDriveConfiguration_exclusionPatterns :: Lens' OneDriveConfiguration (Maybe [Text]) Source #
A list of regular expression patterns to exclude certain documents in your OneDrive. 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 pattern is applied to the file name.
oneDriveConfiguration_fieldMappings :: Lens' OneDriveConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #
A list of DataSourceToIndexFieldMapping
objects that map OneDrive data
source attributes or field names to Amazon Kendra index field names. To
create custom fields, use the UpdateIndex
API before you map to
OneDrive fields. For more information, see
Mapping data source fields.
The OneDrive data source field names must exist in your OneDrive custom
metadata.
oneDriveConfiguration_inclusionPatterns :: Lens' OneDriveConfiguration (Maybe [Text]) Source #
A list of regular expression patterns to include certain documents in your OneDrive. 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 pattern is applied to the file name.
oneDriveConfiguration_tenantDomain :: Lens' OneDriveConfiguration Text Source #
The Azure Active Directory domain of the organization.
oneDriveConfiguration_secretArn :: Lens' OneDriveConfiguration Text Source #
The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user namd should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.
oneDriveConfiguration_oneDriveUsers :: Lens' OneDriveConfiguration OneDriveUsers Source #
A list of user accounts whose documents should be indexed.