import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeWorkspaceSnapshotsRequest, DescribeWorkspaceSnapshotsResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeWorkspaceSnapshotsCommand}. */ export interface DescribeWorkspaceSnapshotsCommandInput extends DescribeWorkspaceSnapshotsRequest { } /** * @public * * The output of {@link DescribeWorkspaceSnapshotsCommand}. */ export interface DescribeWorkspaceSnapshotsCommandOutput extends DescribeWorkspaceSnapshotsResult, __MetadataBearer { } declare const DescribeWorkspaceSnapshotsCommand_base: { new (input: DescribeWorkspaceSnapshotsCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeWorkspaceSnapshotsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes the snapshots for the specified WorkSpace.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WorkSpacesClient, DescribeWorkspaceSnapshotsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import * // const { WorkSpacesClient, DescribeWorkspaceSnapshotsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import * // import type { WorkSpacesClientConfig } from "@aws-sdk/client-workspaces"; * const config = {}; // type is WorkSpacesClientConfig * const client = new WorkSpacesClient(config); * const input = { // DescribeWorkspaceSnapshotsRequest * WorkspaceId: "STRING_VALUE", // required * }; * const command = new DescribeWorkspaceSnapshotsCommand(input); * const response = await client.send(command); * // { // DescribeWorkspaceSnapshotsResult * // RebuildSnapshots: [ // SnapshotList * // { // Snapshot * // SnapshotTime: new Date("TIMESTAMP"), * // }, * // ], * // RestoreSnapshots: [ * // { * // SnapshotTime: new Date("TIMESTAMP"), * // }, * // ], * // }; * * ``` * * @param DescribeWorkspaceSnapshotsCommandInput - {@link DescribeWorkspaceSnapshotsCommandInput} * @returns {@link DescribeWorkspaceSnapshotsCommandOutput} * @see {@link DescribeWorkspaceSnapshotsCommandInput} for command's `input` shape. * @see {@link DescribeWorkspaceSnapshotsCommandOutput} for command's `response` shape. * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The user is not authorized to access a resource.

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

One or more parameter values are not valid.

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

The resource could not be found.

* * @throws {@link WorkSpacesServiceException} *

Base exception class for all service exceptions from WorkSpaces service.

* * * @public */ export declare class DescribeWorkspaceSnapshotsCommand extends DescribeWorkspaceSnapshotsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeWorkspaceSnapshotsRequest; output: DescribeWorkspaceSnapshotsResult; }; sdk: { input: DescribeWorkspaceSnapshotsCommandInput; output: DescribeWorkspaceSnapshotsCommandOutput; }; }; }