import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetKxConnectionStringRequest, GetKxConnectionStringResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetKxConnectionStringCommand}. */ export interface GetKxConnectionStringCommandInput extends GetKxConnectionStringRequest { } /** * @public * * The output of {@link GetKxConnectionStringCommand}. */ export interface GetKxConnectionStringCommandOutput extends GetKxConnectionStringResponse, __MetadataBearer { } declare const GetKxConnectionStringCommand_base: { new (input: GetKxConnectionStringCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetKxConnectionStringCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves a connection string for a user to connect to a kdb cluster. You must call this API using the same role that you have defined while creating a user.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FinspaceClient, GetKxConnectionStringCommand } from "@aws-sdk/client-finspace"; // ES Modules import * // const { FinspaceClient, GetKxConnectionStringCommand } = 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 = { // GetKxConnectionStringRequest * userArn: "STRING_VALUE", // required * environmentId: "STRING_VALUE", // required * clusterName: "STRING_VALUE", // required * }; * const command = new GetKxConnectionStringCommand(input); * const response = await client.send(command); * // { // GetKxConnectionStringResponse * // signedConnectionString: "STRING_VALUE", * // }; * * ``` * * @param GetKxConnectionStringCommandInput - {@link GetKxConnectionStringCommandInput} * @returns {@link GetKxConnectionStringCommandOutput} * @see {@link GetKxConnectionStringCommandInput} for command's `input` shape. * @see {@link GetKxConnectionStringCommandOutput} 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 InternalServerException} (server fault) *

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

* * @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 GetKxConnectionStringCommand extends GetKxConnectionStringCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetKxConnectionStringRequest; output: GetKxConnectionStringResponse; }; sdk: { input: GetKxConnectionStringCommandInput; output: GetKxConnectionStringCommandOutput; }; }; }