Menu
AWS Elastic Beanstalk
API Reference (API Version 2010-12-01)

UpdateApplication

Updates the specified application to have the specified properties.

Note

If a property (for example, description) is not provided, the value remains unchanged. To clear these 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 to update. If no such application is found, UpdateApplication returns an InvalidParameterValue error.

Type: String

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

Required: Yes

Description

A new description for the application.

Default: If not specified, AWS Elastic Beanstalk does not update the description.

Type: String

Length Constraints: Maximum length of 200.

Required: No

Response Elements

The following element is returned by the service.

Application

The ApplicationDescription of the application.

Type: ApplicationDescription object

Errors

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

Example

Sample Request

https://elasticbeanstalk.us-west-2.amazonaws.com/?ApplicationName=SampleApp
&Description=Another%20Description
&Operation=UpdateApplication
&AuthParams 
        

Sample Response

<UpdateApplicationResponse xmlns="https://elasticbeanstalk.amazonaws.com/docs/2010-12-01/">
  <UpdateApplicationResult>
    <Application>
      <Versions>
        <member>New Version</member>
      </Versions>
      <Description>Another Description</Description>
      <ApplicationName>SampleApp</ApplicationName>
      <DateCreated>2010-11-17T19:26:20.410Z</DateCreated>
      <DateUpdated>2010-11-17T20:42:54.611Z</DateUpdated>
      <ConfigurationTemplates>
        <member>Default</member>
      </ConfigurationTemplates>
    </Application>
  </UpdateApplicationResult>
  <ResponseMetadata>
    <RequestId>40be666b-f28b-11df-8a78-9f77047e0d0c</RequestId>
  </ResponseMetadata>
</UpdateApplicationResponse>
        

See Also

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