Options
All
  • Public
  • Public/Protected
  • All
Menu

Creates a new group.

example

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

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

CreateGroupCommandInput for command's input shape.

see

CreateGroupCommandOutput for command's response shape.

see

config for GroupServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CreateGroupCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateGroupCommandInput, CreateGroupCommandOutput>