[Kendra] Not able to add custom metadata for WebCrawler Datasource - create_data_source, update_data_Source #4293
Labels
bug
This issue is a confirmed bug.
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
needs-triage
This issue or PR still needs to be triaged.
Describe the bug
Not able to add custom metadata for WebCrawler datasource via boto3 create_data_source, update_data_source
Regression Issue
Expected Behavior
should be able to add custom metadata.
Current Behavior
Not able to add custom metadata for WebCrawler datasource via boto3 create_data_source, update_data_source
Reproduction Steps
When I try to update an existing datasource with the 'CustomDocumentEnrichmentConfiguration' or create a WebCrawler DataSource with 'CustomDocumentEnrichmentConfiguration'
I get below error-
Per researching further on this error , seem like it needs 'DocumentMetadataConfigurations' added prior.
How can we go about adding that ? I dont see it per the boto3 kendra calls
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kendra.html
simply trying to add it in the create_data_source or the update_data_source calls , gives the below error.
Possible Solution
No response
Additional Information/Context
SDK version used
1.35.16
Environment details (OS name and version, etc.)
Mac
The text was updated successfully, but these errors were encountered: