/AWS1/CL_KNDWORKDOCSCONF¶
Provides the configuration information to connect to WorkDocs as your data source.
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 WorkDocs site repository.
You can find the organization ID in the Directory Service by going to Active Directory, then Directories. Your WorkDocs site directory has an ID, which is the organization ID. You can also set up a new WorkDocs directory in the Directory Service console and enable a WorkDocs site for the directory in the WorkDocs console.
Optional arguments:¶
iv_crawlcomments TYPE /AWS1/KNDBOOLEAN /AWS1/KNDBOOLEAN¶
TRUEto 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¶
TRUEto use the 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 WorkDocs.
it_inclusionpatterns TYPE /AWS1/CL_KNDDATASRCINCLUSION00=>TT_DATASRCINCLUSIONSEXCLUSIO00 TT_DATASRCINCLUSIONSEXCLUSIO00¶
A list of regular expression patterns to include certain files in your 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 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
DataSourceToIndexFieldMappingobjects that map WorkDocs data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI before you map to WorkDocs fields. For more information, see Mapping data source fields. The WorkDocs data source field names must exist in your WorkDocs custom metadata.
Queryable Attributes¶
OrganizationId¶
The identifier of the directory corresponding to your WorkDocs site repository.
You can find the organization ID in the Directory Service by going to Active Directory, then Directories. Your WorkDocs site directory has an ID, which is the organization ID. You can also set up a new WorkDocs directory in the Directory Service console and enable a WorkDocs site for the directory in the 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¶
TRUEto 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¶
TRUEto use the 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 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 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 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
DataSourceToIndexFieldMappingobjects that map WorkDocs data source attributes or field names to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI before you map to WorkDocs fields. For more information, see Mapping data source fields. The WorkDocs data source field names must exist in your 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 |