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
6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 | |