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