Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

UpdateApplicationVersion - AWS Elastic Beanstalk

UpdateApplicationVersion

Updates the specified application version to have the specified properties.

Note

If a property (for example, description) is not provided, the value remains unchanged. To clear properties, specify an empty string.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

ApplicationName

The name of the application associated with this version.

If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Required: Yes

Description

A new description for this version.

Type: String

Length Constraints: Maximum length of 200.

Required: No

VersionLabel

The name of the version to update.

If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Required: Yes

Response Elements

The following element is returned by the service.

ApplicationVersion

The ApplicationVersionDescription of the application version.

Type: ApplicationVersionDescription object

Errors

For information about the errors that are common to all actions, see Common Errors.

Examples

Example

This example illustrates one usage of UpdateApplicationVersion.

Sample Request

https://elasticbeanstalk.us-west-2.amazonaws.com/?ApplicationName=SampleApp &VersionLabel=New%20Version &Description=New%20Release%20Description &Operation=UpdateApplicationVersion &AuthParams

Sample Response

<UpdateApplicationVersionResponse xmlns="https://elasticbeanstalk.amazonaws.com/docs/2010-12-01/"> <UpdateApplicationVersionResult> <ApplicationVersion> <SourceBundle> <S3Bucket>awsemr</S3Bucket> <S3Key>sample.war</S3Key> </SourceBundle> <VersionLabel>New Version</VersionLabel> <Description>New Release Description</Description> <ApplicationName>SampleApp</ApplicationName> <DateCreated>2010-11-17T19:26:20.699Z</DateCreated> <DateUpdated>2010-11-17T20:48:16.632Z</DateUpdated> </ApplicationVersion> </UpdateApplicationVersionResult> <ResponseMetadata> <RequestId>00b10aa1-f28c-11df-8a78-9f77047e0d0c</RequestId> </ResponseMetadata> </UpdateApplicationVersionResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.