deleteElasticsearchDomain method
Future<DeleteElasticsearchDomainResponse>
deleteElasticsearchDomain({
- required String domainName,
Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
May throw BaseException.
May throw InternalException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter domainName :
The name of the Elasticsearch domain that you want to permanently delete.
Implementation
Future<DeleteElasticsearchDomainResponse> deleteElasticsearchDomain({
required String domainName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/2015-01-01/es/domain/${Uri.encodeComponent(domainName)}',
exceptionFnMap: _exceptionFns,
);
return DeleteElasticsearchDomainResponse.fromJson(response);
}