import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteSnapshotScheduleInput, DeleteSnapshotScheduleOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteSnapshotScheduleCommand}. */ export interface DeleteSnapshotScheduleCommandInput extends DeleteSnapshotScheduleInput { } /** * @public * * The output of {@link DeleteSnapshotScheduleCommand}. */ export interface DeleteSnapshotScheduleCommandOutput extends DeleteSnapshotScheduleOutput, __MetadataBearer { } declare const DeleteSnapshotScheduleCommand_base: { new (input: DeleteSnapshotScheduleCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteSnapshotScheduleCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a snapshot of a volume.

*

You can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API * action enables you to delete a snapshot schedule for a volume. For more information, see * Backing up your * volumes. In the DeleteSnapshotSchedule request, you identify the * volume by providing its Amazon Resource Name (ARN). This operation is only supported for * cached volume gateway types.

* *

To list or delete a snapshot, you must use the Amazon EC2 API. For more information, * go to DescribeSnapshots * in the Amazon Elastic Compute Cloud API Reference.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, DeleteSnapshotScheduleCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, DeleteSnapshotScheduleCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import * // import type { StorageGatewayClientConfig } from "@aws-sdk/client-storage-gateway"; * const config = {}; // type is StorageGatewayClientConfig * const client = new StorageGatewayClient(config); * const input = { // DeleteSnapshotScheduleInput * VolumeARN: "STRING_VALUE", // required * }; * const command = new DeleteSnapshotScheduleCommand(input); * const response = await client.send(command); * // { // DeleteSnapshotScheduleOutput * // VolumeARN: "STRING_VALUE", * // }; * * ``` * * @param DeleteSnapshotScheduleCommandInput - {@link DeleteSnapshotScheduleCommandInput} * @returns {@link DeleteSnapshotScheduleCommandOutput} * @see {@link DeleteSnapshotScheduleCommandInput} for command's `input` shape. * @see {@link DeleteSnapshotScheduleCommandOutput} for command's `response` shape. * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An internal server error has occurred during the request. For more information, see the * error and message fields.

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

An exception occurred because an invalid gateway request was issued to the service. For * more information, see the error and message fields.

* * @throws {@link StorageGatewayServiceException} *

Base exception class for all service exceptions from StorageGateway service.

* * * @example To delete a snapshot of a volume * ```javascript * // This action enables you to delete a snapshot schedule for a volume. * const input = { * VolumeARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" * }; * const command = new DeleteSnapshotScheduleCommand(input); * const response = await client.send(command); * /* response is * { * VolumeARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" * } * *\/ * ``` * * @public */ export declare class DeleteSnapshotScheduleCommand extends DeleteSnapshotScheduleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteSnapshotScheduleInput; output: DeleteSnapshotScheduleOutput; }; sdk: { input: DeleteSnapshotScheduleCommandInput; output: DeleteSnapshotScheduleCommandOutput; }; }; }