deleteKeyValueStore method

Future<void> deleteKeyValueStore({
  1. required String ifMatch,
  2. required String name,
})

Specifies the key value store to delete.

May throw AccessDenied. May throw CannotDeleteEntityWhileInUse. May throw EntityNotFound. May throw InvalidIfMatchVersion. May throw PreconditionFailed. May throw UnsupportedOperation.

Parameter ifMatch : The key value store to delete, if a match occurs.

Parameter name : The name of the key value store.

Implementation

Future<void> deleteKeyValueStore({
  required String ifMatch,
  required String name,
}) async {
  final headers = <String, String>{
    'If-Match': ifMatch.toString(),
  };
  await _protocol.send(
    method: 'DELETE',
    requestUri: '/2020-05-31/key-value-store/${Uri.encodeComponent(name)}',
    headers: headers,
    exceptionFnMap: _exceptionFns,
  );
}