// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeDataSource`](crate::operation::describe_data_source::builders::DescribeDataSourceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`id(impl Into<String>)`](crate::operation::describe_data_source::builders::DescribeDataSourceFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::describe_data_source::builders::DescribeDataSourceFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the data source connector.</p><br>
/// - [`index_id(impl Into<String>)`](crate::operation::describe_data_source::builders::DescribeDataSourceFluentBuilder::index_id) / [`set_index_id(Option<String>)`](crate::operation::describe_data_source::builders::DescribeDataSourceFluentBuilder::set_index_id):<br>required: **true**<br><p>The identifier of the index used with the data source connector.</p><br>
/// - On success, responds with [`DescribeDataSourceOutput`](crate::operation::describe_data_source::DescribeDataSourceOutput) with field(s):
/// - [`id(Option<String>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::id): <p>The identifier of the data source connector.</p>
/// - [`index_id(Option<String>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::index_id): <p>The identifier of the index used with the data source connector.</p>
/// - [`name(Option<String>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::name): <p>The name for the data source connector.</p>
/// - [`r#type(Option<DataSourceType>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::type): <p>The type of the data source. For example, <code>SHAREPOINT</code>.</p>
/// - [`configuration(Option<DataSourceConfiguration>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::configuration): <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(Option<DataSourceVpcConfiguration>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::vpc_configuration): <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(Option<DateTime>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::created_at): <p>The Unix timestamp when the data source connector was created.</p>
/// - [`updated_at(Option<DateTime>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::updated_at): <p>The Unix timestamp when the data source connector was last updated.</p>
/// - [`description(Option<String>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::description): <p>The description for the data source connector.</p>
/// - [`status(Option<DataSourceStatus>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::status): <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(Option<String>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::schedule): <p>The schedule for Amazon Kendra to update the index.</p>
/// - [`role_arn(Option<String>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::role_arn): <p>The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.</p>
/// - [`error_message(Option<String>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::error_message): <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(Option<String>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::language_code): <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(Option<CustomDocumentEnrichmentConfiguration>)`](crate::operation::describe_data_source::DescribeDataSourceOutput::custom_document_enrichment_configuration): <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>
/// - On failure, responds with [`SdkError<DescribeDataSourceError>`](crate::operation::describe_data_source::DescribeDataSourceError)
pub fn describe_data_source(&self) -> crate::operation::describe_data_source::builders::DescribeDataSourceFluentBuilder {
crate::operation::describe_data_source::builders::DescribeDataSourceFluentBuilder::new(self.handle.clone())
}
}