import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { SnapshotSchedule } from "../models/models_0"; import type { ModifySnapshotScheduleMessage } from "../models/models_1"; import type { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ModifySnapshotScheduleCommand}. */ export interface ModifySnapshotScheduleCommandInput extends ModifySnapshotScheduleMessage { } /** * @public * * The output of {@link ModifySnapshotScheduleCommand}. */ export interface ModifySnapshotScheduleCommandOutput extends SnapshotSchedule, __MetadataBearer { } declare const ModifySnapshotScheduleCommand_base: { new (input: ModifySnapshotScheduleCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ModifySnapshotScheduleCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Modifies a snapshot schedule. Any schedule associated with a cluster is modified * asynchronously.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, ModifySnapshotScheduleCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, ModifySnapshotScheduleCommand } = 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 = { // ModifySnapshotScheduleMessage * ScheduleIdentifier: "STRING_VALUE", // required * ScheduleDefinitions: [ // ScheduleDefinitionList // required * "STRING_VALUE", * ], * }; * const command = new ModifySnapshotScheduleCommand(input); * const response = await client.send(command); * // { // SnapshotSchedule * // ScheduleDefinitions: [ // ScheduleDefinitionList * // "STRING_VALUE", * // ], * // ScheduleIdentifier: "STRING_VALUE", * // ScheduleDescription: "STRING_VALUE", * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // NextInvocations: [ // ScheduledSnapshotTimeList * // new Date("TIMESTAMP"), * // ], * // AssociatedClusterCount: Number("int"), * // AssociatedClusters: [ // AssociatedClusterList * // { // ClusterAssociatedToSchedule * // ClusterIdentifier: "STRING_VALUE", * // ScheduleAssociationState: "MODIFYING" || "ACTIVE" || "FAILED", * // }, * // ], * // }; * * ``` * * @param ModifySnapshotScheduleCommandInput - {@link ModifySnapshotScheduleCommandInput} * @returns {@link ModifySnapshotScheduleCommandOutput} * @see {@link ModifySnapshotScheduleCommandInput} for command's `input` shape. * @see {@link ModifySnapshotScheduleCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link InvalidScheduleFault} (client fault) *

The schedule you submitted isn't valid.

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

We could not find the specified snapshot schedule.

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

The specified snapshot schedule is already being updated.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class ModifySnapshotScheduleCommand extends ModifySnapshotScheduleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifySnapshotScheduleMessage; output: SnapshotSchedule; }; sdk: { input: ModifySnapshotScheduleCommandInput; output: ModifySnapshotScheduleCommandOutput; }; }; }