update_data_source
async
¶
update_data_source(
domain_name: DomainName,
name: DataSourceName,
data_source_type: DataSourceType,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = 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/async_open_search.py
6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 | |