OpenSearchService / Client / delete_data_source

delete_data_source#

OpenSearchService.Client.delete_data_source(**kwargs)#

Deletes the data source.

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.

Return type:

dict

Returns:

Response Syntax

{
    'Message': 'string'
}

Response Structure

  • (dict) –

    The result of a GetDataSource operation.

    • Message (string) –

      A message associated with the initiated request.

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