Protected
Create a new Keyspace. Keyspace names are unique to a Stedi account.
Use a bare-bones client and the command you need to make an API call.
import { StashClient, CreateKeyspaceCommand } from "@stedi/sdk-client-stash"; // ES Modules import// const { StashClient, CreateKeyspaceCommand } = require("@stedi/sdk-client-stash"); // CommonJS importconst client = new StashClient(config);const input = { // CreateKeyspaceInput keyspaceName: "STRING_VALUE", // required};const command = new CreateKeyspaceCommand(input);const response = await client.send(command);// { // Keyspace// keyspaceName: "STRING_VALUE", // required// status: "STRING_VALUE", // required// };
CreateKeyspaceCommandInput
CreateKeyspaceCommandOutput
input
response
config
KeyspaceLimitReachedError (client fault)
KeyspaceAlreadyExistsError (client fault)
AccessDeniedError (client fault)
InternalServerError (server fault)
ThrottledError (client fault)
UnauthorizedError (client fault)
ValidationError (client fault)
StashServiceException
Base exception class for all service exceptions from Stash service.
Readonly
Create a new Keyspace. Keyspace names are unique to a Stedi account.
Example
Use a bare-bones client and the command you need to make an API call.
Param
CreateKeyspaceCommandInput
Returns
CreateKeyspaceCommandOutput
See
input
shape.response
shape.config
shape.Throws
KeyspaceLimitReachedError (client fault)
Throws
KeyspaceAlreadyExistsError (client fault)
Throws
AccessDeniedError (client fault)
Throws
InternalServerError (server fault)
Throws
ThrottledError (client fault)
Throws
UnauthorizedError (client fault)
Throws
ValidationError (client fault)
Throws
StashServiceException
Base exception class for all service exceptions from Stash service.