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 GoogleDriveConfiguration = GoogleDriveConfiguration' {}
- newGoogleDriveConfiguration :: Text -> GoogleDriveConfiguration
- googleDriveConfiguration_excludeMimeTypes :: Lens' GoogleDriveConfiguration (Maybe [Text])
- googleDriveConfiguration_excludeSharedDrives :: Lens' GoogleDriveConfiguration (Maybe [Text])
- googleDriveConfiguration_excludeUserAccounts :: Lens' GoogleDriveConfiguration (Maybe [Text])
- googleDriveConfiguration_exclusionPatterns :: Lens' GoogleDriveConfiguration (Maybe [Text])
- googleDriveConfiguration_fieldMappings :: Lens' GoogleDriveConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- googleDriveConfiguration_inclusionPatterns :: Lens' GoogleDriveConfiguration (Maybe [Text])
- googleDriveConfiguration_secretArn :: Lens' GoogleDriveConfiguration Text
Documentation
data GoogleDriveConfiguration Source #
Provides the configuration information to connect to Google Drive as your data source.
See: newGoogleDriveConfiguration
smart constructor.
GoogleDriveConfiguration' | |
|
Instances
newGoogleDriveConfiguration Source #
Create a value of GoogleDriveConfiguration
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:excludeMimeTypes:GoogleDriveConfiguration'
, googleDriveConfiguration_excludeMimeTypes
- A list of MIME types to exclude from the index. All documents matching
the specified MIME type are excluded.
For a list of MIME types, see Using a Google Workspace Drive data source.
$sel:excludeSharedDrives:GoogleDriveConfiguration'
, googleDriveConfiguration_excludeSharedDrives
- A list of identifiers or shared drives to exclude from the index. All
files and folders stored on the shared drive are excluded.
$sel:excludeUserAccounts:GoogleDriveConfiguration'
, googleDriveConfiguration_excludeUserAccounts
- A list of email addresses of the users. Documents owned by these users
are excluded from the index. Documents shared with excluded users are
indexed unless they are excluded in another way.
$sel:exclusionPatterns:GoogleDriveConfiguration'
, googleDriveConfiguration_exclusionPatterns
- A list of regular expression patterns to exclude certain items in your
Google Drive, including shared drives and users' My Drives. Items that
match the patterns are excluded from the index. Items that don't match
the patterns are included in the index. If an item matches both an
inclusion and exclusion pattern, the exclusion pattern takes precedence
and the item isn't included in the index.
$sel:fieldMappings:GoogleDriveConfiguration'
, googleDriveConfiguration_fieldMappings
- Maps Google Drive data source attributes or field names to Amazon Kendra
index field names. To create custom fields, use the UpdateIndex
API
before you map to Google Drive fields. For more information, see
Mapping data source fields.
The Google Drive data source field names must exist in your Google Drive
custom metadata.
$sel:inclusionPatterns:GoogleDriveConfiguration'
, googleDriveConfiguration_inclusionPatterns
- A list of regular expression patterns to include certain items in your
Google Drive, including shared drives and users' My Drives. Items that
match the patterns are included in the index. Items that don't match
the patterns are excluded from the index. If an item matches both an
inclusion and exclusion pattern, the exclusion pattern takes precedence
and the item isn't included in the index.
$sel:secretArn:GoogleDriveConfiguration'
, googleDriveConfiguration_secretArn
- The Amazon Resource Name (ARN) of a Secrets Managersecret that contains
the credentials required to connect to Google Drive. For more
information, see
Using a Google Workspace Drive data source.
googleDriveConfiguration_excludeMimeTypes :: Lens' GoogleDriveConfiguration (Maybe [Text]) Source #
A list of MIME types to exclude from the index. All documents matching the specified MIME type are excluded.
For a list of MIME types, see Using a Google Workspace Drive data source.
googleDriveConfiguration_excludeSharedDrives :: Lens' GoogleDriveConfiguration (Maybe [Text]) Source #
A list of identifiers or shared drives to exclude from the index. All files and folders stored on the shared drive are excluded.
googleDriveConfiguration_excludeUserAccounts :: Lens' GoogleDriveConfiguration (Maybe [Text]) Source #
A list of email addresses of the users. Documents owned by these users are excluded from the index. Documents shared with excluded users are indexed unless they are excluded in another way.
googleDriveConfiguration_exclusionPatterns :: Lens' GoogleDriveConfiguration (Maybe [Text]) Source #
A list of regular expression patterns to exclude certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
googleDriveConfiguration_fieldMappings :: Lens' GoogleDriveConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #
Maps Google Drive data source attributes or field names to Amazon Kendra
index field names. To create custom fields, use the UpdateIndex
API
before you map to Google Drive fields. For more information, see
Mapping data source fields.
The Google Drive data source field names must exist in your Google Drive
custom metadata.
googleDriveConfiguration_inclusionPatterns :: Lens' GoogleDriveConfiguration (Maybe [Text]) Source #
A list of regular expression patterns to include certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
googleDriveConfiguration_secretArn :: Lens' GoogleDriveConfiguration Text Source #
The Amazon Resource Name (ARN) of a Secrets Managersecret that contains the credentials required to connect to Google Drive. For more information, see Using a Google Workspace Drive data source.