import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateKxDataviewRequest, UpdateKxDataviewResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateKxDataviewCommand}. */ export interface UpdateKxDataviewCommandInput extends UpdateKxDataviewRequest { } /** * @public * * The output of {@link UpdateKxDataviewCommand}. */ export interface UpdateKxDataviewCommandOutput extends UpdateKxDataviewResponse, __MetadataBearer { } declare const UpdateKxDataviewCommand_base: { new (input: UpdateKxDataviewCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateKxDataviewCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* Updates the specified dataview. The dataviews get automatically updated when any new changesets are ingested. Each update of the dataview creates a new version, including changeset details and cache configurations

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FinspaceClient, UpdateKxDataviewCommand } from "@aws-sdk/client-finspace"; // ES Modules import * // const { FinspaceClient, UpdateKxDataviewCommand } = 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 = { // UpdateKxDataviewRequest * environmentId: "STRING_VALUE", // required * databaseName: "STRING_VALUE", // required * dataviewName: "STRING_VALUE", // required * description: "STRING_VALUE", * changesetId: "STRING_VALUE", * segmentConfigurations: [ // KxDataviewSegmentConfigurationList * { // KxDataviewSegmentConfiguration * dbPaths: [ // SegmentConfigurationDbPathList // required * "STRING_VALUE", * ], * volumeName: "STRING_VALUE", // required * onDemand: true || false, * }, * ], * clientToken: "STRING_VALUE", // required * }; * const command = new UpdateKxDataviewCommand(input); * const response = await client.send(command); * // { // UpdateKxDataviewResponse * // environmentId: "STRING_VALUE", * // databaseName: "STRING_VALUE", * // dataviewName: "STRING_VALUE", * // azMode: "SINGLE" || "MULTI", * // availabilityZoneId: "STRING_VALUE", * // changesetId: "STRING_VALUE", * // segmentConfigurations: [ // KxDataviewSegmentConfigurationList * // { // KxDataviewSegmentConfiguration * // dbPaths: [ // SegmentConfigurationDbPathList // required * // "STRING_VALUE", * // ], * // volumeName: "STRING_VALUE", // required * // onDemand: true || false, * // }, * // ], * // activeVersions: [ // KxDataviewActiveVersionList * // { // KxDataviewActiveVersion * // changesetId: "STRING_VALUE", * // segmentConfigurations: [ * // { * // dbPaths: [ // required * // "STRING_VALUE", * // ], * // volumeName: "STRING_VALUE", // required * // onDemand: true || false, * // }, * // ], * // attachedClusters: [ // AttachedClusterList * // "STRING_VALUE", * // ], * // createdTimestamp: new Date("TIMESTAMP"), * // versionId: "STRING_VALUE", * // }, * // ], * // status: "CREATING" || "ACTIVE" || "UPDATING" || "FAILED" || "DELETING", * // autoUpdate: true || false, * // readWrite: true || false, * // description: "STRING_VALUE", * // createdTimestamp: new Date("TIMESTAMP"), * // lastModifiedTimestamp: new Date("TIMESTAMP"), * // }; * * ``` * * @param UpdateKxDataviewCommandInput - {@link UpdateKxDataviewCommandInput} * @returns {@link UpdateKxDataviewCommandOutput} * @see {@link UpdateKxDataviewCommandInput} for command's `input` shape. * @see {@link UpdateKxDataviewCommandOutput} 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 ResourceAlreadyExistsException} (client fault) *

The specified resource group already exists.

* * @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 UpdateKxDataviewCommand extends UpdateKxDataviewCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateKxDataviewRequest; output: UpdateKxDataviewResponse; }; sdk: { input: UpdateKxDataviewCommandInput; output: UpdateKxDataviewCommandOutput; }; }; }