import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteWorkspaceImageRequest, DeleteWorkspaceImageResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteWorkspaceImageCommand}. */ export interface DeleteWorkspaceImageCommandInput extends DeleteWorkspaceImageRequest { } /** * @public * * The output of {@link DeleteWorkspaceImageCommand}. */ export interface DeleteWorkspaceImageCommandOutput extends DeleteWorkspaceImageResult, __MetadataBearer { } declare const DeleteWorkspaceImageCommand_base: { new (input: DeleteWorkspaceImageCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteWorkspaceImageCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the specified image from your account. To delete an image, you must first delete * any bundles that are associated with the image and unshare the image if it is shared with * other accounts.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WorkSpacesClient, DeleteWorkspaceImageCommand } from "@aws-sdk/client-workspaces"; // ES Modules import * // const { WorkSpacesClient, DeleteWorkspaceImageCommand } = 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 = { // DeleteWorkspaceImageRequest * ImageId: "STRING_VALUE", // required * }; * const command = new DeleteWorkspaceImageCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteWorkspaceImageCommandInput - {@link DeleteWorkspaceImageCommandInput} * @returns {@link DeleteWorkspaceImageCommandOutput} * @see {@link DeleteWorkspaceImageCommandInput} for command's `input` shape. * @see {@link DeleteWorkspaceImageCommandOutput} 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 InvalidResourceStateException} (client fault) *

The state of the resource is not valid for this operation.

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

The resource is associated with a directory.

* * @throws {@link WorkSpacesServiceException} *

Base exception class for all service exceptions from WorkSpaces service.

* * * @public */ export declare class DeleteWorkspaceImageCommand extends DeleteWorkspaceImageCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteWorkspaceImageRequest; output: {}; }; sdk: { input: DeleteWorkspaceImageCommandInput; output: DeleteWorkspaceImageCommandOutput; }; }; }