import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeResizeMessage, ResizeProgressMessage } from "../models/models_0"; import type { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeResizeCommand}. */ export interface DescribeResizeCommandInput extends DescribeResizeMessage { } /** * @public * * The output of {@link DescribeResizeCommand}. */ export interface DescribeResizeCommandOutput extends ResizeProgressMessage, __MetadataBearer { } declare const DescribeResizeCommand_base: { new (input: DescribeResizeCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeResizeCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns information about the last resize operation for the specified cluster. If * no resize operation has ever been initiated for the specified cluster, a HTTP * 404 error is returned. If a resize operation was initiated and completed, the * status of the resize remains as SUCCEEDED until the next resize.

*

A resize operation can be requested using ModifyCluster and * specifying a different number or type of nodes for the cluster.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DescribeResizeCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DescribeResizeCommand } = require("@aws-sdk/client-redshift"); // CommonJS import * // import type { RedshiftClientConfig } from "@aws-sdk/client-redshift"; * const config = {}; // type is RedshiftClientConfig * const client = new RedshiftClient(config); * const input = { // DescribeResizeMessage * ClusterIdentifier: "STRING_VALUE", // required * }; * const command = new DescribeResizeCommand(input); * const response = await client.send(command); * // { // ResizeProgressMessage * // TargetNodeType: "STRING_VALUE", * // TargetNumberOfNodes: Number("int"), * // TargetClusterType: "STRING_VALUE", * // Status: "STRING_VALUE", * // ImportTablesCompleted: [ // ImportTablesCompleted * // "STRING_VALUE", * // ], * // ImportTablesInProgress: [ // ImportTablesInProgress * // "STRING_VALUE", * // ], * // ImportTablesNotStarted: [ // ImportTablesNotStarted * // "STRING_VALUE", * // ], * // AvgResizeRateInMegaBytesPerSecond: Number("double"), * // TotalResizeDataInMegaBytes: Number("long"), * // ProgressInMegaBytes: Number("long"), * // ElapsedTimeInSeconds: Number("long"), * // EstimatedTimeToCompletionInSeconds: Number("long"), * // ResizeType: "STRING_VALUE", * // Message: "STRING_VALUE", * // TargetEncryptionType: "STRING_VALUE", * // DataTransferProgressPercent: Number("double"), * // }; * * ``` * * @param DescribeResizeCommandInput - {@link DescribeResizeCommandInput} * @returns {@link DescribeResizeCommandOutput} * @see {@link DescribeResizeCommandInput} for command's `input` shape. * @see {@link DescribeResizeCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link ClusterNotFoundFault} (client fault) *

The ClusterIdentifier parameter does not refer to an existing cluster. *

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

A resize operation for the specified cluster is not found.

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

The requested operation isn't supported.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DescribeResizeCommand extends DescribeResizeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeResizeMessage; output: ResizeProgressMessage; }; sdk: { input: DescribeResizeCommandInput; output: DescribeResizeCommandOutput; }; }; }