Options
All
  • Public
  • Public/Protected
  • All
Menu

Puts (sets or overwrites) multiple key-value entries by key(s).

example

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

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

PutBatchCommandInput for command's input shape.

see

PutBatchCommandOutput for command's response shape.

see

config for KvServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: PutBatchCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<PutBatchCommandInput, PutBatchCommandOutput>