import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient"; import type { CopyImageRequest, CopyImageResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CopyImageCommand}. */ export interface CopyImageCommandInput extends CopyImageRequest { } /** * @public * * The output of {@link CopyImageCommand}. */ export interface CopyImageCommandOutput extends CopyImageResponse, __MetadataBearer { } declare const CopyImageCommand_base: { new (input: CopyImageCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CopyImageCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Copies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AppStreamClient, CopyImageCommand } from "@aws-sdk/client-appstream"; // ES Modules import * // const { AppStreamClient, CopyImageCommand } = require("@aws-sdk/client-appstream"); // CommonJS import * // import type { AppStreamClientConfig } from "@aws-sdk/client-appstream"; * const config = {}; // type is AppStreamClientConfig * const client = new AppStreamClient(config); * const input = { // CopyImageRequest * SourceImageName: "STRING_VALUE", // required * DestinationImageName: "STRING_VALUE", // required * DestinationRegion: "STRING_VALUE", // required * DestinationImageDescription: "STRING_VALUE", * }; * const command = new CopyImageCommand(input); * const response = await client.send(command); * // { // CopyImageResponse * // DestinationImageName: "STRING_VALUE", * // }; * * ``` * * @param CopyImageCommandInput - {@link CopyImageCommandInput} * @returns {@link CopyImageCommandOutput} * @see {@link CopyImageCommandInput} for command's `input` shape. * @see {@link CopyImageCommandOutput} for command's `response` shape. * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape. * * @throws {@link IncompatibleImageException} (client fault) *

The image can't be updated because it's not compatible for updates.

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

The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support.

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

The requested limit exceeds the permitted limit for an account.

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

The specified resource already exists.

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

The specified resource exists and is not in use, but isn't available.

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

The specified resource was not found.

* * @throws {@link AppStreamServiceException} *

Base exception class for all service exceptions from AppStream service.

* * * @public */ export declare class CopyImageCommand extends CopyImageCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CopyImageRequest; output: CopyImageResponse; }; sdk: { input: CopyImageCommandInput; output: CopyImageCommandOutput; }; }; }