import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetConfigRequest, GetConfigResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetConfigCommand}. */ export interface GetConfigCommandInput extends GetConfigRequest { } /** * @public * * The output of {@link GetConfigCommand}. */ export interface GetConfigCommandOutput extends GetConfigResponse, __MetadataBearer { } declare const GetConfigCommand_base: { new (input: GetConfigCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetConfigCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

This is documentation for AWS CloudHSM Classic. For * more information, see AWS CloudHSM * Classic FAQs, the AWS * CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

*

* For information about the current version of AWS * CloudHSM, see AWS CloudHSM, the * AWS CloudHSM User Guide, * and the AWS CloudHSM API * Reference.

*

Gets the configuration files necessary to connect to all high availability partition * groups the client is associated with.

* * @deprecated This API is deprecated. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudHSMClient, GetConfigCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import * // const { CloudHSMClient, GetConfigCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import * // import type { CloudHSMClientConfig } from "@aws-sdk/client-cloudhsm"; * const config = {}; // type is CloudHSMClientConfig * const client = new CloudHSMClient(config); * const input = { // GetConfigRequest * ClientArn: "STRING_VALUE", // required * ClientVersion: "5.1" || "5.3", // required * HapgList: [ // HapgList // required * "STRING_VALUE", * ], * }; * const command = new GetConfigCommand(input); * const response = await client.send(command); * // { // GetConfigResponse * // ConfigType: "STRING_VALUE", * // ConfigFile: "STRING_VALUE", * // ConfigCred: "STRING_VALUE", * // }; * * ``` * * @param GetConfigCommandInput - {@link GetConfigCommandInput} * @returns {@link GetConfigCommandOutput} * @see {@link GetConfigCommandInput} for command's `input` shape. * @see {@link GetConfigCommandOutput} for command's `response` shape. * @see {@link CloudHSMClientResolvedConfig | config} for CloudHSMClient's `config` shape. * * @throws {@link CloudHsmInternalException} (server fault) *

Indicates that an internal error occurred.

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

Indicates that an exception occurred in the AWS CloudHSM service.

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

Indicates that one or more of the request parameters are not valid.

* * @throws {@link CloudHSMServiceException} *

Base exception class for all service exceptions from CloudHSM service.

* * * @public */ export declare class GetConfigCommand extends GetConfigCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetConfigRequest; output: GetConfigResponse; }; sdk: { input: GetConfigCommandInput; output: GetConfigCommandOutput; }; }; }