import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateDeploymentInput, CreateDeploymentOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateDeploymentCommand}. */ export interface CreateDeploymentCommandInput extends CreateDeploymentInput { } /** * @public * * The output of {@link CreateDeploymentCommand}. */ export interface CreateDeploymentCommandOutput extends CreateDeploymentOutput, __MetadataBearer { } declare const CreateDeploymentCommand_base: { new (input: CreateDeploymentCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateDeploymentCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a deployment for the given workload. Deployments created by this operation are not available in the Launch Wizard console to use the Clone deployment action on.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { LaunchWizardClient, CreateDeploymentCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import * // const { LaunchWizardClient, CreateDeploymentCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import * // import type { LaunchWizardClientConfig } from "@aws-sdk/client-launch-wizard"; * const config = {}; // type is LaunchWizardClientConfig * const client = new LaunchWizardClient(config); * const input = { // CreateDeploymentInput * workloadName: "STRING_VALUE", // required * deploymentPatternName: "STRING_VALUE", // required * name: "STRING_VALUE", // required * specifications: { // DeploymentSpecifications // required * "": "STRING_VALUE", * }, * dryRun: true || false, * tags: { // Tags * "": "STRING_VALUE", * }, * }; * const command = new CreateDeploymentCommand(input); * const response = await client.send(command); * // { // CreateDeploymentOutput * // deploymentId: "STRING_VALUE", * // }; * * ``` * * @param CreateDeploymentCommandInput - {@link CreateDeploymentCommandInput} * @returns {@link CreateDeploymentCommandOutput} * @see {@link CreateDeploymentCommandInput} for command's `input` shape. * @see {@link CreateDeploymentCommandOutput} for command's `response` shape. * @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An internal error has occurred. Retry your request, but if the problem persists, contact us with details by posting a question on re:Post.

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

You have exceeded an Launch Wizard resource limit. For example, you might have too many deployments in progress.

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

The specified workload or deployment resource can't be found.

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

The input fails to satisfy the constraints specified by an Amazon Web Services service.

* * @throws {@link LaunchWizardServiceException} *

Base exception class for all service exceptions from LaunchWizard service.

* * * @example Deploy a given workload with given settings. * ```javascript * // * const input = { * deploymentPatternName: "SapHanaSingle", * dryRun: false, * name: "TestDeployment1", * specifications: { * CreateSecurityGroup: "No", * DisableDeploymentRollback: "Yes", * EnableEbsVolumeEncryption: "Yes", * KeyPairName: "keyName", * ProxyServerAddress: "http://xyz.abc.com:8080", * SapSysGroupId: "5003", * SapVirtualIPOptIn: "No", * SaveDeploymentArtifacts: "No", * SnsTopicArn: "arn:aws:sns:us-east-1:111111222222:snsNameUsEast1.fifo", * Timezone: "Pacific/Wake", * VpcId: "vpc-1234566" * }, * workloadName: "SAP" * }; * const command = new CreateDeploymentCommand(input); * const response = await client.send(command); * /* response is * { * deploymentId: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d" * } * *\/ * ``` * * @example Deploy a given workload with given settings and passing tags for Launch Wizard deployment resource. * ```javascript * // * const input = { * deploymentPatternName: "SapHanaSingle", * dryRun: false, * name: "TestDeployment2", * specifications: { * CreateSecurityGroup: "No", * DisableDeploymentRollback: "Yes", * EnableEbsVolumeEncryption: "Yes", * KeyPairName: "keyName", * ProxyServerAddress: "http://xyz.abc.com:8080", * SapSysGroupId: "5003", * SapVirtualIPOptIn: "No", * SaveDeploymentArtifacts: "No", * SnsTopicArn: "arn:aws:sns:us-east-1:111111222222:snsNameUsEast1.fifo", * Timezone: "Pacific/Wake", * VpcId: "vpc-1234566" * }, * tags: { * key1: "val1", * key2: "val2" * }, * workloadName: "SAP" * }; * const command = new CreateDeploymentCommand(input); * const response = await client.send(command); * /* response is * { * deploymentId: "1111111-1111-1111-1111-111111111111" * } * *\/ * ``` * * @public */ export declare class CreateDeploymentCommand extends CreateDeploymentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateDeploymentInput; output: CreateDeploymentOutput; }; sdk: { input: CreateDeploymentCommandInput; output: CreateDeploymentCommandOutput; }; }; }