Options
All
  • Public
  • Public/Protected
  • All
Menu

Gets 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, GetBatchCommand } from "@rivet-gg/kv"; // ES Modules import
// const { KvServiceClient, GetBatchCommand } = require("@rivet-gg/kv"); // CommonJS import
const client = new KvServiceClient(config);
const command = new GetBatchCommand(input);
const response = await client.send(command);
see

GetBatchCommandInput for command's input shape.

see

GetBatchCommandOutput for command's response shape.

see

config for KvServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: GetBatchCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<GetBatchCommandInput, GetBatchCommandOutput>