delete_data_source
async
¶
delete_data_source(
domain_name: DomainName,
name: DataSourceName,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
) -> DeleteDataSourceResponse
Deletes a direct-query data source. For more information, see Deleting an Amazon OpenSearch Service data source with Amazon S3.
Parameters:
-
domain_name(DomainName) –The name of the domain.
-
name(DataSourceName) –The name of the data source to delete.
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.