Options
All
  • Public
  • Public/Protected
  • All
Menu
example

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

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

JoinGroupCommandInput for command's input shape.

see

JoinGroupCommandOutput for command's response shape.

see

config for GroupServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: JoinGroupCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<JoinGroupCommandInput, JoinGroupCommandOutput>