deleteDatastore method

Future<DeleteDatastoreResponse> deleteDatastore({
  1. required String datastoreId,
})

Delete a data store.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter datastoreId : The data store identifier.

Implementation

Future<DeleteDatastoreResponse> deleteDatastore({
  required String datastoreId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/datastore/${Uri.encodeComponent(datastoreId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteDatastoreResponse.fromJson(response);
}