|
29 | 29 | * |
30 | 30 | * Visit <a href="http://aws.amazon.com/ec2/">http://aws.amazon.com/ec2/</a> for more information. |
31 | 31 | * |
32 | | - * @version 2013.03.08 |
| 32 | + * @version 2013.03.14 |
33 | 33 | * @license See the included NOTICE.md file for complete information. |
34 | 34 | * @copyright See the included NOTICE.md file for complete information. |
35 | 35 | * @link http://aws.amazon.com/ec2/ Amazon EC2 |
@@ -3505,8 +3505,7 @@ public function describe_volumes($opt = null) |
3505 | 3505 | * |
3506 | 3506 | * @param string $vpc_id (Required) |
3507 | 3507 | * @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> |
3510 | 3509 | * <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> |
3511 | 3510 | * <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> |
3512 | 3511 | * @return CFResponse A <CFResponse> object containing a parsed HTTP response. |
@@ -4365,18 +4364,19 @@ public function modify_volume_attribute($volume_id, $opt = null) |
4365 | 4364 | /** |
4366 | 4365 | * |
4367 | 4366 | * |
| 4367 | + * @param string $vpc_id (Required) |
4368 | 4368 | * @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> |
4370 | 4369 | * <li><code>EnableDnsSupport.Value</code> - <code>boolean</code> - Optional - Boolean value</li> |
4371 | 4370 | * <li><code>EnableDnsHostnames.Value</code> - <code>boolean</code> - Optional - Boolean value</li> |
4372 | 4371 | * <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> |
4373 | 4372 | * <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> |
4374 | 4373 | * @return CFResponse A <CFResponse> object containing a parsed HTTP response. |
4375 | 4374 | */ |
4376 | | - public function modify_vpc_attribute($opt = null) |
| 4375 | + public function modify_vpc_attribute($vpc_id, $opt = null) |
4377 | 4376 | { |
4378 | 4377 | if (!$opt) $opt = array(); |
4379 | | - |
| 4378 | + $opt['VpcId'] = $vpc_id; |
| 4379 | + |
4380 | 4380 | return $this->authenticate('ModifyVpcAttribute', $opt); |
4381 | 4381 | } |
4382 | 4382 |
|
|
0 commit comments