Gets multiple key-value entries by key(s).
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);
GetBatchCommandInput for command's input shape.
input
GetBatchCommandOutput for command's response shape.
response
config for KvServiceClient's config shape.
config
Gets multiple key-value entries by key(s).
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);GetBatchCommandInput for command's
inputshape.GetBatchCommandOutput for command's
responseshape.config for KvServiceClient's
configshape.