Deletes the specified version from the specified application.
You cannot delete an application version that is associated with a running environment.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The name of the application to delete releases from. |
|
|
Required |
The label of the version to delete. |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Deletes an application version.
// Instantiate the class $bean = new AmazonElasticBeanstalk(); $response = $bean->delete_application_version('my-application', '1.0', array( 'DeleteSourceBundle' => 'true' )); // 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