Class DeleteKeyspaceCommandProtected

Delete a Keyspace.

Example

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

import { StashClient, DeleteKeyspaceCommand } from "@stedi/sdk-client-stash"; // ES Modules import
// const { StashClient, DeleteKeyspaceCommand } = require("@stedi/sdk-client-stash"); // CommonJS import
const client = new StashClient(config);
const input = { // DeleteKeyspaceInput
keyspaceName: "STRING_VALUE", // required
};
const command = new DeleteKeyspaceCommand(input);
const response = await client.send(command);
// { // Keyspace
// keyspaceName: "STRING_VALUE", // required
// status: "STRING_VALUE", // required
// };

Param

DeleteKeyspaceCommandInput

Returns

DeleteKeyspaceCommandOutput

See

Throws

KeyspaceNotActiveError (client fault)

Throws

KeyspaceNotFoundError (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.

Hierarchy

Constructors

Properties

Constructors

Properties