Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.

Commit 7d4d30a

Browse files
committed
Fixed a bug in the EC2 client and added the ability to describe and download DB log files to the RDS client
1 parent 2c33257 commit 7d4d30a

File tree

2 files changed

+113
-75
lines changed

2 files changed

+113
-75
lines changed

services/ec2.class.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*
3030
* Visit <a href="http://aws.amazon.com/ec2/">http://aws.amazon.com/ec2/</a> for more information.
3131
*
32-
* @version 2013.03.08
32+
* @version 2013.03.14
3333
* @license See the included NOTICE.md file for complete information.
3434
* @copyright See the included NOTICE.md file for complete information.
3535
* @link http://aws.amazon.com/ec2/ Amazon EC2
@@ -3505,8 +3505,7 @@ public function describe_volumes($opt = null)
35053505
*
35063506
* @param string $vpc_id (Required)
35073507
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3508-
* <li><code>EnableDnsSupport</code> - <code>string</code> - Optional - </li>
3509-
* <li><code>EnableDnsHostnames</code> - <code>string</code> - Optional - </li>
3508+
* <li><code>Attribute</code> - <code>string</code> - Optional - [Allowed values: <code>enableDnsSupport</code>, <code>enableDnsHostnames</code>]</li>
35103509
* <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <code>curl_setopt()</code>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
35113510
* <li><code>returnCurlHandle</code> - <code>boolean</code> - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.</li></ul>
35123511
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
@@ -4365,18 +4364,19 @@ public function modify_volume_attribute($volume_id, $opt = null)
43654364
/**
43664365
*
43674366
*
4367+
* @param string $vpc_id (Required)
43684368
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
4369-
* <li><code>VpcId</code> - <code>string</code> - Optional - </li>
43704369
* <li><code>EnableDnsSupport.Value</code> - <code>boolean</code> - Optional - Boolean value</li>
43714370
* <li><code>EnableDnsHostnames.Value</code> - <code>boolean</code> - Optional - Boolean value</li>
43724371
* <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <code>curl_setopt()</code>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
43734372
* <li><code>returnCurlHandle</code> - <code>boolean</code> - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.</li></ul>
43744373
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
43754374
*/
4376-
public function modify_vpc_attribute($opt = null)
4375+
public function modify_vpc_attribute($vpc_id, $opt = null)
43774376
{
43784377
if (!$opt) $opt = array();
4379-
4378+
$opt['VpcId'] = $vpc_id;
4379+
43804380
return $this->authenticate('ModifyVpcAttribute', $opt);
43814381
}
43824382

0 commit comments

Comments
 (0)