/AWS1/CL_KNDWORKDOCSCONF¶
Provides the configuration information to connect to Amazon WorkDocs as your data source.
Amazon WorkDocs connector is available in Oregon, North Virginia, Sydney, Singapore and Ireland regions.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_organizationid
TYPE /AWS1/KNDORGANIZATIONID
/AWS1/KNDORGANIZATIONID
¶
The identifier of the directory corresponding to your Amazon WorkDocs site repository.
You can find the organization ID in the Directory Service by going to Active Directory, then Directories. Your Amazon WorkDocs site directory has an ID, which is the organization ID. You can also set up a new Amazon WorkDocs directory in the Directory Service console and enable a Amazon WorkDocs site for the directory in the Amazon WorkDocs console.
Optional arguments:¶
iv_crawlcomments
TYPE /AWS1/KNDBOOLEAN
/AWS1/KNDBOOLEAN
¶
TRUE
to include comments on documents in your index. Including comments in your index means each comment is a document that can be searched on.The default is set to
FALSE
.
iv_usechangelog
TYPE /AWS1/KNDBOOLEAN
/AWS1/KNDBOOLEAN
¶
TRUE
to use the Amazon WorkDocs 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 Amazon WorkDocs.
it_inclusionpatterns
TYPE /AWS1/CL_KNDDATASRCINCLUSION00=>TT_DATASRCINCLUSIONSEXCLUSIO00
TT_DATASRCINCLUSIONSEXCLUSIO00
¶
A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
it_exclusionpatterns
TYPE /AWS1/CL_KNDDATASRCINCLUSION00=>TT_DATASRCINCLUSIONSEXCLUSIO00
TT_DATASRCINCLUSIONSEXCLUSIO00
¶
A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
it_fieldmappings
TYPE /AWS1/CL_KNDDATASRCTOIDXFIEL00=>TT_DATASRCTOINDEXFIELDMAPLIST
TT_DATASRCTOINDEXFIELDMAPLIST
¶
A list of
DataSourceToIndexFieldMapping
objects that map Amazon WorkDocs data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Amazon WorkDocs fields. For more information, see Mapping data source fields. The Amazon WorkDocs data source field names must exist in your Amazon WorkDocs custom metadata.
Queryable Attributes¶
OrganizationId¶
The identifier of the directory corresponding to your Amazon WorkDocs site repository.
You can find the organization ID in the Directory Service by going to Active Directory, then Directories. Your Amazon WorkDocs site directory has an ID, which is the organization ID. You can also set up a new Amazon WorkDocs directory in the Directory Service console and enable a Amazon WorkDocs site for the directory in the Amazon WorkDocs console.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ORGANIZATIONID() |
Getter for ORGANIZATIONID, with configurable default |
ASK_ORGANIZATIONID() |
Getter for ORGANIZATIONID w/ exceptions if field has no valu |
HAS_ORGANIZATIONID() |
Determine if ORGANIZATIONID has a value |
CrawlComments¶
TRUE
to include comments on documents in your index. Including comments in your index means each comment is a document that can be searched on.The default is set to
FALSE
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CRAWLCOMMENTS() |
Getter for CRAWLCOMMENTS |
UseChangeLog¶
TRUE
to use the Amazon WorkDocs 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 Amazon WorkDocs.
Accessible with the following methods¶
Method | Description |
---|---|
GET_USECHANGELOG() |
Getter for USECHANGELOG |
InclusionPatterns¶
A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
Accessible with the following methods¶
Method | Description |
---|---|
GET_INCLUSIONPATTERNS() |
Getter for INCLUSIONPATTERNS, with configurable default |
ASK_INCLUSIONPATTERNS() |
Getter for INCLUSIONPATTERNS w/ exceptions if field has no v |
HAS_INCLUSIONPATTERNS() |
Determine if INCLUSIONPATTERNS has a value |
ExclusionPatterns¶
A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
Accessible with the following methods¶
Method | Description |
---|---|
GET_EXCLUSIONPATTERNS() |
Getter for EXCLUSIONPATTERNS, with configurable default |
ASK_EXCLUSIONPATTERNS() |
Getter for EXCLUSIONPATTERNS w/ exceptions if field has no v |
HAS_EXCLUSIONPATTERNS() |
Determine if EXCLUSIONPATTERNS has a value |
FieldMappings¶
A list of
DataSourceToIndexFieldMapping
objects that map Amazon WorkDocs data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Amazon WorkDocs fields. For more information, see Mapping data source fields. The Amazon WorkDocs data source field names must exist in your Amazon WorkDocs custom metadata.
Accessible with the following methods¶
Method | Description |
---|---|
GET_FIELDMAPPINGS() |
Getter for FIELDMAPPINGS, with configurable default |
ASK_FIELDMAPPINGS() |
Getter for FIELDMAPPINGS w/ exceptions if field has no value |
HAS_FIELDMAPPINGS() |
Determine if FIELDMAPPINGS has a value |