deleteApplication method

Future<void> deleteApplication({
  1. required String id,
})

Deletes a specified OpenSearch application.

May throw AccessDeniedException. May throw BaseException. May throw ConflictException. May throw DisabledOperationException. May throw InternalException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter id : The unique identifier of the OpenSearch application to delete.

Implementation

Future<void> deleteApplication({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/2021-01-01/opensearch/application/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
}