import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateKxClusterDatabasesRequest, UpdateKxClusterDatabasesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateKxClusterDatabasesCommand}. */ export interface UpdateKxClusterDatabasesCommandInput extends UpdateKxClusterDatabasesRequest { } /** * @public * * The output of {@link UpdateKxClusterDatabasesCommand}. */ export interface UpdateKxClusterDatabasesCommandOutput extends UpdateKxClusterDatabasesResponse, __MetadataBearer { } declare const UpdateKxClusterDatabasesCommand_base: { new (input: UpdateKxClusterDatabasesCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateKxClusterDatabasesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the databases mounted on a kdb cluster, which includes the changesetId and all the dbPaths to be cached. This API does not allow you to change a database name or add a database if you created a cluster without one.

*

Using this API you can point a cluster to a different changeset and modify a list of partitions being cached.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FinspaceClient, UpdateKxClusterDatabasesCommand } from "@aws-sdk/client-finspace"; // ES Modules import * // const { FinspaceClient, UpdateKxClusterDatabasesCommand } = require("@aws-sdk/client-finspace"); // CommonJS import * // import type { FinspaceClientConfig } from "@aws-sdk/client-finspace"; * const config = {}; // type is FinspaceClientConfig * const client = new FinspaceClient(config); * const input = { // UpdateKxClusterDatabasesRequest * environmentId: "STRING_VALUE", // required * clusterName: "STRING_VALUE", // required * clientToken: "STRING_VALUE", * databases: [ // KxDatabaseConfigurations // required * { // KxDatabaseConfiguration * databaseName: "STRING_VALUE", // required * cacheConfigurations: [ // KxDatabaseCacheConfigurations * { // KxDatabaseCacheConfiguration * cacheType: "STRING_VALUE", // required * dbPaths: [ // DbPaths // required * "STRING_VALUE", * ], * dataviewName: "STRING_VALUE", * }, * ], * changesetId: "STRING_VALUE", * dataviewName: "STRING_VALUE", * dataviewConfiguration: { // KxDataviewConfiguration * dataviewName: "STRING_VALUE", * dataviewVersionId: "STRING_VALUE", * changesetId: "STRING_VALUE", * segmentConfigurations: [ // KxDataviewSegmentConfigurationList * { // KxDataviewSegmentConfiguration * dbPaths: [ // SegmentConfigurationDbPathList // required * "STRING_VALUE", * ], * volumeName: "STRING_VALUE", // required * onDemand: true || false, * }, * ], * }, * }, * ], * deploymentConfiguration: { // KxDeploymentConfiguration * deploymentStrategy: "NO_RESTART" || "ROLLING", // required * }, * }; * const command = new UpdateKxClusterDatabasesCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateKxClusterDatabasesCommandInput - {@link UpdateKxClusterDatabasesCommandInput} * @returns {@link UpdateKxClusterDatabasesCommandOutput} * @see {@link UpdateKxClusterDatabasesCommandInput} for command's `input` shape. * @see {@link UpdateKxClusterDatabasesCommandOutput} for command's `response` shape. * @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link ConflictException} (client fault) *

There was a conflict with this action, and it could not be completed.

* * @throws {@link InternalServerException} (server fault) *

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

* * @throws {@link LimitExceededException} (client fault) *

A service limit or quota is exceeded.

* * @throws {@link ResourceNotFoundException} (client fault) *

One or more resources can't be found.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link ValidationException} (client fault) *

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

* * @throws {@link FinspaceServiceException} *

Base exception class for all service exceptions from Finspace service.

* * * @public */ export declare class UpdateKxClusterDatabasesCommand extends UpdateKxClusterDatabasesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateKxClusterDatabasesRequest; output: {}; }; sdk: { input: UpdateKxClusterDatabasesCommandInput; output: UpdateKxClusterDatabasesCommandOutput; }; }; }