Protected
List all the Values in a Keyspace.
Use a bare-bones client and the command you need to make an API call.
import { StashClient, ListValuesCommand } from "@stedi/sdk-client-stash"; // ES Modules import// const { StashClient, ListValuesCommand } = require("@stedi/sdk-client-stash"); // CommonJS importconst client = new StashClient(config);const input = { // ListValuesInput keyspaceName: "STRING_VALUE", // required nextPageToken: "STRING_VALUE", pageSize: Number("int"),};const command = new ListValuesCommand(input);const response = await client.send(command);// { // ListValuesOutput// items: [ // ValueList // required// { // ValueOutput// key: "STRING_VALUE",// value: "DOCUMENT_VALUE",// },// ],// nextPageToken: "STRING_VALUE",// };
ListValuesCommandInput
ListValuesCommandOutput
input
response
config
KeyspaceNotFoundError (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
List all the Values in a Keyspace.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListValuesCommandInput
Returns
ListValuesCommandOutput
See
input
shape.response
shape.config
shape.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.