Deletes the draft configuration associated with the running environment.
Updating a running environment with any configuration changes creates a draft configuration
set. You can get the draft configuration using DescribeConfigurationSettings
while
the update is in progress or if the update fails. The DeploymentStatus
for the
draft configuration indicates whether the deployment is in process or has failed. The draft
configuration remains in existence until it is deleted with this action.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The name of the application the environment is associated with. |
|
|
Required |
The name of the environment to delete the draft configuration from. |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Delete an environment configuration.
// Instantiate the class $bean = new AmazonElasticBeanstalk(); $response = $bean->delete_environment_configuration('my-application', 'my-environment'); // 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