import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient"; import type { ImportDiskImageRequest, ImportDiskImageResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ImportDiskImageCommand}. */ export interface ImportDiskImageCommandInput extends ImportDiskImageRequest { } /** * @public * * The output of {@link ImportDiskImageCommand}. */ export interface ImportDiskImageCommandOutput extends ImportDiskImageResponse, __MetadataBearer { } declare const ImportDiskImageCommand_base: { new (input: ImportDiskImageCommandInput): import("@smithy/core/client").CommandImpl; new (input: ImportDiskImageCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Import a Windows operating system image from a verified Microsoft ISO disk * file. The following disk images are supported:

* * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ImagebuilderClient, ImportDiskImageCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import * // const { ImagebuilderClient, ImportDiskImageCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import * // import type { ImagebuilderClientConfig } from "@aws-sdk/client-imagebuilder"; * const config = {}; // type is ImagebuilderClientConfig * const client = new ImagebuilderClient(config); * const input = { // ImportDiskImageRequest * name: "STRING_VALUE", // required * semanticVersion: "STRING_VALUE", // required * description: "STRING_VALUE", * platform: "STRING_VALUE", // required * osVersion: "STRING_VALUE", // required * executionRole: "STRING_VALUE", * infrastructureConfigurationArn: "STRING_VALUE", // required * uri: "STRING_VALUE", // required * loggingConfiguration: { // ImageLoggingConfiguration * logGroupName: "STRING_VALUE", * }, * tags: { // TagMap * "": "STRING_VALUE", * }, * registerImageOptions: { // RegisterImageOptions * secureBootEnabled: true || false, * uefiData: "STRING_VALUE", * }, * windowsConfiguration: { // WindowsConfiguration * imageIndex: Number("long"), // required * }, * clientToken: "STRING_VALUE", // required * }; * const command = new ImportDiskImageCommand(input); * const response = await client.send(command); * // { // ImportDiskImageResponse * // clientToken: "STRING_VALUE", * // imageBuildVersionArn: "STRING_VALUE", * // }; * * ``` * * @param ImportDiskImageCommandInput - {@link ImportDiskImageCommandInput} * @returns {@link ImportDiskImageCommandOutput} * @see {@link ImportDiskImageCommandInput} for command's `input` shape. * @see {@link ImportDiskImageCommandOutput} for command's `response` shape. * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have permissions to perform the requested operation.

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

These errors are usually caused by a client action, such as using an action or * resource on behalf of a user that doesn't have permissions to use the action or * resource, or specifying an invalid resource identifier.

* * @throws {@link ServiceException} (server fault) *

This exception is thrown when the service encounters an unrecoverable * exception.

* * @throws {@link ServiceUnavailableException} (server fault) *

The service is unable to process your request at this time.

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

You have attempted too many requests for the specific operation.

* * @throws {@link ImagebuilderServiceException} *

Base exception class for all service exceptions from Imagebuilder service.

* * * @public */ export declare class ImportDiskImageCommand extends ImportDiskImageCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ImportDiskImageRequest; output: ImportDiskImageResponse; }; sdk: { input: ImportDiskImageCommandInput; output: ImportDiskImageCommandOutput; }; }; }