Puts (sets or overwrites) a key-value entry by key.
Use a bare-bones client and the command you need to make an API call.
import { KvServiceClient, PutCommand } from "@rivet-gg/kv"; // ES Modules import // const { KvServiceClient, PutCommand } = require("@rivet-gg/kv"); // CommonJS import const client = new KvServiceClient(config); const command = new PutCommand(input); const response = await client.send(command);
PutCommandInput for command's input shape.
input
PutCommandOutput for command's response shape.
response
config for KvServiceClient's config shape.
config
Puts (sets or overwrites) a key-value entry by key.
Use a bare-bones client and the command you need to make an API call.
import { KvServiceClient, PutCommand } from "@rivet-gg/kv"; // ES Modules import // const { KvServiceClient, PutCommand } = require("@rivet-gg/kv"); // CommonJS import const client = new KvServiceClient(config); const command = new PutCommand(input); const response = await client.send(command);PutCommandInput for command's
inputshape.PutCommandOutput for command's
responseshape.config for KvServiceClient's
configshape.