OpenSearchService / Client / delete_data_source
delete_data_source#
- OpenSearchService.Client.delete_data_source(**kwargs)#
Deletes a direct-query data source. For more information, see Deleting an Amazon OpenSearch Service data source with Amazon S3.
See also: AWS API Documentation
Request Syntax
response = client.delete_data_source( DomainName='string', Name='string' )
- Parameters:
DomainName (string) –
[REQUIRED]
The name of the domain.
Name (string) –
[REQUIRED]
The name of the data source to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'Message': 'string' }
Response Structure
(dict) –
The result of a
GetDataSource
operation.Message (string) –
A message associated with deletion of the data source.
Exceptions
OpenSearchService.Client.exceptions.BaseException
OpenSearchService.Client.exceptions.InternalException
OpenSearchService.Client.exceptions.ResourceNotFoundException
OpenSearchService.Client.exceptions.ValidationException
OpenSearchService.Client.exceptions.DisabledOperationException
OpenSearchService.Client.exceptions.DependencyFailureException