Options
All
  • Public
  • Public/Protected
  • All
Menu

Deletes a key-value entry by key.

example

Use a bare-bones client and the command you need to make an API call.

import { KvServiceClient, DeleteCommand } from "@rivet-gg/kv"; // ES Modules import
// const { KvServiceClient, DeleteCommand } = require("@rivet-gg/kv"); // CommonJS import
const client = new KvServiceClient(config);
const command = new DeleteCommand(input);
const response = await client.send(command);
see

DeleteCommandInput for command's input shape.

see

DeleteCommandOutput for command's response shape.

see

config for KvServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    Returns DeleteCommand

  • Parameters

    • input: DeleteCommandInput

    Returns DeleteCommand

Properties

Readonly input

input: DeleteCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<DeleteCommandInput, DeleteCommandOutput>