Returns descriptions for existing environments.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Describe all environments.
// Instantiate the class $bean = new AmazonElasticBeanstalk(); $response = $bean->describe_environments(); // Success? var_dump($response->isOK());Result:
bool(true)
Describe environments for a specific application.
// Instantiate the class $bean = new AmazonElasticBeanstalk(); $response = $bean->describe_environments(array( 'ApplicationName' => 'my-application' )); // Success? var_dump($response->isOK());Result:
bool(true)
Related Methods
Source
Method defined in services/elasticbeanstalk.class.php | Toggle source view (30 lines) | View on GitHub