Options
All
  • Public
  • Public/Protected
  • All
Menu

Creates a new party.

example

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

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

CreatePartyCommandInput for command's input shape.

see

CreatePartyCommandOutput for command's response shape.

see

config for PartyServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CreatePartyCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreatePartyCommandInput, CreatePartyCommandOutput>