import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetClusterInput, GetClusterOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetClusterCommand}. */ export interface GetClusterCommandInput extends GetClusterInput { } /** * @public * * The output of {@link GetClusterCommand}. */ export interface GetClusterCommandOutput extends GetClusterOutput, __MetadataBearer { } declare const GetClusterCommand_base: { new (input: GetClusterCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetClusterCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves information about a cluster.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DSQLClient, GetClusterCommand } from "@aws-sdk/client-dsql"; // ES Modules import * // const { DSQLClient, GetClusterCommand } = require("@aws-sdk/client-dsql"); // CommonJS import * // import type { DSQLClientConfig } from "@aws-sdk/client-dsql"; * const config = {}; // type is DSQLClientConfig * const client = new DSQLClient(config); * const input = { // GetClusterInput * identifier: "STRING_VALUE", // required * }; * const command = new GetClusterCommand(input); * const response = await client.send(command); * // { // GetClusterOutput * // identifier: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // status: "CREATING" || "ACTIVE" || "IDLE" || "INACTIVE" || "UPDATING" || "DELETING" || "DELETED" || "FAILED" || "PENDING_SETUP" || "PENDING_DELETE", // required * // creationTime: new Date("TIMESTAMP"), // required * // deletionProtectionEnabled: true || false, // required * // multiRegionProperties: { // MultiRegionProperties * // witnessRegion: "STRING_VALUE", * // clusters: [ // ClusterArnList * // "STRING_VALUE", * // ], * // }, * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // encryptionDetails: { // EncryptionDetails * // encryptionType: "AWS_OWNED_KMS_KEY" || "CUSTOMER_MANAGED_KMS_KEY", // required * // kmsKeyArn: "STRING_VALUE", * // encryptionStatus: "ENABLED" || "UPDATING" || "KMS_KEY_INACCESSIBLE" || "ENABLING", // required * // }, * // endpoint: "STRING_VALUE", * // }; * * ``` * * @param GetClusterCommandInput - {@link GetClusterCommandInput} * @returns {@link GetClusterCommandOutput} * @see {@link GetClusterCommandInput} for command's `input` shape. * @see {@link GetClusterCommandOutput} for command's `response` shape. * @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape. * * @throws {@link ResourceNotFoundException} (client fault) *

The resource could not be found.

* * @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 ThrottlingException} (client fault) *

The request was denied due to request throttling.

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

The input failed to satisfy the constraints specified by an Amazon Web Services service.

* * @throws {@link DSQLServiceException} *

Base exception class for all service exceptions from DSQL service.

* * * @example Get Cluster * ```javascript * // * const input = { * identifier: "kiqenqglxyl2snyvkvnj2c3s2e" * }; * const command = new GetClusterCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class GetClusterCommand extends GetClusterCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetClusterInput; output: GetClusterOutput; }; sdk: { input: GetClusterCommandInput; output: GetClusterCommandOutput; }; }; }