Updates the specified application version to have the specified properties.
If a property (for example, description
) is not provided, the value remains
unchanged. To clear properties, specify an empty string.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The name of the application associated with this version. If no application is found with this name, |
|
|
Required |
The name of the version to update. If no application version is found with this label, |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Update an application version.
// Instantiate the class $bean = new AmazonElasticBeanstalk(); $response = $bean->update_application_version('my-application', '1.0', array( 'Description' => 'This is an updated application version description.' )); // Success? var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/elasticbeanstalk.class.php | Toggle source view (8 lines) | View on GitHub