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

Modifies the settings for a set of cluster snapshots.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, BatchModifyClusterSnapshotsCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, BatchModifyClusterSnapshotsCommand } = 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 = { // BatchModifyClusterSnapshotsMessage * SnapshotIdentifierList: [ // SnapshotIdentifierList // required * "STRING_VALUE", * ], * ManualSnapshotRetentionPeriod: Number("int"), * Force: true || false, * }; * const command = new BatchModifyClusterSnapshotsCommand(input); * const response = await client.send(command); * // { // BatchModifyClusterSnapshotsOutputMessage * // Resources: [ // SnapshotIdentifierList * // "STRING_VALUE", * // ], * // Errors: [ // BatchSnapshotOperationErrors * // { // SnapshotErrorMessage * // SnapshotIdentifier: "STRING_VALUE", * // SnapshotClusterIdentifier: "STRING_VALUE", * // FailureCode: "STRING_VALUE", * // FailureReason: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchModifyClusterSnapshotsCommandInput - {@link BatchModifyClusterSnapshotsCommandInput} * @returns {@link BatchModifyClusterSnapshotsCommandOutput} * @see {@link BatchModifyClusterSnapshotsCommandInput} for command's `input` shape. * @see {@link BatchModifyClusterSnapshotsCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link BatchModifyClusterSnapshotsLimitExceededFault} (client fault) *

The maximum number for snapshot identifiers has been reached. The limit is 100. *

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

The retention period specified is either in the past or is not a valid value.

*

The value must be either -1 or an integer between 1 and 3,653.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class BatchModifyClusterSnapshotsCommand extends BatchModifyClusterSnapshotsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchModifyClusterSnapshotsMessage; output: BatchModifyClusterSnapshotsOutputMessage; }; sdk: { input: BatchModifyClusterSnapshotsCommandInput; output: BatchModifyClusterSnapshotsCommandOutput; }; }; }