update_data_source
¶
update_data_source(
domain_name: DomainName,
name: DataSourceName,
data_source_type: DataSourceType,
*,
config_overrides: Optional[OpenSearchClientConfig] = None,
description: Optional[DataSourceDescription] = None,
status: Optional[DataSourceStatus] = None,
) -> UpdateDataSourceResponse
Updates a direct-query data source. For more information, see Working with Amazon OpenSearch Service data source integrations with Amazon S3.
Parameters:
-
domain_name(DomainName) –The name of the domain.
-
name(DataSourceName) –The name of the data source to modify.
-
data_source_type(DataSourceType) –The type of data source.
-
description(Optional[DataSourceDescription], default:None) –A new description of the data source.
-
status(Optional[DataSourceStatus], default:None) –The status of the data source update.
Raises:
-
BaseException–An error occurred while processing the request.
-
DependencyFailureException–An exception for when a failure in one of the dependencies results in the service being unable to fetch details about the resource.
-
DisabledOperationException–An error occured because the client wanted to access an unsupported operation.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_opensearch/_services/open_search.py
5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 | |