KeyValueStorageInterface
Props
delKeyValueItem
delKeyValueItem: (request: DelKeyValueItemRequest) => Promise<DelKeyValueItemResponse>
Deletes the specified key-value pair from the storage.
getKeyValueItem
getKeyValueItem: (request: GetKeyValueItemRequest) => Promise<GetKeyValueItemResponse>
Gets the specified key-value pair from the storage.
getKeyValueItems
getKeyValueItems: (request: GetKeyValueItemsRequest) => Promise<GetKeyValueItemsResponse>
Gets all the key-value pairs in which the keys begin with a pattern.
getKeyValueKeys
getKeyValueKeys: (request: GetKeyValueKeysRequest) => Promise<GetKeyValueKeysResponse>
Gets all the keys of key-value pairs.
setKeyValueItem
setKeyValueItem: (request: SetKeyValueItemRequest) => Promise<SetKeyValueItemResponse>
Creates or updates a key-value pair. If an existing key is passed, the method returns the existing item and changes the value if needed. The keys should be unique within a Voximplant application.