CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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 lines

For more information, see Getting started with an Amazon Kendra index and data source connector in the Amazon Kendra Developer Guide.

Options

2 in the AWS CLI reference
--idThe identifier of the data source connector.
--index-idThe identifier of the index used with the data source connector.