import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeHapgRequest, DescribeHapgResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeHapgCommand}. */ export interface DescribeHapgCommandInput extends DescribeHapgRequest { } /** * @public * * The output of {@link DescribeHapgCommand}. */ export interface DescribeHapgCommandOutput extends DescribeHapgResponse, __MetadataBearer { } declare const DescribeHapgCommand_base: { new (input: DescribeHapgCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeHapgCommandInput): 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.

*

Retrieves information about a high-availability partition group.

* * @deprecated This API is deprecated. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudHSMClient, DescribeHapgCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import * // const { CloudHSMClient, DescribeHapgCommand } = 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 = { // DescribeHapgRequest * HapgArn: "STRING_VALUE", // required * }; * const command = new DescribeHapgCommand(input); * const response = await client.send(command); * // { // DescribeHapgResponse * // HapgArn: "STRING_VALUE", * // HapgSerial: "STRING_VALUE", * // HsmsLastActionFailed: [ // HsmList * // "STRING_VALUE", * // ], * // HsmsPendingDeletion: [ * // "STRING_VALUE", * // ], * // HsmsPendingRegistration: [ * // "STRING_VALUE", * // ], * // Label: "STRING_VALUE", * // LastModifiedTimestamp: "STRING_VALUE", * // PartitionSerialList: [ // PartitionSerialList * // "STRING_VALUE", * // ], * // State: "READY" || "UPDATING" || "DEGRADED", * // }; * * ``` * * @param DescribeHapgCommandInput - {@link DescribeHapgCommandInput} * @returns {@link DescribeHapgCommandOutput} * @see {@link DescribeHapgCommandInput} for command's `input` shape. * @see {@link DescribeHapgCommandOutput} 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 DescribeHapgCommand extends DescribeHapgCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeHapgRequest; output: DescribeHapgResponse; }; sdk: { input: DescribeHapgCommandInput; output: DescribeHapgCommandOutput; }; }; }