Options
All
  • Public
  • Public/Protected
  • All
Menu

Returns a specific key-value entry by key.

example

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

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

GetCommandInput for command's input shape.

see

GetCommandOutput for command's response shape.

see

config for KvServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    Returns GetCommand

  • Parameters

    • input: GetCommandInput

    Returns GetCommand

Properties

Readonly input

input: GetCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<GetCommandInput, GetCommandOutput>