Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class ListKxChangesetsCommandProtected

Returns a list of all the changesets for a database.

Example

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

import { FinspaceClient, ListKxChangesetsCommand } from "@aws-sdk/client-finspace"; // ES Modules import
// const { FinspaceClient, ListKxChangesetsCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
const client = new FinspaceClient(config);
const input = { // ListKxChangesetsRequest
environmentId: "STRING_VALUE", // required
databaseName: "STRING_VALUE", // required
nextToken: "STRING_VALUE",
maxResults: Number("int"),
};
const command = new ListKxChangesetsCommand(input);
const response = await client.send(command);
// { // ListKxChangesetsResponse
// kxChangesets: [ // KxChangesets
// { // KxChangesetListEntry
// changesetId: "STRING_VALUE",
// createdTimestamp: new Date("TIMESTAMP"),
// activeFromTimestamp: new Date("TIMESTAMP"),
// lastModifiedTimestamp: new Date("TIMESTAMP"),
// status: "PENDING" || "PROCESSING" || "FAILED" || "COMPLETED",
// },
// ],
// nextToken: "STRING_VALUE",
// };

Param

ListKxChangesetsCommandInput

Returns

ListKxChangesetsCommandOutput

See

Throws

AccessDeniedException (client fault)

You do not have sufficient access to perform this action.

Throws

InternalServerException (server fault)

The request processing has failed because of an unknown error, exception or failure.

Throws

ResourceNotFoundException (client fault)

One or more resources can't be found.

Throws

ThrottlingException (client fault)

The request was denied due to request throttling.

Throws

ValidationException (client fault)

The input fails to satisfy the constraints specified by an AWS service.

Throws

FinspaceServiceException

Base exception class for all service exceptions from Finspace service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods