import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateKxClusterCodeConfigurationRequest, UpdateKxClusterCodeConfigurationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateKxClusterCodeConfigurationCommand}. */ export interface UpdateKxClusterCodeConfigurationCommandInput extends UpdateKxClusterCodeConfigurationRequest { } /** * @public * * The output of {@link UpdateKxClusterCodeConfigurationCommand}. */ export interface UpdateKxClusterCodeConfigurationCommandOutput extends UpdateKxClusterCodeConfigurationResponse, __MetadataBearer { } declare const UpdateKxClusterCodeConfigurationCommand_base: { new (input: UpdateKxClusterCodeConfigurationCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateKxClusterCodeConfigurationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* Allows you to update code configuration on a running cluster. By using this API you can update the code, the initialization script path, and the command line arguments for a specific cluster. * The configuration that you want to update will override any existing configurations on the cluster. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FinspaceClient, UpdateKxClusterCodeConfigurationCommand } from "@aws-sdk/client-finspace"; // ES Modules import * // const { FinspaceClient, UpdateKxClusterCodeConfigurationCommand } = 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 = { // UpdateKxClusterCodeConfigurationRequest * environmentId: "STRING_VALUE", // required * clusterName: "STRING_VALUE", // required * clientToken: "STRING_VALUE", * code: { // CodeConfiguration * s3Bucket: "STRING_VALUE", * s3Key: "STRING_VALUE", * s3ObjectVersion: "STRING_VALUE", * }, * initializationScript: "STRING_VALUE", * commandLineArguments: [ // KxCommandLineArguments * { // KxCommandLineArgument * key: "STRING_VALUE", * value: "STRING_VALUE", * }, * ], * deploymentConfiguration: { // KxClusterCodeDeploymentConfiguration * deploymentStrategy: "NO_RESTART" || "ROLLING" || "FORCE", // required * }, * }; * const command = new UpdateKxClusterCodeConfigurationCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateKxClusterCodeConfigurationCommandInput - {@link UpdateKxClusterCodeConfigurationCommandInput} * @returns {@link UpdateKxClusterCodeConfigurationCommandOutput} * @see {@link UpdateKxClusterCodeConfigurationCommandInput} for command's `input` shape. * @see {@link UpdateKxClusterCodeConfigurationCommandOutput} 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 UpdateKxClusterCodeConfigurationCommand extends UpdateKxClusterCodeConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateKxClusterCodeConfigurationRequest; output: {}; }; sdk: { input: UpdateKxClusterCodeConfigurationCommandInput; output: UpdateKxClusterCodeConfigurationCommandOutput; }; }; }