Skip to content

Qbusiness  >  Operations  >  update_data_source

update_data_source

Operation

update_data_source async

update_data_source(input: UpdateDataSourceInput, plugins: list[Plugin] | None = None) -> UpdateDataSourceOutput

Updates an existing Amazon Q Business data source connector.

Parameters:

Name Type Description Default
input UpdateDataSourceInput

An instance of UpdateDataSourceInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
UpdateDataSourceOutput

An instance of UpdateDataSourceOutput.

Input

UpdateDataSourceInput dataclass

Dataclass for UpdateDataSourceInput structure.

Attributes

application_id class-attribute instance-attribute
application_id: str | None = None

The identifier of the Amazon Q Business application the data source is attached to.

configuration class-attribute instance-attribute
configuration: Document | None = None

Provides the configuration information for an Amazon Q Business data source.

data_source_id class-attribute instance-attribute
data_source_id: str | None = None

The identifier of the data source connector.

description class-attribute instance-attribute
description: str | None = None

The description of the data source connector.

display_name class-attribute instance-attribute
display_name: str | None = None

A name of the data source connector.

document_enrichment_configuration class-attribute instance-attribute
document_enrichment_configuration: DocumentEnrichmentConfiguration | None = None

Provides the configuration information for altering document metadata and content during the document ingestion process.

For more information, see Custom document enrichment.

index_id class-attribute instance-attribute
index_id: str | None = None

The identifier of the index attached to the data source connector.

media_extraction_configuration class-attribute instance-attribute
media_extraction_configuration: MediaExtractionConfiguration | None = None

The configuration for extracting information from media in documents for your data source.

role_arn class-attribute instance-attribute
role_arn: str | None = None

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

sync_schedule class-attribute instance-attribute
sync_schedule: str | None = None

The chosen update frequency for your data source.

vpc_configuration class-attribute instance-attribute
vpc_configuration: DataSourceVpcConfiguration | None = None

Provides configuration information needed to connect to an Amazon VPC (Virtual Private Cloud).

Output

UpdateDataSourceOutput dataclass

Dataclass for UpdateDataSourceOutput structure.