QBusinessClient.update_data_source
rboto-qbusiness==0.4.0 · Service index · Types
Model summary (excerpt): Updates an existing Amazon Q Business data source connector.
Install and imports
from rboto import QBusinessClient
from rboto_qbusiness.types import (
DataSourceVpcConfiguration,
DocumentEnrichmentConfiguration,
JSONValue,
MediaExtractionConfiguration,
UpdateDataSourceOutput,
)
Signature
async def update_data_source(
*,
application_id: str,
index_id: str,
data_source_id: str,
display_name: str | None = None,
configuration: JSONValue | None = None,
vpc_configuration: DataSourceVpcConfiguration | None = None,
description: str | None = None,
sync_schedule: str | None = None,
role_arn: str | None = None,
document_enrichment_configuration: DocumentEnrichmentConfiguration | None = None,
media_extraction_configuration: MediaExtractionConfiguration | None = None,
) -> UpdateDataSourceOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
application_id |
Yes | The identifier of the Amazon Q Business application the data source is attached to. |
index_id |
Yes | The identifier of the index attached to the data source connector. |
data_source_id |
Yes | The identifier of the data source connector. |
display_name |
No | A name of the data source connector. |
configuration |
No | |
vpc_configuration |
No | |
description |
No | The description of the data source connector. |
sync_schedule |
No | The chosen update frequency for your data source. |
role_arn |
No | The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources. |
document_enrichment_configuration |
No | |
media_extraction_configuration |
No | The configuration for extracting information from media in documents for your data source. |
Output
UpdateDataSourceOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
No fields.
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
DataSourceVpcConfiguration, DocumentEnrichmentConfiguration, JSONValue, MediaExtractionConfiguration, UpdateDataSourceOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_qbusiness.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.