Protected
List all the Keyspaces.
Use a bare-bones client and the command you need to make an API call.
import { StashClient, ListKeyspacesCommand } from "@stedi/sdk-client-stash"; // ES Modules import// const { StashClient, ListKeyspacesCommand } = require("@stedi/sdk-client-stash"); // CommonJS importconst client = new StashClient(config);const input = { // ListKeyspacesInput nextPageToken: "STRING_VALUE", pageSize: Number("int"),};const command = new ListKeyspacesCommand(input);const response = await client.send(command);// { // ListKeyspacesOutput// items: [ // KeyspaceSummaryList // required// { // KeyspaceSummary// keyspaceName: "STRING_VALUE", // required// },// ],// nextPageToken: "STRING_VALUE",// };
ListKeyspacesCommandInput
ListKeyspacesCommandOutput
input
response
config
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
List all the Keyspaces.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListKeyspacesCommandInput
Returns
ListKeyspacesCommandOutput
See
input
shape.response
shape.config
shape.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.