Skip to content

DescribeDataSourceResponse

Source code in docs_src/capo_kendra/types/describe_data_source_response.py
class DescribeDataSourceResponse(TypedDict, closed=True):
    id: NotRequired["capo_kendra.types.data_source_id.DataSourceId"]
    """<p>The identifier of the data source connector.</p>"""
    index_id: NotRequired["capo_kendra.types.index_id.IndexId"]
    """<p>The identifier of the index used with the data source connector.</p>"""
    name: NotRequired["capo_kendra.types.data_source_name.DataSourceName"]
    """<p>The name for the data source connector.</p>"""
    type: NotRequired["capo_kendra.types.data_source_type.DataSourceType"]
    """<p>The type of the data source. For example, <code>SHAREPOINT</code>.</p>"""
    configuration: NotRequired[
        "capo_kendra.types.data_source_configuration.DataSourceConfiguration"
    ]
    """<p>Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.</p>"""
    vpc_configuration: NotRequired[
        "capo_kendra.types.data_source_vpc_configuration.DataSourceVpcConfiguration"
    ]
    """<p>Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html">Configuring a VPC</a>.</p>"""
    created_at: NotRequired["capo_kendra.types.timestamp.Timestamp"]
    """<p>The Unix timestamp when the data source connector was created.</p>"""
    updated_at: NotRequired["capo_kendra.types.timestamp.Timestamp"]
    """<p>The Unix timestamp when the data source connector was last updated.</p>"""
    description: NotRequired["capo_kendra.types.description.Description"]
    """<p>The description for the data source connector.</p>"""
    status: NotRequired["capo_kendra.types.data_source_status.DataSourceStatus"]
    """<p>The current status of the data source connector. When the status is <code>ACTIVE</code> the data source is ready to use. When the status is <code>FAILED</code>, the <code>ErrorMessage</code> field contains the reason that the data source failed.</p>"""
    schedule: NotRequired["capo_kendra.types.scan_schedule.ScanSchedule"]
    """<p>The schedule for Amazon Kendra to update the index.</p>"""
    role_arn: NotRequired["capo_kendra.types.role_arn.RoleArn"]
    """<p>The Amazon Resource Name (ARN) of the IAM role with permission to access the data source and required resources.</p>"""
    error_message: NotRequired["capo_kendra.types.error_message.ErrorMessage"]
    """<p>When the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field contains a description of the error that caused the data source to fail.</p>"""
    language_code: NotRequired["capo_kendra.types.language_code.LanguageCode"]
    """<p>The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html">Adding documents in languages other than English</a>.</p>"""
    custom_document_enrichment_configuration: NotRequired[
        "capo_kendra.types.custom_document_enrichment_configuration.CustomDocumentEnrichmentConfiguration"
    ]
    """<p>Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.</p> <p>For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html">Customizing document metadata during the ingestion process</a>.</p>"""

configuration instance-attribute

configuration: NotRequired[DataSourceConfiguration]

Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.

created_at instance-attribute

created_at: NotRequired[Timestamp]

The Unix timestamp when the data source connector was created.

custom_document_enrichment_configuration instance-attribute

custom_document_enrichment_configuration: NotRequired[
    CustomDocumentEnrichmentConfiguration
]

Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.

For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.

description instance-attribute

description: NotRequired[Description]

The description for the data source connector.

error_message instance-attribute

error_message: NotRequired[ErrorMessage]

When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source to fail.

id instance-attribute

id: NotRequired[DataSourceId]

The identifier of the data source connector.

index_id instance-attribute

index_id: NotRequired[IndexId]

The identifier of the index used with the data source connector.

language_code instance-attribute

language_code: NotRequired[LanguageCode]

The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

name instance-attribute

name: NotRequired[DataSourceName]

The name for the data source connector.

role_arn instance-attribute

role_arn: NotRequired[RoleArn]

The Amazon Resource Name (ARN) of the IAM role with permission to access the data source and required resources.

schedule instance-attribute

schedule: NotRequired[ScanSchedule]

The schedule for Amazon Kendra to update the index.

status instance-attribute

status: NotRequired[DataSourceStatus]

The current status of the data source connector. When the status is ACTIVE the data source is ready to use. When the status is FAILED, the ErrorMessage field contains the reason that the data source failed.

type instance-attribute

type: NotRequired[DataSourceType]

The type of the data source. For example, SHAREPOINT.

updated_at instance-attribute

updated_at: NotRequired[Timestamp]

The Unix timestamp when the data source connector was last updated.

vpc_configuration instance-attribute

vpc_configuration: NotRequired[DataSourceVpcConfiguration]

Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.