CmdID / aws / aws kendra
aws kendra describe-data-source
Gets information about an Amazon Kendra data source connector. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To get information about an Amazon Kendra data source connector
The following describe-data-source example gets information about an Amazon Kendra data source connector. You can view the configuration of a data source connector, and read any error messages if the status shows a data source connector "FAILED" to completely create.
aws kendra describe-data-source --id exampledatasource1 --index-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111Identify--idThe identifier of the data source connector.--index-idThe identifier of the index used with the data source connector.Its output, shortened
{
"Configuration": {
"TemplateConfiguration": {
"Template": {
"connectionConfiguration": {
"repositoryEndpointMetadata": {
"BucketName": "amzn-s3-demo-bucket"
}
},
"repositoryConfigurations": {
"document":{
"fieldMappings": [
{
"indexFieldName":"_document_title",
"indexFieldType":"STRING",
"dataSourceFieldName": "title"
},
{
"indexFieldName":"_last_updated_at",
"indexFieldType":"DATE",
"dataSourceFieldName": "modified_date"
}
]
}
},
"additionalProperties": {
"inclusionPatterns": [
"*.txt",
"*.doc",
"*.docx"
… 42 more linesFor more information, see Getting started with an Amazon Kendra index and data source connector in the Amazon Kendra Developer Guide.
Options
--idThe identifier of the data source connector.--index-idThe identifier of the index used with the data source connector.