import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateDeploymentInput, UpdateDeploymentOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateDeploymentCommand}. */ export interface UpdateDeploymentCommandInput extends UpdateDeploymentInput { } /** * @public * * The output of {@link UpdateDeploymentCommand}. */ export interface UpdateDeploymentCommandOutput extends UpdateDeploymentOutput, __MetadataBearer { } declare const UpdateDeploymentCommand_base: { new (input: UpdateDeploymentCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateDeploymentCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates a deployment.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { LaunchWizardClient, UpdateDeploymentCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import * // const { LaunchWizardClient, UpdateDeploymentCommand } = 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 = { // UpdateDeploymentInput * deploymentId: "STRING_VALUE", // required * specifications: { // DeploymentSpecifications // required * "": "STRING_VALUE", * }, * workloadVersionName: "STRING_VALUE", * deploymentPatternVersionName: "STRING_VALUE", * dryRun: true || false, * force: true || false, * }; * const command = new UpdateDeploymentCommand(input); * const response = await client.send(command); * // { // UpdateDeploymentOutput * // deployment: { // DeploymentDataSummary * // name: "STRING_VALUE", * // id: "STRING_VALUE", * // workloadName: "STRING_VALUE", * // patternName: "STRING_VALUE", * // status: "COMPLETED" || "CREATING" || "DELETE_IN_PROGRESS" || "DELETE_INITIATING" || "DELETE_FAILED" || "DELETED" || "FAILED" || "IN_PROGRESS" || "VALIDATING" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETED" || "UPDATE_FAILED" || "UPDATE_ROLLBACK_COMPLETED" || "UPDATE_ROLLBACK_FAILED", * // createdAt: new Date("TIMESTAMP"), * // modifiedAt: new Date("TIMESTAMP"), * // }, * // }; * * ``` * * @param UpdateDeploymentCommandInput - {@link UpdateDeploymentCommandInput} * @returns {@link UpdateDeploymentCommandOutput} * @see {@link UpdateDeploymentCommandInput} for command's `input` shape. * @see {@link UpdateDeploymentCommandOutput} 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 Edit deployment specifications. * ```javascript * // * const input = { * deploymentId: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d", * dryRun: false, * specifications: { * CreateSecurityGroup: "No", * DeploymentArtifactsS3Uri: "aws-bucket-name", * DisableDeploymentRollback: "No", * EnableEbsVolumeEncryption: "No", * KeyPairName: "keyName", * ProxyServerAddress: "http://mno.abc.com:8080", * SapSysGroupId: "5003", * SapVirtualIPOptIn: "No", * SaveDeploymentArtifacts: "Yes", * SnsTopicArn: "arn:aws:sns:us-east-1:111111222222:snsNameUsEast1.fifo", * Timezone: "Pacific/Wake", * VpcId: "vpc-1234567" * } * }; * const command = new UpdateDeploymentCommand(input); * const response = await client.send(command); * /* response is * { * deployment: { * createdAt: 1736286728468, * id: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d", * name: "TestDeployment1", * patternName: "SapHanaSingle", * status: "UPDATE_IN_PROGRESS", * workloadName: "SAP" * } * } * *\/ * ``` * * @example Update deployment version. * ```javascript * // * const input = { * deploymentId: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d", * deploymentPatternVersionName: "2.0.0", * dryRun: false, * specifications: { * CreateSecurityGroup: "No", * DeploymentArtifactsS3Uri: "aws-bucket-name", * DisableDeploymentRollback: "No", * EnableEbsVolumeEncryption: "No", * KeyPairName: "keyName", * NewParameter: "Allow", * ProxyServerAddress: "http://mno.abc.com:8080", * SapSysGroupId: "5003", * SapVirtualIPOptIn: "No", * SaveDeploymentArtifacts: "Yes", * SnsTopicArn: "arn:aws:sns:us-east-1:111111222222:snsNameUsEast1.fifo", * Timezone: "Pacific/Wake", * VpcId: "vpc-1234567" * } * }; * const command = new UpdateDeploymentCommand(input); * const response = await client.send(command); * /* response is * { * deployment: { * createdAt: 1736286728468, * id: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d", * name: "TestDeployment1", * patternName: "SapHanaSingle", * status: "UPDATE_IN_PROGRESS", * workloadName: "SAP" * } * } * *\/ * ``` * * @public */ export declare class UpdateDeploymentCommand extends UpdateDeploymentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateDeploymentInput; output: UpdateDeploymentOutput; }; sdk: { input: UpdateDeploymentCommandInput; output: UpdateDeploymentCommandOutput; }; }; }