r88598 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88597‎ | r88598 | r88599 >
Date:19:44, 22 May 2011
Author:reedy
Status:deferred
Tags:
Comment:
Bump aws-sdk 1.3.3 Moogle
Modified paths:
  • /trunk/extensions/OpenStackManager/aws-sdk/_docs/CHANGELOG.md (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/_docs/NOTICE.md (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/extensions (added) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/extensions/s3browserupload.class.php (added) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/lib/requestcore/requestcore.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/sdk.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/as.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/cloudformation.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/cloudfront.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/cloudwatch.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/ec2.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/elasticbeanstalk.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/elb.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/iam.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/importexport.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/s3.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/sdb.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/ses.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/sns.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/sqs.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/utilities/array.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/utilities/hadoopstep.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/utilities/json.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/utilities/policy.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/utilities/simplexml.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenStackManager/aws-sdk/extensions/s3browserupload.class.php
@@ -0,0 +1,171 @@
 2+<?php
 3+/*
 4+ * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 5+ *
 6+ * Licensed under the Apache License, Version 2.0 (the "License").
 7+ * You may not use this file except in compliance with the License.
 8+ * A copy of the License is located at
 9+ *
 10+ * http://aws.amazon.com/apache2.0
 11+ *
 12+ * or in the "license" file accompanying this file. This file is distributed
 13+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 14+ * express or implied. See the License for the specific language governing
 15+ * permissions and limitations under the License.
 16+ */
 17+
 18+
 19+class S3BrowserUpload extends AmazonS3
 20+{
 21+ /**
 22+ * The <code>POST</code> operation adds an object to a specified bucket using HTML forms. POST is an alternate
 23+ * form of <code>PUT</code> that enables browser-based uploads as a way of putting objects in buckets.
 24+ * Parameters that are passed to <code>PUT</code> via HTTP headers are instead passed as form fields to
 25+ * <code>POST</code> in the <code>multipart/form-data</code> encoded message body. You must have
 26+ * <code>WRITE</code> access on a bucket to add an object to it. Amazon S3 never stores partial objects: if
 27+ * you receive a successful response, you can be confident the entire object was stored.
 28+ *
 29+ * @param string $bucket (Required) The name of the bucket to use.
 30+ * @param string|integer $expires (Optional) The point in time when the upload form field should expire. The default value is <code>+1 hour</code>.
 31+ * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
 32+ * <li><code>acl</code> - <code>string</code> - Optional - The access control setting to apply to the uploaded file. Accepts any of the following constants: [Allowed values: <code>AmazonS3::ACL_PRIVATE</code>, <code>AmazonS3::ACL_PUBLIC</code>, <code>AmazonS3::ACL_OPEN</code>, <code>AmazonS3::ACL_AUTH_READ</code>, <code>AmazonS3::ACL_OWNER_READ</code>, <code>AmazonS3::ACL_OWNER_FULL_CONTROL</code>].</li>
 33+ * <li><code>Cache-Control</code> - <code>string</code> - Optional - The Cache-Control HTTP header value to apply to the uploaded file. To use a <code>starts-with</code> comparison instead of an <code>equals</code> comparison, prefix the value with a <code>^</code> (carat) character.</li>
 34+ * <li><code>Content-Disposition</code> - <code>string</code> - Optional - The Content-Disposition HTTP header value to apply to the uploaded file. To use a <code>starts-with</code> comparison instead of an <code>equals</code> comparison, prefix the value with a <code>^</code> (carat) character.</li>
 35+ * <li><code>Content-Encoding</code> - <code>string</code> - Optional - The Content-Encoding HTTP header value to apply to the uploaded file. To use a <code>starts-with</code> comparison instead of an <code>equals</code> comparison, prefix the value with a <code>^</code> (carat) character.</li>
 36+ * <li><code>Content-Type</code> - <code>string</code> - Optional - The Content-Type HTTP header value to apply to the uploaded file. The default value is <code>application/octet-stream</code>. To use a <code>starts-with</code> comparison instead of an <code>equals</code> comparison, prefix the value with a <code>^</code> (carat) character.</li>
 37+ * <li><code>Expires</code> - <code>string</code> - Optional - The Expires HTTP header value to apply to the uploaded file. To use a <code>starts-with</code> comparison instead of an <code>equals</code> comparison, prefix the value with a <code>^</code> (carat) character.</li>
 38+ * <li><code>key</code> - <code>string</code> - Optional - The location where the file should be uploaded to. The default value is <code>${filename}</code>.</li>
 39+ * <li><code>success_action_redirect</code> - <code>string</code> - Optional - The URI for Amazon S3 to redirect to upon successful upload.</li>
 40+ * <li><code>success_action_status</code> - <code>integer</code> - Optional - The status code for Amazon S3 to return upon successful upload.</li>
 41+ * <li><code>x-amz-storage-class</code> - <code>string</code> - Optional - The storage setting to apply to the object. [Allowed values: <code>AmazonS3::STORAGE_STANDARD</code>, <code>AmazonS3::STORAGE_REDUCED</code>]. The default value is <code>AmazonS3::STORAGE_STANDARD</code>.</li>
 42+ * <li>x-amz-meta-*</li>
 43+ * </ul>
 44+ * @return array An array of fields that can be converted into markup.
 45+ * @link http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPOST.html POST Object
 46+ */
 47+ public function generate_upload_parameters($bucket, $expires = '+1 hour', $opt = null)
 48+ {
 49+ if (!$opt) $opt = array();
 50+
 51+ // Policy document
 52+ $policy = array(
 53+ 'conditions' => array(
 54+ array('bucket' => $bucket),
 55+ )
 56+ );
 57+
 58+ // Basic form
 59+ $form = array();
 60+ $form['form'] = array(
 61+ 'action' => $bucket . '.s3.amazonaws.com',
 62+ 'method' => 'POST',
 63+ 'enctype' => 'multipart/form-data'
 64+ );
 65+
 66+ // Inputs
 67+ $form['inputs'] = array(
 68+ 'AWSAccessKeyId' => $this->key
 69+ );
 70+
 71+ // Expires
 72+ if ($expires)
 73+ {
 74+ if (is_numeric($expires))
 75+ {
 76+ $expires = gmdate('j M Y, g:i a Z', (integer) $expires);
 77+ }
 78+
 79+ $expires = $this->util->convert_date_to_iso8601($expires);
 80+ $policy['expiration'] = (string) $expires;
 81+ }
 82+
 83+ // Default values
 84+ if (!isset($opt['key']))
 85+ {
 86+ $opt['key'] = '${filename}';
 87+ }
 88+
 89+ // Success Action Status
 90+ if (isset($opt['success_action_status']) && !empty($opt['success_action_status']))
 91+ {
 92+ $form['inputs']['success_action_status'] = (string) $opt['success_action_status'];
 93+ $policy['conditions'][] = array(
 94+ 'success_action_status' => (string) $opt['success_action_status']
 95+ );
 96+ unset($opt['success_action_status']);
 97+ }
 98+
 99+ // Other parameters
 100+ foreach ($opt as $param_key => $param_value)
 101+ {
 102+ if ($param_value[0] === '^')
 103+ {
 104+ $form['inputs'][$param_key] = substr((string) $param_value, 1);
 105+ $param_value = preg_replace('/\$\{(\w*)\}/', '', (string) $param_value);
 106+ $policy['conditions'][] = array('starts-with', '$' . $param_key, (substr((string) $param_value, 1) ? substr((string) $param_value, 1) : ''));
 107+ }
 108+ else
 109+ {
 110+ $form['inputs'][$param_key] = (string) $param_value;
 111+ $policy['conditions'][] = array(
 112+ $param_key => (string) $param_value
 113+ );
 114+ }
 115+ }
 116+
 117+ // Add policy
 118+ $json_policy = json_encode($policy);
 119+ $json_policy_b64 = base64_encode($json_policy);
 120+ $form['inputs']['policy'] = $json_policy_b64;
 121+ $form['metadata']['json_policy'] = $json_policy;
 122+
 123+ // Add signature
 124+ $form['inputs']['signature'] = base64_encode(hash_hmac('sha1', $json_policy_b64, $this->secret_key, true));
 125+
 126+ return $form;
 127+ }
 128+
 129+
 130+ /*%******************************************************************************************%*/
 131+ // HELPERS
 132+
 133+ /**
 134+ * Returns the protocol of the web page that this script is currently running on. This method only works
 135+ * correctly when run from a publicly-accessible web page.
 136+ */
 137+ public static function protocol()
 138+ {
 139+ return (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) === 'on') ? 'https://' : 'http://';
 140+ }
 141+
 142+ /**
 143+ * Returns the domain (and port) of the web page that this script is currently running on. This method
 144+ * only works correctly when run from a publicly-accessible web page.
 145+ */
 146+ public static function domain()
 147+ {
 148+ if (isset($_SERVER['SERVER_NAME']) && isset($_SERVER['SERVER_PORT']))
 149+ {
 150+ return $_SERVER['SERVER_NAME'] . ((integer) $_SERVER['SERVER_PORT'] === 80 ? '' : ':' . $_SERVER['SERVER_PORT']);
 151+ }
 152+
 153+ return null;
 154+ }
 155+
 156+ /**
 157+ * Returns the URI of the web page that this script is currently running on. This method only works
 158+ * correctly when run from a publicly-accessible web page.
 159+ */
 160+ public static function current_uri()
 161+ {
 162+ if (isset($_SERVER['REQUEST_URI']))
 163+ {
 164+ $uri = self::protocol();
 165+ $uri .= self::domain();
 166+ $uri .= $_SERVER['REQUEST_URI'];
 167+ return $uri;
 168+ }
 169+
 170+ return null;
 171+ }
 172+}
Property changes on: trunk/extensions/OpenStackManager/aws-sdk/extensions/s3browserupload.class.php
___________________________________________________________________
Added: svn:eol-style
1173 + native
Index: trunk/extensions/OpenStackManager/aws-sdk/services/cloudformation.class.php
@@ -19,15 +19,20 @@
2020 *
2121 * This is the AWS CloudFormation API Reference. The major sections of this guide are described in the following table.
2222 *
23 - * <table> <tr> <td> <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_Operations.html">Actions</a> </td>
24 - * <td>Alphabetical list of CloudFormation actions</td> <td> <a
25 - * href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_Types.html">Data Types</a> </td> <td>Alphabetical list of
26 - * CloudFormation data types</td> <td> <a
27 - * href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/CommonParameters.html">Common Parameters</a> </td>
28 - * <td>Parameters that all Query actions can use</td> <td> <a
29 - * href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/CommonErrors.html">Common Errors</a> </td> <td>Client and
30 - * server errors that all actions can return</td> </tr> </table>
 23+ * <ul> <li> <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_Operations.html">Actions</a>: Alphabetical
 24+ * list of CloudFormation actions</li>
3125 *
 26+ * <li> <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_Types.html">Data Types</a>: Alphabetical list of
 27+ * CloudFormation data types</li>
 28+ *
 29+ * <li> <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/CommonParameters.html">Common Parameters</a>:
 30+ * Parameters that all Query actions can use</li>
 31+ *
 32+ * <li> <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/CommonErrors.html">Common Errors</a>: Client and
 33+ * server errors that all actions can return</li>
 34+ *
 35+ * </ul>
 36+ *
3237 * This guide is for programmers who need detailed information about the CloudFormation APIs. You use AWS CloudFormation to create and manage
3338 * AWS infrastructure deployments predictably and repeatedly. CloudFormation helps you leverage AWS products such as Amazon EC2, EBS, Amazon
3439 * SNS, ELB, and Auto Scaling to build highly-reliable, highly scalable, cost effective applications without worrying about creating and
@@ -41,9 +46,9 @@
4247 * Page</a>.
4348 *
4449 * Amazon CloudFormation makes use of other AWS products. If you need additional technical information about a specific AWS product, you can
45 - * find the product's technical documentation at http://aws.amazon.com/documentation/.
 50+ * find the product's technical documentation at <a href="http://aws.amazon.com/documentation/">http://aws.amazon.com/documentation/</a>.
4651 *
47 - * @version Tue Apr 05 15:16:15 PDT 2011
 52+ * @version Tue May 10 18:24:21 PDT 2011
4853 * @license See the included NOTICE.md file for complete information.
4954 * @copyright See the included NOTICE.md file for complete information.
5055 * @link http://aws.amazon.com/cloudformation/Amazon CloudFormation
@@ -119,12 +124,16 @@
120125
121126 if (!$key && !defined('AWS_KEY'))
122127 {
 128+ // @codeCoverageIgnoreStart
123129 throw new CloudFormation_Exception('No account key was passed into the constructor, nor was it set in the AWS_KEY constant.');
 130+ // @codeCoverageIgnoreEnd
124131 }
125132
126133 if (!$secret_key && !defined('AWS_SECRET_KEY'))
127134 {
 135+ // @codeCoverageIgnoreStart
128136 throw new CloudFormation_Exception('No account secret was passed into the constructor, nor was it set in the AWS_SECRET_KEY constant.');
 137+ // @codeCoverageIgnoreEnd
129138 }
130139
131140 return parent::__construct($key, $secret_key);
@@ -154,7 +163,7 @@
155164 * <li><code>DisableRollback</code> - <code>boolean</code> - Optional - Boolean to enable or disable rollback on stack creation failures.<br></br> Default: <code>false</code> </li>
156165 * <li><code>TimeoutInMinutes</code> - <code>integer</code> - Optional - The amount of time that can pass before the stack status becomes CREATE_FAILED; if <code>DisableRollback</code> is not set or is set to <code>false</code>, the stack will be rolled back. </li>
157166 * <li><code>NotificationARNs</code> - <code>string|array</code> - Optional - The Simple Notification Service (SNS) topic ARNs to publish stack related events. You can find your SNS topic ARNs using the SNS console or your Command Line Interface (CLI). Pass a string for a single value, or an indexed array for multiple values. </li>
158 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 167+ * <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>
159168 * <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>
160169 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
161170 */
@@ -191,7 +200,7 @@
192201 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
193202 * <li><code>TemplateBody</code> - <code>string</code> - Optional - String containing the template body. (For more information, go to the AWS CloudFormation User Guide.) Conditional: You must pass <code>TemplateURL</code> or <code>TemplateBody</code>. If both are passed, only <code>TemplateBody</code> is used. </li>
194203 * <li><code>TemplateURL</code> - <code>string</code> - Optional - Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to the AWS CloudFormation User Guide. Conditional: You must pass <code>TemplateURL</code> or <code>TemplateBody</code>. If both are passed, only <code>TemplateBody</code> is used. </li>
195 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 204+ * <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>
196205 * <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>
197206 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
198207 */
@@ -209,7 +218,7 @@
210219 *
211220 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
212221 * <li><code>StackName</code> - <code>string</code> - Optional - The name or the unique identifier associated with the stack. Default: There is no default value. </li>
213 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 222+ * <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>
214223 * <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>
215224 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
216225 */
@@ -232,7 +241,7 @@
233242 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
234243 * <li><code>StackName</code> - <code>string</code> - Optional - The name or the unique identifier associated with the stack.<br></br> Default: There is no default value. </li>
235244 * <li><code>NextToken</code> - <code>string</code> - Optional - String that identifies the start of the next list of events, if there is one.<br></br> Default: There is no default value. </li>
236 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 245+ * <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>
237246 * <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>
238247 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
239248 */
@@ -251,7 +260,7 @@
252261 *
253262 * @param string $stack_name (Required) The name or the unique identifier associated with the stack.
254263 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
255 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 264+ * <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>
256265 * <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>
257266 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
258267 */
@@ -270,7 +279,7 @@
271280 *
272281 * @param string $stack_name (Required) The name or the unique identifier associated with the stack.
273282 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
274 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 283+ * <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>
275284 * <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>
276285 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
277286 */
@@ -298,7 +307,7 @@
299308 * <li><code>StackName</code> - <code>string</code> - Optional - The name or the unique identifier associated with the stack. Default: There is no default value. </li>
300309 * <li><code>LogicalResourceId</code> - <code>string</code> - Optional - The logical name of the resource as specified in the template.<br></br> Default: There is on default value. </li>
301310 * <li><code>PhysicalResourceId</code> - <code>string</code> - Optional - The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation. For example, for an Amazon Elastic Compute Cloud (EC2) instance, <code>PhysicalResourceId</code> corresponds to the <code>InstanceId</code>. You can pass the EC2 <code>InstanceId</code> to <code>DescribeStackResources</code> to find which stack the instance belongs to and what other resources are part of the stack. Default: There is no default value. </li>
302 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 311+ * <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>
303312 * <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>
304313 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
305314 */
Index: trunk/extensions/OpenStackManager/aws-sdk/services/s3.class.php
@@ -49,7 +49,7 @@
5050 *
5151 * Visit <http://aws.amazon.com/s3/> for more information.
5252 *
53 - * @version 2011.03.11
 53+ * @version 2011.04.22
5454 * @license See the included NOTICE.md file for more information.
5555 * @copyright See the included NOTICE.md file for more information.
5656 * @link http://aws.amazon.com/s3/ Amazon Simple Storage Service
@@ -267,12 +267,16 @@
268268
269269 if (!$key && !defined('AWS_KEY'))
270270 {
 271+ // @codeCoverageIgnoreStart
271272 throw new S3_Exception('No account key was passed into the constructor, nor was it set in the AWS_KEY constant.');
 273+ // @codeCoverageIgnoreEnd
272274 }
273275
274276 if (!$secret_key && !defined('AWS_SECRET_KEY'))
275277 {
 278+ // @codeCoverageIgnoreStart
276279 throw new S3_Exception('No account secret was passed into the constructor, nor was it set in the AWS_SECRET_KEY constant.');
 280+ // @codeCoverageIgnoreEnd
277281 }
278282
279283 return parent::__construct($key, $secret_key);
@@ -332,7 +336,9 @@
333337 // Validate the S3 bucket name
334338 if (!$this->validate_bucketname_support($bucket))
335339 {
 340+ // @codeCoverageIgnoreStart
336341 throw new S3_Exception('S3 does not support "' . $bucket . '" as a valid bucket name. Review "Bucket Restrictions and Limitations" in the S3 Developer Guide for more information.');
 342+ // @codeCoverageIgnoreEnd
337343 }
338344
339345 // Die if $opt isn't set.
@@ -719,6 +725,7 @@
720726
721727 // Did Amazon tell us to redirect? Typically happens for multiple rapid requests EU datacenters.
722728 // @see: http://docs.amazonwebservices.com/AmazonS3/latest/dev/Redirects.html
 729+ // @codeCoverageIgnoreStart
723730 if ((integer) $request->get_response_code() === 307) // Temporary redirect to new endpoint.
724731 {
725732 $data = $this->authenticate($bucket, $opt, $headers['location'], ++$redirects);
@@ -735,6 +742,7 @@
736743 $data = $this->authenticate($bucket, $opt, null, ++$redirects);
737744 }
738745 }
 746+ // @codeCoverageIgnoreEnd
739747
740748 // Return!
741749 return $data;
@@ -850,7 +858,10 @@
851859 $this->set_hostname('s3-' . $region . '.amazonaws.com');
852860 $this->enable_path_style(false);
853861 break;
 862+
 863+ // @codeCoverageIgnoreStart
854864 }
 865+ // @codeCoverageIgnoreEnd
855866
856867 return $this;
857868 }
@@ -895,7 +906,7 @@
896907 * @param string $region (Required) The preferred geographical location for the bucket. [Allowed values: `AmazonS3::REGION_US_E1 `, `AmazonS3::REGION_US_W1`, `AmazonS3::REGION_EU_W1`, `AmazonS3::REGION_APAC_SE1`, `AmazonS3::REGION_APAC_NE1`]
897908 * @param string $acl (Optional) The ACL settings for the specified bucket. [Allowed values: <code>AmazonS3::ACL_PRIVATE</code>, <code>AmazonS3::ACL_PUBLIC</code>, <code>AmazonS3::ACL_OPEN</code>, <code>AmazonS3::ACL_AUTH_READ</code>, <code>AmazonS3::ACL_OWNER_READ</code>, <code>AmazonS3::ACL_OWNER_FULL_CONTROL</code>]. The default value is <ACL_PRIVATE>.
898909 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
899 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 910+ * <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>
900911 * <li><code>returnCurlHandle</code> - <code>boolean</code> - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request.</li></ul>
901912 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
902913 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/UsingBucket.html Working with Amazon S3 Buckets
@@ -915,7 +926,9 @@
916927 // Validate the S3 bucket name for creation
917928 if (!$this->validate_bucketname_create($bucket))
918929 {
 930+ // @codeCoverageIgnoreStart
919931 throw new S3_Exception('"' . $bucket . '" is not DNS-valid (i.e., <bucketname>.s3.amazonaws.com), and cannot be used as an S3 bucket name. Review "Bucket Restrictions and Limitations" in the S3 Developer Guide for more information.');
 932+ // @codeCoverageIgnoreEnd
920933 }
921934
922935 if (!$opt) $opt = array();
@@ -948,7 +961,10 @@
949962 $xml->LocationConstraint = $region;
950963 $opt['body'] = $xml->asXML();
951964 break;
 965+
 966+ // @codeCoverageIgnoreStart
952967 }
 968+ // @codeCoverageIgnoreEnd
953969
954970 $response = $this->authenticate($bucket, $opt);
955971
@@ -989,7 +1005,7 @@
9901006 * @param string $bucket (Required) The name of the bucket to use.
9911007 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
9921008 * <li><code>preauth</code> - <code>integer|string</code> - Optional - Specifies that a presigned URL for this request should be returned. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
993 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1009+ * <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>
9941010 * <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>
9951011 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
9961012 */
@@ -1007,7 +1023,7 @@
10081024 * @param string $bucket (Required) The name of the bucket to use.
10091025 * @param boolean $force (Optional) Whether to force-delete the bucket and all of its contents. The default value is <code>false</code>.
10101026 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1011 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1027+ * <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>
10121028 * <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>
10131029 * @return mixed A <CFResponse> object if the bucket was deleted successfully. Returns boolean <code>false</code> if otherwise.
10141030 */
@@ -1031,7 +1047,9 @@
10321048 return $this->authenticate($bucket, $opt);
10331049 }
10341050
 1051+ // @codeCoverageIgnoreStart
10351052 return false;
 1053+ // @codeCoverageIgnoreEnd
10361054 }
10371055
10381056 /**
@@ -1039,7 +1057,7 @@
10401058 *
10411059 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
10421060 * <li><code>preauth</code> - <code>integer|string</code> - Optional - Specifies that a presigned URL for this request should be returned. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
1043 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1061+ * <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>
10441062 * <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>
10451063 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10461064 */
@@ -1057,7 +1075,7 @@
10581076 * @param string $bucket (Required) The name of the bucket to use.
10591077 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
10601078 * <li><code>preauth</code> - <code>integer|string</code> - Optional - Specifies that a presigned URL for this request should be returned. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
1061 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1079+ * <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>
10621080 * <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>
10631081 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10641082 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/RESTAccessPolicy.html REST Access Control Policy
@@ -1079,7 +1097,7 @@
10801098 * @param string $bucket (Required) The name of the bucket to use.
10811099 * @param string $acl (Optional) The ACL settings for the specified bucket. [Allowed values: <code>AmazonS3::ACL_PRIVATE</code>, <code>AmazonS3::ACL_PUBLIC</code>, <code>AmazonS3::ACL_OPEN</code>, <code>AmazonS3::ACL_AUTH_READ</code>, <code>AmazonS3::ACL_OWNER_READ</code>, <code>AmazonS3::ACL_OWNER_FULL_CONTROL</code>]. Alternatively, an array of associative arrays. Each associative array contains an `id` and a `permission` key. The default value is <ACL_PRIVATE>.
10821100 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1083 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1101+ * <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>
10841102 * <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>
10851103 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10861104 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/RESTAccessPolicy.html REST Access Control Policy
@@ -1095,6 +1113,7 @@
10961114 );
10971115
10981116 // Make sure these are defined.
 1117+ // @codeCoverageIgnoreStart
10991118 if (!defined('AWS_CANONICAL_ID') || !defined('AWS_CANONICAL_NAME'))
11001119 {
11011120 // Fetch the data live.
@@ -1102,6 +1121,7 @@
11031122 define('AWS_CANONICAL_ID', $canonical['id']);
11041123 define('AWS_CANONICAL_NAME', $canonical['display_name']);
11051124 }
 1125+ // @codeCoverageIgnoreEnd
11061126
11071127 if (is_array($acl))
11081128 {
@@ -1210,7 +1230,7 @@
12111231 * <li><code>range</code> - <code>string</code> - Optional - The range of bytes to fetch from the object. Specify this parameter when downloading partial bits or completing incomplete object downloads. The specified range must be notated with a hyphen (e.g., 0-10485759). Defaults to the byte range of the complete Amazon S3 object.</li>
12121232 * <li><code>response</code> - <code>array</code> - Optional - Allows adjustments to specific response headers. Pass an associative array where each key is one of the following: <code>cache-control</code>, <code>content-disposition</code>, <code>content-encoding</code>, <code>content-language</code>, <code>content-type</code>, <code>expires</code>. The <code>expires</code> value should use <php:gmdate()> and be formatted with the <code>DATE_RFC2822</code> constant.</li>
12131233 * <li><code>versionId</code> - <code>string</code> - Optional - The version of the object to retrieve. Version IDs are returned in the <code>x-amz-version-id</code> header of any previous object-related request.</li>
1214 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1234+ * <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>
12151235 * <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>
12161236 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
12171237 */
@@ -1265,7 +1285,7 @@
12661286 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
12671287 * <li><code>versionId</code> - <code>string</code> - Optional - The version of the object to retrieve. Version IDs are returned in the <code>x-amz-version-id</code> header of any previous object-related request.</li>
12681288 * <li><code>preauth</code> - <code>integer|string</code> - Optional - Specifies that a presigned URL for this request should be returned. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
1269 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1289+ * <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>
12701290 * <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>
12711291 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
12721292 */
@@ -1289,7 +1309,7 @@
12901310 * <li><code>versionId</code> - <code>string</code> - Optional - The version of the object to delete. Version IDs are returned in the <code>x-amz-version-id</code> header of any previous object-related request.</li>
12911311 * <li><code>MFASerial</code> - <code>string</code> - Optional - The serial number on the back of the Gemalto device. <code>MFASerial</code> and <code>MFAToken</code> must both be set for MFA to work.</li>
12921312 * <li><code>MFAToken</code> - <code>string</code> - Optional - The current token displayed on the Gemalto device. <code>MFASerial</code> and <code>MFAToken</code> must both be set for MFA to work.</li>
1293 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1313+ * <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>
12941314 * <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>
12951315 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
12961316 * @link http://aws.amazon.com/mfa/ Multi-Factor Authentication
@@ -1302,12 +1322,14 @@
13031323 $opt['resource'] = $filename;
13041324
13051325 // Enable MFA delete?
 1326+ // @codeCoverageIgnoreStart
13061327 if (isset($opt['MFASerial']) && isset($opt['MFAToken']))
13071328 {
13081329 $opt['headers'] = array(
13091330 'x-amz-mfa' => ($opt['MFASerial'] . ' ' . $opt['MFAToken'])
13101331 );
13111332 }
 1333+ // @codeCoverageIgnoreEnd
13121334
13131335 // Authenticate to S3
13141336 return $this->authenticate($bucket, $opt);
@@ -1323,7 +1345,7 @@
13241346 * <li><code>max-keys</code> - <code>string</code> - Optional - The maximum number of results returned by the method call. The returned list will contain no more results than the specified value, but may return less.</li>
13251347 * <li><code>preauth</code> - <code>integer|string</code> - Optional - Specifies that a presigned URL for this request should be returned. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
13261348 * <li><code>prefix</code> - <code>string</code> - Optional - Restricts the response to contain results that begin only with the specified prefix.</li>
1327 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1349+ * <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>
13281350 * <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>
13291351 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
13301352 */
@@ -1367,7 +1389,7 @@
13681390 * <li><code>headers</code> - <code>array</code> - Optional - Standard HTTP headers to send along in the request.</li>
13691391 * <li><code>meta</code> - <code>array</code> - Optional - Associative array of key-value pairs. Represented by <code>x-amz-meta-:</code> Any header starting with this prefix is considered user metadata. It will be stored with the object and returned when you retrieve the object. The total size of the HTTP request, not including the body, must be less than 4 KB.</li>
13701392 * <li><code>metadataDirective</code> - <code>string</code> - Optional - Accepts either COPY or REPLACE. You will likely never need to use this, as it manages itself with no issues.</li>
1371 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1393+ * <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>
13721394 * <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>
13731395 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
13741396 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/API/RESTObjectCOPY.html Copying Amazon S3 Objects
@@ -1489,7 +1511,7 @@
14901512 * <li><code>acl</code> - <code>string</code> - Optional - The ACL settings for the specified object. [Allowed values: <code>AmazonS3::ACL_PRIVATE</code>, <code>AmazonS3::ACL_PUBLIC</code>, <code>AmazonS3::ACL_OPEN</code>, <code>AmazonS3::ACL_AUTH_READ</code>, <code>AmazonS3::ACL_OWNER_READ</code>, <code>AmazonS3::ACL_OWNER_FULL_CONTROL</code>]. The default value is <ACL_PRIVATE>.</li>
14911513 * <li><code>headers</code> - <code>array</code> - Optional - The standard HTTP headers to update the Amazon S3 object with.</li>
14921514 * <li><code>meta</code> - <code>array</code> - Optional - An associative array of key-value pairs. Any header with the <code>x-amz-meta-</code> prefix is considered user metadata and is stored with the Amazon S3 object. It will be stored with the object and returned when you retrieve the object. The total size of the HTTP request, not including the body, must be less than 4 KB.</li>
1493 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1515+ * <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>
14941516 * <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>
14951517 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
14961518 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/API/RESTObjectCOPY.html Copying Amazon S3 Objects
@@ -1519,7 +1541,7 @@
15201542 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
15211543 * <li><code>versionId</code> - <code>string</code> - Optional - The version of the object to retrieve. Version IDs are returned in the <code>x-amz-version-id</code> header of any previous object-related request.</li>
15221544 * <li><code>preauth</code> - <code>integer|string</code> - Optional - Specifies that a presigned URL for this request should be returned. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
1523 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1545+ * <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>
15241546 * <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>
15251547 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
15261548 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/RESTAccessPolicy.html REST Access Control Policy
@@ -1543,7 +1565,7 @@
15441566 * @param string $filename (Required) The file name for the object.
15451567 * @param string $acl (Optional) The ACL settings for the specified object. Accepts any of the following constants: [Allowed values: <code>AmazonS3::ACL_PRIVATE</code>, <code>AmazonS3::ACL_PUBLIC</code>, <code>AmazonS3::ACL_OPEN</code>, <code>AmazonS3::ACL_AUTH_READ</code>, <code>AmazonS3::ACL_OWNER_READ</code>, <code>AmazonS3::ACL_OWNER_FULL_CONTROL</code>]. Alternatively, an array of associative arrays. Each associative array contains an <code>id</code> and a <code>permission</code> key. The default value is <code>ACL_PRIVATE</code>.
15461568 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1547 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1569+ * <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>
15481570 * <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>
15491571 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
15501572 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/RESTAccessPolicy.html REST Access Control Policy
@@ -1568,6 +1590,7 @@
15691591 }
15701592
15711593 // Make sure these are defined.
 1594+ // @codeCoverageIgnoreStart
15721595 if (!defined('AWS_CANONICAL_ID') || !defined('AWS_CANONICAL_NAME'))
15731596 {
15741597 // Fetch the data live.
@@ -1575,6 +1598,7 @@
15761599 define('AWS_CANONICAL_ID', $canonical['id']);
15771600 define('AWS_CANONICAL_NAME', $canonical['display_name']);
15781601 }
 1602+ // @codeCoverageIgnoreEnd
15791603
15801604 if (is_array($acl))
15811605 {
@@ -1664,7 +1688,7 @@
16651689 * @param string $bucket (Required) The name of the bucket to use. Pass a `null` value when using the <set_vhost()> method.
16661690 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
16671691 * <li><code>preauth</code> - <code>integer|string</code> - Optional - Specifies that a presigned URL for this request should be returned. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
1668 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1692+ * <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>
16691693 * <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>
16701694 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
16711695 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/ServerLogs.html Server Access Logging
@@ -1688,7 +1712,7 @@
16891713 * @param string $target_prefix (Required) The prefix to give to the log file names.
16901714 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
16911715 * <li><code>users</code> - <code>array</code> - Optional - An array of associative arrays specifying any user to give access to. Each associative array contains an <code>id</code> and <code>permission</code> value.</li>
1692 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1716+ * <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>
16931717 * <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>
16941718 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
16951719 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/LoggingAPI.html Server Access Logging Configuration API
@@ -1767,7 +1791,7 @@
17681792 *
17691793 * @param string $bucket (Required) The name of the bucket to use. Pass `null` if using <set_vhost()>.
17701794 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1771 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1795+ * <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>
17721796 * <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>
17731797 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
17741798 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/LoggingAPI.html Server Access Logging Configuration API
@@ -1827,7 +1851,10 @@
18281852
18291853 if ($header->isOK()) { return true; }
18301854 elseif ($header->status === 404) { return false; }
 1855+
 1856+ // @codeCoverageIgnoreStart
18311857 return null;
 1858+ // @codeCoverageIgnoreEnd
18321859 }
18331860
18341861 /**
@@ -1840,14 +1867,19 @@
18411868 {
18421869 if ($this->use_batch_flow)
18431870 {
 1871+ // @codeCoverageIgnoreStart
18441872 throw new S3_Exception(__FUNCTION__ . '() cannot be batch requested');
 1873+ // @codeCoverageIgnoreEnd
18451874 }
18461875
18471876 $response = $this->get_bucket_policy($bucket);
18481877
18491878 if ($response->isOK()) { return true; }
18501879 elseif ($response->status === 404) { return false; }
 1880+
 1881+ // @codeCoverageIgnoreStart
18511882 return null;
 1883+ // @codeCoverageIgnoreEnd
18521884 }
18531885
18541886 /**
@@ -1860,7 +1892,9 @@
18611893 {
18621894 if ($this->use_batch_flow)
18631895 {
 1896+ // @codeCoverageIgnoreStart
18641897 throw new S3_Exception(__FUNCTION__ . '() cannot be batch requested');
 1898+ // @codeCoverageIgnoreEnd
18651899 }
18661900
18671901 return count($this->get_object_list($bucket));
@@ -1942,7 +1976,7 @@
19431977 * @param string $filename (Required) The file name for the object.
19441978 * @param string $contentType (Required) The content-type to apply to the object.
19451979 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1946 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1980+ * <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>
19471981 * <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>
19481982 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
19491983 */
@@ -1983,7 +2017,7 @@
19842018 * @param string $filename (Required) The file name for the object.
19852019 * @param string $storage (Required) The storage setting to apply to the object. [Allowed values: <code>AmazonS3::STORAGE_STANDARD</code>, <code>AmazonS3::STORAGE_REDUCED</code>]
19862020 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1987 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2021+ * <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>
19882022 * <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>
19892023 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
19902024 */
@@ -2037,7 +2071,9 @@
20382072 return $list;
20392073 }
20402074
 2075+ // @codeCoverageIgnoreStart
20412076 return array();
 2077+ // @codeCoverageIgnoreEnd
20422078 }
20432079
20442080 /**
@@ -2050,7 +2086,7 @@
20512087 * <li><code>max-keys</code> - <code>string</code> - Optional - The maximum number of results returned by the method call. The returned list will contain no more results than the specified value, but may return less.</li>
20522088 * <li><code>pcre</code> - <code>string</code> - Optional - A Perl-Compatible Regular Expression (PCRE) to filter the names against. This is applied only AFTER any native Amazon S3 filtering from specified <code>prefix</code>, <code>marker</code>, <code>max-keys</code>, or <code>delimiter</code> values are applied.</li>
20532089 * <li><code>prefix</code> - <code>string</code> - Optional - Restricts the response to contain results that begin only with the specified prefix.</li>
2054 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2090+ * <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>
20552091 * <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>
20562092 * @return array The list of matching object names. If there are no results, the method will return an empty array.
20572093 * @link http://php.net/pcre Regular Expressions (Perl-Compatible)
@@ -2173,7 +2209,9 @@
21742210 {
21752211 if ($this->use_batch_flow)
21762212 {
 2213+ // @codeCoverageIgnoreStart
21772214 throw new S3_Exception(__FUNCTION__ . '() cannot be batch requested');
 2215+ // @codeCoverageIgnoreEnd
21782216 }
21792217
21802218 // Instantiate
@@ -2249,7 +2287,7 @@
22502288 * @param string $filename (Required) The file name for the Amazon S3 object.
22512289 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
22522290 * <li><code>versionId</code> - <code>string</code> - Optional - The version of the object to retrieve. Version IDs are returned in the <code>x-amz-version-id</code> header of any previous object-related request.</li>
2253 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2291+ * <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>
22542292 * <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>
22552293 * @return mixed If the object exists, the method returns the collective metadata for the Amazon S3 object. If the object does not exist, the method returns boolean <code>false</code>.
22562294 */
@@ -2398,7 +2436,7 @@
23992437 * <li><code>MFASerial</code> - string (Optional) The serial number on the back of the Gemalto device. <code>MFASerial</code>, <code>MFAToken</code> and <code>MFAStatus</code> must all be set for MFA to work.</li>
24002438 * <li><code>MFAToken</code> - string (Optional) The current token displayed on the Gemalto device. <code>MFASerial</code>, <code>MFAToken</code> and <code>MFAStatus</code> must all be set for MFA to work.</li>
24012439 * <li><code>MFAStatus</code> - string (Optional) The MFA Delete status. Can be <code>Enabled</code> or <code>Disabled</code>. <code>MFASerial</code>, <code>MFAToken</code> and <code>MFAStatus</code> must all be set for MFA to work.</li>
2402 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2440+ * <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>
24032441 * <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>
24042442 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
24052443 * @link http://aws.amazon.com/mfa/ Multi-Factor Authentication
@@ -2418,12 +2456,13 @@
24192457 $xml->addChild('Status', 'Enabled');
24202458
24212459 // Enable MFA delete?
 2460+ // @codeCoverageIgnoreStart
24222461 if (isset($opt['MFASerial']) && isset($opt['MFAToken']) && isset($opt['MFAStatus']))
24232462 {
24242463 $xml->addChild('MfaDelete', $opt['MFAStatus']);
2425 -
24262464 $opt['headers']['x-amz-mfa'] = ($opt['MFASerial'] . ' ' . $opt['MFAToken']);
24272465 }
 2466+ // @codeCoverageIgnoreEnd
24282467
24292468 $opt['body'] = $xml->asXML();
24302469
@@ -2439,7 +2478,7 @@
24402479 * <li><code>MFASerial</code> - <code>string</code> - Optional - The serial number on the back of the Gemalto device. <code>MFASerial</code>, <code>MFAToken</code> and <code>MFAStatus</code> must all be set for MFA to work.</li>
24412480 * <li><code>MFAToken</code> - <code>string</code> - Optional - The current token displayed on the Gemalto device. <code>MFASerial</code>, <code>MFAToken</code> and <code>MFAStatus</code> must all be set for MFA to work.</li>
24422481 * <li><code>MFAStatus</code> - <code>string</code> - Optional - The MFA Delete status. Can be <code>Enabled</code> or <code>Disabled</code>. <code>MFASerial</code>, <code>MFAToken</code> and <code>MFAStatus</code> must all be set for MFA to work.</li>
2443 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2482+ * <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>
24442483 * <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>
24452484 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
24462485 * @link http://aws.amazon.com/mfa/ Multi-Factor Authentication
@@ -2459,12 +2498,13 @@
24602499 $xml->addChild('Status', 'Suspended');
24612500
24622501 // Enable MFA delete?
 2502+ // @codeCoverageIgnoreStart
24632503 if (isset($opt['MFASerial']) && isset($opt['MFAToken']) && isset($opt['MFAStatus']))
24642504 {
24652505 $xml->addChild('MfaDelete', $opt['MFAStatus']);
2466 -
24672506 $opt['headers']['x-amz-mfa'] = ($opt['MFASerial'] . ' ' . $opt['MFAToken']);
24682507 }
 2508+ // @codeCoverageIgnoreEnd
24692509
24702510 $opt['body'] = $xml->asXML();
24712511
@@ -2478,7 +2518,7 @@
24792519 * @param string $bucket (Required) The name of the bucket to use.
24802520 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
24812521 * <li><code>preauth</code> - <code>integer|string</code> - Optional - Specifies that a presigned URL for this request should be returned. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
2482 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2522+ * <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>
24832523 * <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>
24842524 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
24852525 */
@@ -2503,7 +2543,7 @@
25042544 * <li><code>prefix</code> - <code>string</code> - Optional - Restricts the response to only contain results that begin with the specified prefix.</li>
25052545 * <li><code>version-id-marker</code> - <code>string</code> - Optional - Restricts the response to contain results that only occur alphabetically after the value of the <code>version-id-marker</code>.</li>
25062546 * <li><code>preauth</code> - <code>integer|string</code> - Optional - Specifies that a presigned URL for this request should be returned. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
2507 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2547+ * <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>
25082548 * <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>
25092549 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
25102550 */
@@ -2542,7 +2582,7 @@
25432583 * @param string $bucket (Required) The name of the bucket to use.
25442584 * @param CFPolicy $policy (Required) The JSON policy to use.
25452585 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2546 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2586+ * <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>
25472587 * <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>
25482588 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
25492589 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/AccessPolicyLanguage.html Appendix: The Access Policy Language
@@ -2569,7 +2609,7 @@
25702610 *
25712611 * @param string $bucket (Required) The name of the bucket to use.
25722612 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2573 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2613+ * <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>
25742614 * <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>
25752615 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
25762616 */
@@ -2589,7 +2629,7 @@
25902630 *
25912631 * @param string $bucket (Required) The name of the bucket to use.
25922632 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2593 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2633+ * <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>
25942634 * <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>
25952635 * @return CFResponse A <CFResponse> object containing a parsed HTTP response. If you do not have `DeletePolicy` permissions, Amazon S3 returns a `403 Access Denied` error. If you have the correct permissions, but are not the bucket owner, Amazon S3 returns a `405 Method Not Allowed` error. If the bucket doesn't have a policy, Amazon S3 returns a `204 No Content` error.
25962636 */
@@ -2631,7 +2671,7 @@
26322672 * @param string $topic_arn (Required) The SNS topic ARN to send notifications to.
26332673 * @param string $event (Required) The event type to listen for.
26342674 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2635 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2675+ * <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>
26362676 * <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>
26372677 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
26382678 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/NotificationHowTo.html Setting Up Notification of Bucket Events
@@ -2671,7 +2711,7 @@
26722712 *
26732713 * @param string $bucket (Required) The name of the bucket to use.
26742714 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2675 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2715+ * <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>
26762716 * <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>
26772717 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
26782718 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/NotificationHowTo.html Setting Up Notification of Bucket Events
@@ -2691,7 +2731,7 @@
26922732 *
26932733 * @param string $bucket (Required) The name of the bucket to use.
26942734 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2695 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2735+ * <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>
26962736 * <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>
26972737 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
26982738 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/NotificationHowTo.html Setting Up Notification of Bucket Events
@@ -2749,7 +2789,7 @@
27502790 * <li><code>headers</code> - <code>array</code> - Optional - The standard HTTP headers to send along in the request.</li>
27512791 * <li><code>meta</code> - <code>array</code> - Optional - An associative array of key-value pairs. Any header starting with <code>x-amz-meta-:</code> is considered user metadata. It will be stored with the object and returned when you retrieve the object. The total size of the HTTP request, not including the body, must be less than 4 KB.</li>
27522792 * <li><code>storage</code> - <code>string</code> - Optional - Whether to use Standard or Reduced Redundancy storage. [Allowed values: <code>AmazonS3::STORAGE_STANDARD</code>, <code>AmazonS3::STORAGE_REDUCED</code>]. The default value is <code>STORAGE_STANDARD</code>.</li>
2753 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2793+ * <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>
27542794 * <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>
27552795 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
27562796 * @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/RESTAccessPolicy.html REST Access Control Policy
@@ -2825,7 +2865,7 @@
28262866 * <li><code>length</code> - <code>integer</code> - Optional - The size of the part in bytes. For more information, see <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13">RFC 2616, section 14.13</a>. The value can also be passed to the <code>header</code> option as <code>Content-Length</code>.</li>
28272867 * <li><code>md5</code> - <code>string</code> - Optional - The base64 encoded 128-bit MD5 digest of the part data. This header can be used as a message integrity check to verify that the part data is the same data that was originally sent. Although it is optional, we recommend using this mechanism as an end-to-end integrity check. For more information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>. The value can also be passed to the <code>header</code> option as <code>Content-MD5</code>.</li>
28282868 * <li><code>seekTo</code> - <code>integer</code> - Optional - The starting position in bytes for the piece of the file/stream to upload.</li>
2829 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2869+ * <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>
28302870 * <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>
28312871 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
28322872 */
@@ -2877,7 +2917,7 @@
28782918 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
28792919 * <li><code>max-parts</code> - <code>integer</code> - Optional - The maximum number of parts to return in the response body.</li>
28802920 * <li><code>part-number-marker</code> - <code>string</code> - Optional - Restricts the response to contain results that only occur numerically after the value of the <code>part-number-marker</code>.</li>
2881 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2921+ * <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>
28822922 * <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>
28832923 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
28842924 */
@@ -2911,7 +2951,7 @@
29122952 * @param string $filename (Required) The file name for the object.
29132953 * @param string $upload_id (Required) The upload ID identifying the multipart upload whose parts are being listed. The upload ID is retrieved from a call to <initiate_multipart_upload()>.
29142954 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2915 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2955+ * <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>
29162956 * <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>
29172957 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
29182958 */
@@ -2937,7 +2977,7 @@
29382978 * @param string $upload_id (Required) The upload ID identifying the multipart upload whose parts are being listed. The upload ID is retrieved from a call to <initiate_multipart_upload()>.
29392979 * @param string|array|SimpleXMLElement|CFResponse $parts (Required) The completion XML document. This document can be provided in multiple ways; as a string of XML, as a <php:SimpleXMLElement> object representing the XML document, as an indexed array of associative arrays where the keys are <code>PartNumber</code> and <code>ETag</code>, or as a <CFResponse> object returned by <list_parts()>.
29402980 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2941 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2981+ * <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>
29422982 * <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>
29432983 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
29442984 */
@@ -3007,7 +3047,7 @@
30083048 * <li><code>delimiter</code> - <code>string</code> - Optional - Keys that contain the same string between the prefix and the first occurrence of the delimiter will be rolled up into a single result element in the CommonPrefixes collection.</li>
30093049 * <li><code>key-marker</code> - <code>string</code> - Optional - Restricts the response to contain results that only occur alphabetically after the value of the <code>key-marker</code>. If used in conjunction with <code>upload-id-marker</code>, the results will be filtered to include keys whose upload ID is alphabetically after the value of <code>upload-id-marker</code>.</li>
30103050 * <li><code>upload-id-marker</code> - <code>string</code> - Optional - Restricts the response to contain results that only occur alphabetically after the value of the <code>upload-id-marker</code>. Must be used in conjunction with <code>key-marker</code>.</li>
3011 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3051+ * <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>
30123052 * <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>
30133053 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
30143054 */
@@ -3219,7 +3259,9 @@
32203260 {
32213261 if ($this->use_batch_flow)
32223262 {
 3263+ // @codeCoverageIgnoreStart
32233264 throw new S3_Exception(__FUNCTION__ . '() cannot be batch requested');
 3265+ // @codeCoverageIgnoreEnd
32243266 }
32253267
32263268 $when = $when ? $when : time();
@@ -3283,7 +3325,7 @@
32843326 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
32853327 * <li><code>indexDocument</code> - <code>string</code> - Optional - The file path to use as the root document. The default value is <code>index.html</code>.</li>
32863328 * <li><code>errorDocument</code> - <code>string</code> - Optional - The file path to use as the error document. The default value is <code>error.html</code>.</li>
3287 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3329+ * <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>
32883330 * <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>
32893331 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
32903332 */
@@ -3316,7 +3358,7 @@
33173359 *
33183360 * @param string $bucket (Required) The name of the bucket to use.
33193361 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3320 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3362+ * <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>
33213363 * <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>
33223364 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
33233365 */
@@ -3338,7 +3380,7 @@
33393381 *
33403382 * @param string $bucket (Required) The name of the bucket to use.
33413383 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3342 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3384+ * <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>
33433385 * <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>
33443386 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
33453387 */
Index: trunk/extensions/OpenStackManager/aws-sdk/services/ses.class.php
@@ -23,7 +23,7 @@
2424 * For specific details on how to construct a service request, please consult the <a
2525 * href="http://docs.amazonwebservices.com/ses/latest/DeveloperGuide">Amazon SES Developer Guide</a>.
2626 *
27 - * @version Tue Apr 05 15:19:25 PDT 2011
 27+ * @version Tue May 10 18:27:31 PDT 2011
2828 * @license See the included NOTICE.md file for complete information.
2929 * @copyright See the included NOTICE.md file for complete information.
3030 * @link http://aws.amazon.com/ses/Amazon Simple Email Service
@@ -89,12 +89,16 @@
9090
9191 if (!$key && !defined('AWS_KEY'))
9292 {
 93+ // @codeCoverageIgnoreStart
9394 throw new Email_Exception('No account key was passed into the constructor, nor was it set in the AWS_KEY constant.');
 95+ // @codeCoverageIgnoreEnd
9496 }
9597
9698 if (!$secret_key && !defined('AWS_SECRET_KEY'))
9799 {
 100+ // @codeCoverageIgnoreStart
98101 throw new Email_Exception('No account secret was passed into the constructor, nor was it set in the AWS_SECRET_KEY constant.');
 102+ // @codeCoverageIgnoreEnd
99103 }
100104
101105 return parent::__construct($key, $secret_key);
@@ -109,7 +113,7 @@
110114 * Returns the user's current activity limits.
111115 *
112116 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
113 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 117+ * <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>
114118 * <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>
115119 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
116120 */
@@ -125,7 +129,7 @@
126130 * Returns a list containing all of the email addresses that have been verified.
127131 *
128132 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
129 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 133+ * <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>
130134 * <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>
131135 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
132136 */
@@ -143,7 +147,7 @@
144148 * Each data point in the list contains statistics for a 15-minute interval.
145149 *
146150 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
147 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 151+ * <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>
148152 * <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>
149153 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
150154 */
@@ -187,7 +191,7 @@
188192 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
189193 * <li><code>ReplyToAddresses</code> - <code>string|array</code> - Optional - The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply. Pass a string for a single value, or an indexed array for multiple values. </li>
190194 * <li><code>ReturnPath</code> - <code>string</code> - Optional - The email address to which bounce notifications are to be forwarded. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient's ISP; this message will then be forwarded to the email address specified by the <code>ReturnPath</code> parameter. </li>
191 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 195+ * <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>
192196 * <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>
193197 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
194198 */
@@ -248,7 +252,7 @@
249253 *
250254 * @param string $email_address (Required) An email address to be removed from the list of verified addreses.
251255 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
252 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 256+ * <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>
253257 * <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>
254258 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
255259 */
@@ -266,7 +270,7 @@
267271 *
268272 * @param string $email_address (Required) The email address to be verified.
269273 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
270 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 274+ * <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>
271275 * <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>
272276 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
273277 */
@@ -291,9 +295,9 @@
292296 * <li><code>Data</code> - <code>blob</code> - Required - The raw data of the message. The client must ensure that the message format complies with Internet email standards regarding email header fields, MIME types, MIME encoding, and base64 encoding (if necessary). For more information, go to the Amazon SES Developer Guide. </li>
293297 * </ul>
294298 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
295 - * <li><code>Source</code> - <code>string</code> - Optional - The sender's email address. </li>
 299+ * <li><code>Source</code> - <code>string</code> - Optional - The sender's email address. If you specify the <code>Source</code> parameter, then bounce notifications and complaints will be sent to this email address. This takes precedence over any <i>Return-Path</i> header that you might include in the raw text of the message. </li>
296300 * <li><code>Destinations</code> - <code>string|array</code> - Optional - A list of destinations for the message. Pass a string for a single value, or an indexed array for multiple values. </li>
297 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 301+ * <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>
298302 * <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>
299303 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
300304 */
Index: trunk/extensions/OpenStackManager/aws-sdk/services/cloudwatch.class.php
@@ -47,7 +47,7 @@
4848 *
4949 * </ul>
5050 *
51 - * @version Tue Apr 05 15:16:49 PDT 2011
 51+ * @version Tue May 10 18:24:54 PDT 2011
5252 * @license See the included NOTICE.md file for complete information.
5353 * @copyright See the included NOTICE.md file for complete information.
5454 * @link http://aws.amazon.com/cloudwatch/Amazon CloudWatch
@@ -123,12 +123,16 @@
124124
125125 if (!$key && !defined('AWS_KEY'))
126126 {
 127+ // @codeCoverageIgnoreStart
127128 throw new CW_Exception('No account key was passed into the constructor, nor was it set in the AWS_KEY constant.');
 129+ // @codeCoverageIgnoreEnd
128130 }
129131
130132 if (!$secret_key && !defined('AWS_SECRET_KEY'))
131133 {
 134+ // @codeCoverageIgnoreStart
132135 throw new CW_Exception('No account secret was passed into the constructor, nor was it set in the AWS_SECRET_KEY constant.');
 136+ // @codeCoverageIgnoreEnd
133137 }
134138
135139 return parent::__construct($key, $secret_key);
@@ -169,7 +173,7 @@
170174 * </ul></li>
171175 * </ul></li>
172176 * <li><code>Unit</code> - <code>string</code> - Optional - The unit for the alarm's associated metric. [Allowed values: <code>Seconds</code>, <code>Microseconds</code>, <code>Milliseconds</code>, <code>Bytes</code>, <code>Kilobytes</code>, <code>Megabytes</code>, <code>Gigabytes</code>, <code>Terabytes</code>, <code>Bits</code>, <code>Kilobits</code>, <code>Megabits</code>, <code>Gigabits</code>, <code>Terabits</code>, <code>Percent</code>, <code>Count</code>, <code>Bytes/Second</code>, <code>Kilobytes/Second</code>, <code>Megabytes/Second</code>, <code>Gigabytes/Second</code>, <code>Terabytes/Second</code>, <code>Bits/Second</code>, <code>Kilobits/Second</code>, <code>Megabits/Second</code>, <code>Gigabits/Second</code>, <code>Terabits/Second</code>, <code>Count/Second</code>, <code>None</code>]</li>
173 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 177+ * <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>
174178 * <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>
175179 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
176180 */
@@ -225,15 +229,73 @@
226230 }
227231
228232 /**
 233+ * Publishes metric data points to Amazon CloudWatch. Amazon Cloudwatch associates the data points with the specified metric. If the specified
 234+ * metric does not exist, Amazon CloudWatch creates the metric. If you create a metric with the <code>PutMetricData</code> action, allow up to
 235+ * fifteen minutes for the metric to appear in calls to the ListMetrics action.
229236 *
230 - * Returns a list of valid metrics stored for the AWS account owner. Returned metrics can be used with <code>GetMetricStatistics</code> to
231 - * obtain statistical data for a given metric.
 237+ * The size of a <code>PutMetricData</code> request is limited to 8 KB for HTTP GET requests and 40 KB for HTTP POST requests.
232238 *
 239+ * Amazon CloudWatch truncates values with very large exponents. Values with base-10 exponents greater than 126 (1 x 10^126) are truncated.
 240+ * Likewise, values with base-10 exponents less than -130 (1 x 10^-130) are also truncated.
 241+ *
 242+ * @param string $namespace (Required) The namespace for the metric data. You cannot specify a namespace that begins with <code>AWS/</code>. Namespaces that begin with <code>AWS/</code> are reserved for other Amazon Web Services products that send metrics to Amazon CloudWatch.
 243+ * @param array $metric_data (Required) A list of data describing the metric. <ul>
 244+ * <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
 245+ * <li><code>MetricName</code> - <code>string</code> - Required - The name of the metric. </li>
 246+ * <li><code>Dimensions</code> - <code>array</code> - Optional - A list of dimensions associated with the metric. <ul>
 247+ * <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
 248+ * <li><code>Name</code> - <code>string</code> - Required - The name of the dimension. </li>
 249+ * <li><code>Value</code> - <code>string</code> - Required - The value representing the dimension measurement </li>
 250+ * </ul></li>
 251+ * </ul></li>
 252+ * <li><code>Timestamp</code> - <code>string</code> - Optional - The time stamp used for the metric. If not specified, the default value is set to the time the metric data was received. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
 253+ * <li><code>Value</code> - <code>integer</code> - Optional - The value for the metric. <important>Amazon CloudWatch truncates values with very large exponents. Values with base-10 exponents greater than 126 (1 x 10^126) are truncated. Likewise, values with base-10 exponents less than -130 (1 x 10^-130) are also truncated. </important> </li>
 254+ * <li><code>StatisticValues</code> - <code>array</code> - Optional - A set of statistical values describing the metric. Takes an associative array of parameters that can have the following keys: <ul>
 255+ * <li><code>SampleCount</code> - <code>double</code> - Required - The number of samples used for the statistic set. </li>
 256+ * <li><code>Sum</code> - <code>double</code> - Required - The sum of values for the sample set. </li>
 257+ * <li><code>Minimum</code> - <code>double</code> - Required - The minimum value of the sample set. </li>
 258+ * <li><code>Maximum</code> - <code>double</code> - Required - The maximum value of the sample set. </li>
 259+ * </ul></li>
 260+ * <li><code>Unit</code> - <code>string</code> - Optional - The unit of the metric. [Allowed values: <code>Seconds</code>, <code>Microseconds</code>, <code>Milliseconds</code>, <code>Bytes</code>, <code>Kilobytes</code>, <code>Megabytes</code>, <code>Gigabytes</code>, <code>Terabytes</code>, <code>Bits</code>, <code>Kilobits</code>, <code>Megabits</code>, <code>Gigabits</code>, <code>Terabits</code>, <code>Percent</code>, <code>Count</code>, <code>Bytes/Second</code>, <code>Kilobytes/Second</code>, <code>Megabytes/Second</code>, <code>Gigabytes/Second</code>, <code>Terabytes/Second</code>, <code>Bits/Second</code>, <code>Kilobits/Second</code>, <code>Megabits/Second</code>, <code>Gigabits/Second</code>, <code>Terabits/Second</code>, <code>Count/Second</code>, <code>None</code>]</li>
 261+ * </ul></li>
 262+ * </ul>
 263+ * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
 264+ * <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>
 265+ * <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>
 266+ * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
 267+ */
 268+ public function put_metric_data($namespace, $metric_data, $opt = null)
 269+ {
 270+ if (!$opt) $opt = array();
 271+ $opt['Namespace'] = $namespace;
 272+
 273+ // Handle Timestamps
 274+ for ($i = 0, $max = count($metric_data); $i < $max; $i++)
 275+ {
 276+ if (isset($metric_data[$i]['Timestamp']))
 277+ {
 278+ $metric_data[$i]['Timestamp'] = $this->util->convert_date_to_iso8601($metric_data[$i]['Timestamp']);
 279+ }
 280+ }
 281+
 282+ // Required parameter
 283+ $opt = array_merge($opt, CFComplexType::map(array(
 284+ 'MetricData' => (is_array($metric_data) ? $metric_data : array($metric_data))
 285+ ), 'member'));
 286+
 287+ return $this->authenticate('PutMetricData', $opt, $this->hostname);
 288+ }
 289+
 290+ /**
 291+ *
 292+ * Returns a list of valid metrics stored for the AWS account owner. Returned metrics can be used with GetMetricStatistics to obtain
 293+ * statistical data for a given metric.
 294+ *
233295 * Up to 500 results are returned for any one call. To retrieve further results, use returned <code>NextToken</code> values with subsequent
234296 * <code>ListMetrics</code> operations.
235297 *
236298 * If you create a metric with the PutMetricData action, allow up to fifteen minutes for the metric to appear in calls to the
237 - * <code>ListMetrics</code> action.
 299+ * <code>ListMetrics</code> action. Statistics about the metric, however, are available sooner using GetMetricStatistics.
238300 *
239301 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
240302 * <li><code>Namespace</code> - <code>string</code> - Optional - The namespace to filter against. </li>
@@ -245,7 +307,7 @@
246308 * </ul></li>
247309 * </ul></li>
248310 * <li><code>NextToken</code> - <code>string</code> - Optional - The token returned by a previous call to indicate that there is more data available. </li>
249 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 311+ * <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>
250312 * <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>
251313 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
252314 */
@@ -304,7 +366,7 @@
305367 * <li><code>Value</code> - <code>string</code> - Required - The value representing the dimension measurement </li>
306368 * </ul></li>
307369 * </ul></li>
308 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 370+ * <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>
309371 * <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>
310372 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
311373 */
@@ -342,7 +404,7 @@
343405 *
344406 * @param string|array $alarm_names (Required) The names of the alarms to disable actions for. Pass a string for a single value, or an indexed array for multiple values.
345407 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
346 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 408+ * <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>
347409 * <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>
348410 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
349411 */
@@ -370,7 +432,7 @@
371433 * <li><code>ActionPrefix</code> - <code>string</code> - Optional - The action name prefix. </li>
372434 * <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of alarm descriptions to retrieve. </li>
373435 * <li><code>NextToken</code> - <code>string</code> - Optional - The token returned by a previous call to indicate that there is more data available. </li>
374 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 436+ * <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>
375437 * <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>
376438 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
377439 */
@@ -406,7 +468,7 @@
407469 * </ul></li>
408470 * <li><code>Period</code> - <code>integer</code> - Optional - The period in seconds over which the statistic is applied. </li>
409471 * <li><code>Unit</code> - <code>string</code> - Optional - The unit for the metric. [Allowed values: <code>Seconds</code>, <code>Microseconds</code>, <code>Milliseconds</code>, <code>Bytes</code>, <code>Kilobytes</code>, <code>Megabytes</code>, <code>Gigabytes</code>, <code>Terabytes</code>, <code>Bits</code>, <code>Kilobits</code>, <code>Megabits</code>, <code>Gigabits</code>, <code>Terabits</code>, <code>Percent</code>, <code>Count</code>, <code>Bytes/Second</code>, <code>Kilobytes/Second</code>, <code>Megabytes/Second</code>, <code>Gigabytes/Second</code>, <code>Terabytes/Second</code>, <code>Bits/Second</code>, <code>Kilobits/Second</code>, <code>Megabits/Second</code>, <code>Gigabits/Second</code>, <code>Terabits/Second</code>, <code>Count/Second</code>, <code>None</code>]</li>
410 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 472+ * <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>
411473 * <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>
412474 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
413475 */
@@ -442,7 +504,7 @@
443505 * <li><code>EndDate</code> - <code>string</code> - Optional - The ending date to retrieve alarm history. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
444506 * <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of alarm history records to retrieve. </li>
445507 * <li><code>NextToken</code> - <code>string</code> - Optional - The token returned by a previous call to indicate that there is more data available. </li>
446 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 508+ * <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>
447509 * <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>
448510 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
449511 */
@@ -471,7 +533,7 @@
472534 *
473535 * @param string|array $alarm_names (Required) The names of the alarms to enable actions for. Pass a string for a single value, or an indexed array for multiple values.
474536 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
475 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 537+ * <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>
476538 * <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>
477539 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
478540 */
@@ -493,7 +555,7 @@
494556 *
495557 * @param string|array $alarm_names (Required) A list of alarms to be deleted. Pass a string for a single value, or an indexed array for multiple values.
496558 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
497 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 559+ * <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>
498560 * <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>
499561 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
500562 */
@@ -520,7 +582,7 @@
521583 * @param string $state_reason (Required) The reason that this alarm is set to this specific state (in human-readable text format)
522584 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
523585 * <li><code>StateReasonData</code> - <code>string</code> - Optional - The reason that this alarm is set to this specific state (in machine-readable JSON format) </li>
524 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 586+ * <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>
525587 * <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>
526588 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
527589 */
Index: trunk/extensions/OpenStackManager/aws-sdk/services/elb.class.php
@@ -16,11 +16,12 @@
1717
1818 /**
1919 *
 20+ *
2021 * Elastic Load Balancing is a cost-effective and easy to use web service to help you improve availability and scalability of your
2122 * application. It makes it easy for you to distribute application loads between two or more EC2 instances. Elastic Load Balancing enables
2223 * availability through redundancy and supports traffic growth of your application.
2324 *
24 - * @version Tue Apr 05 15:18:51 PDT 2011
 25+ * @version Tue May 10 18:26:54 PDT 2011
2526 * @license See the included NOTICE.md file for complete information.
2627 * @copyright See the included NOTICE.md file for complete information.
2728 * @link http://aws.amazon.com/elasticloadbalancing/Amazon Elastic Load Balancing
@@ -96,12 +97,16 @@
9798
9899 if (!$key && !defined('AWS_KEY'))
99100 {
 101+ // @codeCoverageIgnoreStart
100102 throw new ELB_Exception('No account key was passed into the constructor, nor was it set in the AWS_KEY constant.');
 103+ // @codeCoverageIgnoreEnd
101104 }
102105
103106 if (!$secret_key && !defined('AWS_SECRET_KEY'))
104107 {
 108+ // @codeCoverageIgnoreStart
105109 throw new ELB_Exception('No account secret was passed into the constructor, nor was it set in the AWS_SECRET_KEY constant.');
 110+ // @codeCoverageIgnoreEnd
106111 }
107112
108113 return parent::__construct($key, $secret_key);
@@ -126,7 +131,7 @@
127132 * </ul></li>
128133 * </ul>
129134 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
130 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 135+ * <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>
131136 * <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>
132137 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
133138 */
@@ -145,32 +150,26 @@
146151
147152 /**
148153 *
149 - * Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified
150 - * expiration period. This policy can only be associated only with HTTP listeners.
 154+ * Deletes listeners from the LoadBalancer for the specified port.
151155 *
152 - * When a load balancer implements this policy, the load balancer uses a special cookie to track the backend server instance for each request.
153 - * When the load balancer receives a request, it first checks to see if this cookie is present in the request. If so, the load balancer sends
154 - * the request to the application server specified in the cookie. If not, the load balancer sends the request to a server that is chosen based
155 - * on the existing load balancing algorithm.
156 - *
157 - * A cookie is inserted into the response for binding subsequent requests from the same user to that server. The validity of the cookie is
158 - * based on the cookie expiration time, which is specified in the policy configuration.
159 - *
160 - * @param string $load_balancer_name (Required) The name associated with the LoadBalancer. The name must be unique within the client AWS account.
161 - * @param string $policy_name (Required) The name of the policy being created. The name must be unique within the set of policies for this Load Balancer.
 156+ * @param string $load_balancer_name (Required) The mnemonic name associated with the LoadBalancer.
 157+ * @param integer LoadBalancerPorts (Required) The client port number(s) of the LoadBalancerListener(s) to be removed.
162158 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
163 - * <li><code>CookieExpirationPeriod</code> - <code>long</code> - Optional - The time period in seconds after which the cookie should be considered stale. Not specifying this parameter indicates that the sticky session will last for the duration of the browser session. </li>
164 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 159+ * <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>
165160 * <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>
166161 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
167162 */
168 - public function create_lb_cookie_stickiness_policy($load_balancer_name, $policy_name, $opt = null)
 163+ public function delete_load_balancer_listeners($load_balancer_name, $load_balancer_ports, $opt = null)
169164 {
170165 if (!$opt) $opt = array();
171166 $opt['LoadBalancerName'] = $load_balancer_name;
172 - $opt['PolicyName'] = $policy_name;
173167
174 - return $this->authenticate('CreateLBCookieStickinessPolicy', $opt, $this->hostname);
 168+ // Required parameter
 169+ $opt = array_merge($opt, CFComplexType::map(array(
 170+ 'LoadBalancerPorts' => (is_array($load_balancer_ports) ? $load_balancer_ports : array($load_balancer_ports))
 171+ ), 'member'));
 172+
 173+ return $this->authenticate('DeleteLoadBalancerListeners', $opt, $this->hostname);
175174 }
176175
177176 /**
@@ -186,7 +185,7 @@
187186 * <li><code>HealthyThreshold</code> - <code>integer</code> - Required - Specifies the number of consecutive health probe successes required before moving the instance to the <i>Healthy</i> state. </li>
188187 * </ul>
189188 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
190 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 189+ * <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>
191190 * <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>
192191 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
193192 */
@@ -213,7 +212,7 @@
214213 *
215214 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
216215 * <li><code>LoadBalancerNames</code> - <code>string|array</code> - Optional - A list of names associated with the LoadBalancers at creation time. Pass a string for a single value, or an indexed array for multiple values. </li>
217 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 216+ * <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>
218217 * <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>
219218 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
220219 */
@@ -235,83 +234,32 @@
236235
237236 /**
238237 *
239 - * Sets the certificate that terminates the specified listener's SSL connections. The specified certificate replaces any prior certificate
240 - * that was used on the same LoadBalancer and port.
 238+ * Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified
 239+ * expiration period. This policy can only be associated only with HTTP listeners.
241240 *
242 - * @param string $load_balancer_name (Required) The name of the the LoadBalancer.
243 - * @param integer $load_balancer_port (Required) The port that uses the specified SSL certificate.
244 - * @param string $ssl_certificate_id (Required) The ID of the SSL certificate chain to use. For more information on SSL certificates, see Managing Server Certificates in the AWS Identity and Access Management documentation.
245 - * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
246 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
247 - * <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>
248 - * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
249 - */
250 - public function set_load_balancer_listener_ssl_certificate($load_balancer_name, $load_balancer_port, $ssl_certificate_id, $opt = null)
251 - {
252 - if (!$opt) $opt = array();
253 - $opt['LoadBalancerName'] = $load_balancer_name;
254 - $opt['LoadBalancerPort'] = $load_balancer_port;
255 - $opt['SSLCertificateId'] = $ssl_certificate_id;
256 -
257 - return $this->authenticate('SetLoadBalancerListenerSSLCertificate', $opt, $this->hostname);
258 - }
259 -
260 - /**
 241+ * When a load balancer implements this policy, the load balancer uses a special cookie to track the backend server instance for each request.
 242+ * When the load balancer receives a request, it first checks to see if this cookie is present in the request. If so, the load balancer sends
 243+ * the request to the application server specified in the cookie. If not, the load balancer sends the request to a server that is chosen based
 244+ * on the existing load balancing algorithm.
261245 *
262 - * Creates a new LoadBalancer.
 246+ * A cookie is inserted into the response for binding subsequent requests from the same user to that server. The validity of the cookie is
 247+ * based on the cookie expiration time, which is specified in the policy configuration.
263248 *
264 - * Once the call has completed successfully, a new LoadBalancer is created; however, it will not be usable until at least one instance has
265 - * been registered. When the LoadBalancer creation is completed, the client can check whether or not it is usable by using the
266 - * DescribeInstanceHealth API. The LoadBalancer is usable as soon as any registered instance is <i>InService</i>.
267 - *
268 - * Currently, the client's quota of LoadBalancers is limited to five per Region.
269 - *
270 - * Load balancer DNS names vary depending on the Region they're created in. For load balancers created in the United States, the DNS name ends
271 - * with:
272 - *
273 - * <ul> <li> <i>us-east-1.elb.amazonaws.com</i> (for the US Standard Region) </li>
274 - *
275 - * <li> <i>us-west-1.elb.amazonaws.com</i> (for the Northern California Region) </li>
276 - *
277 - * </ul>
278 - *
279 - * For load balancers created in the EU (Ireland) Region, the DNS name ends with:
280 - *
281 - * <ul> <li> <i>eu-west-1.elb.amazonaws.com</i> </li>
282 - *
283 - * </ul>
284 - *
285 - * @param string $load_balancer_name (Required) The name associated with the LoadBalancer. The name must be unique within your set of LoadBalancers requests on the specified protocol and received by Elastic Load Balancing on the LoadBalancerPort are load balanced across the registered instances and sent to port InstancePort.
286 - * @param array $listeners (Required) A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol. <ul>
287 - * <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
288 - * <li><code>Protocol</code> - <code>string</code> - Required - Specifies the LoadBalancer transport protocol to use for routing - TCP or HTTP. This property cannot be modified for the life of the LoadBalancer. </li>
289 - * <li><code>LoadBalancerPort</code> - <code>integer</code> - Required - Specifies the LoadBalancer transport protocol to use for routing - TCP or HTTP. This property cannot be modified for the life of the LoadBalancer. </li>
290 - * <li><code>InstancePort</code> - <code>integer</code> - Required - Specifies the TCP port on which the instance server is listening. This property cannot be modified for the life of the LoadBalancer. </li>
291 - * <li><code>SSLCertificateId</code> - <code>string</code> - Optional - The ID of the SSL certificate chain to use. For more information on SSL certificates, see Managing Keys and Certificates in the AWS Identity and Access Management documentation. </li>
292 - * </ul></li>
293 - * </ul>
294 - * @param string|array $availability_zones (Required) A list of Availability Zones. At least one Availability Zone must be specified. Specified Availability Zones must be in the same EC2 Region as the LoadBalancer. Traffic will be equally distributed across all zones. This list can be modified after the creation of the LoadBalancer. Pass a string for a single value, or an indexed array for multiple values.
 249+ * @param string $load_balancer_name (Required) The name associated with the LoadBalancer. The name must be unique within the client AWS account.
 250+ * @param string $policy_name (Required) The name of the policy being created. The name must be unique within the set of policies for this Load Balancer.
295251 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
296 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 252+ * <li><code>CookieExpirationPeriod</code> - <code>long</code> - Optional - The time period in seconds after which the cookie should be considered stale. Not specifying this parameter indicates that the sticky session will last for the duration of the browser session. </li>
 253+ * <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>
297254 * <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>
298255 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
299256 */
300 - public function create_load_balancer($load_balancer_name, $listeners, $availability_zones, $opt = null)
 257+ public function create_lb_cookie_stickiness_policy($load_balancer_name, $policy_name, $opt = null)
301258 {
302259 if (!$opt) $opt = array();
303260 $opt['LoadBalancerName'] = $load_balancer_name;
 261+ $opt['PolicyName'] = $policy_name;
304262
305 - // Required parameter
306 - $opt = array_merge($opt, CFComplexType::map(array(
307 - 'Listeners' => (is_array($listeners) ? $listeners : array($listeners))
308 - ), 'member'));
309 -
310 - // Required parameter
311 - $opt = array_merge($opt, CFComplexType::map(array(
312 - 'AvailabilityZones' => (is_array($availability_zones) ? $availability_zones : array($availability_zones))
313 - ), 'member'));
314 -
315 - return $this->authenticate('CreateLoadBalancer', $opt, $this->hostname);
 263+ return $this->authenticate('CreateLBCookieStickinessPolicy', $opt, $this->hostname);
316264 }
317265
318266 /**
@@ -326,7 +274,7 @@
327275 * @param string $load_balancer_name (Required) The name associated with the LoadBalancer. The name must be unique within the client AWS account.
328276 * @param string|array $availability_zones (Required) A list of new Availability Zones for the LoadBalancer. Each Availability Zone must be in the same Region as the LoadBalancer. Pass a string for a single value, or an indexed array for multiple values.
329277 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
330 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 278+ * <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>
331279 * <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>
332280 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
333281 */
@@ -358,7 +306,7 @@
359307 * <li><code>InstanceId</code> - <code>string</code> - Optional - Provides an EC2 instance ID. </li>
360308 * </ul></li>
361309 * </ul></li>
362 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 310+ * <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>
363311 * <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>
364312 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
365313 */
@@ -381,75 +329,138 @@
382330
383331 /**
384332 *
385 - * Deletes a policy from the LoadBalancer. The specified policy must not be enabled for any listeners.
 333+ * Sets the certificate that terminates the specified listener's SSL connections. The specified certificate replaces any prior certificate
 334+ * that was used on the same LoadBalancer and port.
386335 *
387 - * @param string $load_balancer_name (Required) The mnemonic name associated with the LoadBalancer. The name must be unique within your AWS account.
388 - * @param string $policy_name (Required) The mnemonic name for the policy being deleted.
 336+ * @param string $load_balancer_name (Required) The name of the the LoadBalancer.
 337+ * @param integer $load_balancer_port (Required) The port that uses the specified SSL certificate.
 338+ * @param string $ssl_certificate_id (Required) The ID of the SSL certificate chain to use. For more information on SSL certificates, see Managing Server Certificates in the AWS Identity and Access Management documentation.
389339 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
390 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 340+ * <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>
391341 * <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>
392342 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
393343 */
394 - public function delete_load_balancer_policy($load_balancer_name, $policy_name, $opt = null)
 344+ public function set_load_balancer_listener_ssl_certificate($load_balancer_name, $load_balancer_port, $ssl_certificate_id, $opt = null)
395345 {
396346 if (!$opt) $opt = array();
397347 $opt['LoadBalancerName'] = $load_balancer_name;
398 - $opt['PolicyName'] = $policy_name;
 348+ $opt['LoadBalancerPort'] = $load_balancer_port;
 349+ $opt['SSLCertificateId'] = $ssl_certificate_id;
399350
400 - return $this->authenticate('DeleteLoadBalancerPolicy', $opt, $this->hostname);
 351+ return $this->authenticate('SetLoadBalancerListenerSSLCertificate', $opt, $this->hostname);
401352 }
402353
403354 /**
404355 *
405 - * Removes the specified EC2 Availability Zones from the set of configured Availability Zones for the LoadBalancer.
 356+ * Associates, updates, or disables a policy with a listener on the load balancer. Currently only zero (0) or one (1) policy can be associated
 357+ * with a listener.
406358 *
407 - * There must be at least one Availability Zone registered with a LoadBalancer at all times. A client cannot remove all the Availability Zones
408 - * from a LoadBalancer. Once an Availability Zone is removed, all the instances registered with the LoadBalancer that are in the removed
409 - * Availability Zone go into the OutOfService state. Upon Availability Zone removal, the LoadBalancer attempts to equally balance the traffic
410 - * among its remaining usable Availability Zones. Trying to remove an Availability Zone that was not associated with the LoadBalancer does
411 - * nothing.
 359+ * @param string $load_balancer_name (Required) The name associated with the LoadBalancer. The name must be unique within the client AWS account.
 360+ * @param integer $load_balancer_port (Required) The external port of the LoadBalancer with which this policy has to be associated.
 361+ * @param string|array $policy_names (Required) List of policies to be associated with the listener. Currently this list can have at most one policy. If the list is empty, the current policy is removed from the listener. Pass a string for a single value, or an indexed array for multiple values.
 362+ * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
 363+ * <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>
 364+ * <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>
 365+ * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
 366+ */
 367+ public function set_load_balancer_policies_of_listener($load_balancer_name, $load_balancer_port, $policy_names, $opt = null)
 368+ {
 369+ if (!$opt) $opt = array();
 370+ $opt['LoadBalancerName'] = $load_balancer_name;
 371+ $opt['LoadBalancerPort'] = $load_balancer_port;
 372+
 373+ // Required parameter
 374+ $opt = array_merge($opt, CFComplexType::map(array(
 375+ 'PolicyNames' => (is_array($policy_names) ? $policy_names : array($policy_names))
 376+ ), 'member'));
 377+
 378+ return $this->authenticate('SetLoadBalancerPoliciesOfListener', $opt, $this->hostname);
 379+ }
 380+
 381+ /**
412382 *
413 - * In order for this call to be successful, the client must have created the LoadBalancer. The client must provide the same account
414 - * credentials as those that were used to create the LoadBalancer.
 383+ * Creates a new LoadBalancer.
415384 *
416 - * @param string $load_balancer_name (Required) The name associated with the LoadBalancer. The name must be unique within the client AWS account.
417 - * @param string|array $availability_zones (Required) A list of Availability Zones to be removed from the LoadBalancer. There must be at least one Availability Zone registered with a LoadBalancer at all times. The client cannot remove all the Availability Zones from a LoadBalancer. Specified Availability Zones must be in the same Region. Pass a string for a single value, or an indexed array for multiple values.
 385+ * Once the call has completed successfully, a new LoadBalancer is created; however, it will not be usable until at least one instance has
 386+ * been registered. When the LoadBalancer creation is completed, the client can check whether or not it is usable by using the
 387+ * DescribeInstanceHealth API. The LoadBalancer is usable as soon as any registered instance is <i>InService</i>.
 388+ *
 389+ * Currently, the client's quota of LoadBalancers is limited to five per Region.
 390+ *
 391+ * Load balancer DNS names vary depending on the Region they're created in. For load balancers created in the United States, the DNS name ends
 392+ * with:
 393+ *
 394+ * <ul> <li> <i>us-east-1.elb.amazonaws.com</i> (for the US Standard Region) </li>
 395+ *
 396+ * <li> <i>us-west-1.elb.amazonaws.com</i> (for the Northern California Region) </li>
 397+ *
 398+ * </ul>
 399+ *
 400+ * For load balancers created in the EU (Ireland) Region, the DNS name ends with:
 401+ *
 402+ * <ul> <li> <i>eu-west-1.elb.amazonaws.com</i> </li>
 403+ *
 404+ * </ul>
 405+ *
 406+ * @param string $load_balancer_name (Required) The name associated with the LoadBalancer. The name must be unique within your set of LoadBalancers requests on the specified protocol and received by Elastic Load Balancing on the LoadBalancerPort are load balanced across the registered instances and sent to port InstancePort.
 407+ * @param array $listeners (Required) A list of the following tuples: LoadBalancerPort, InstancePort, and Protocol. <ul>
 408+ * <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
 409+ * <li><code>Protocol</code> - <code>string</code> - Required - Specifies the LoadBalancer transport protocol to use for routing - TCP or HTTP. This property cannot be modified for the life of the LoadBalancer. </li>
 410+ * <li><code>LoadBalancerPort</code> - <code>integer</code> - Required - Specifies the LoadBalancer transport protocol to use for routing - TCP or HTTP. This property cannot be modified for the life of the LoadBalancer. </li>
 411+ * <li><code>InstancePort</code> - <code>integer</code> - Required - Specifies the TCP port on which the instance server is listening. This property cannot be modified for the life of the LoadBalancer. </li>
 412+ * <li><code>SSLCertificateId</code> - <code>string</code> - Optional - The ID of the SSL certificate chain to use. For more information on SSL certificates, see Managing Keys and Certificates in the AWS Identity and Access Management documentation. </li>
 413+ * </ul></li>
 414+ * </ul>
 415+ * @param string|array $availability_zones (Required) A list of Availability Zones. At least one Availability Zone must be specified. Specified Availability Zones must be in the same EC2 Region as the LoadBalancer. Traffic will be equally distributed across all zones. This list can be modified after the creation of the LoadBalancer. Pass a string for a single value, or an indexed array for multiple values.
418416 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
419 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 417+ * <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>
420418 * <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>
421419 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
422420 */
423 - public function disable_availability_zones_for_load_balancer($load_balancer_name, $availability_zones, $opt = null)
 421+ public function create_load_balancer($load_balancer_name, $listeners, $availability_zones, $opt = null)
424422 {
425423 if (!$opt) $opt = array();
426424 $opt['LoadBalancerName'] = $load_balancer_name;
427425
428426 // Required parameter
429427 $opt = array_merge($opt, CFComplexType::map(array(
 428+ 'Listeners' => (is_array($listeners) ? $listeners : array($listeners))
 429+ ), 'member'));
 430+
 431+ // Required parameter
 432+ $opt = array_merge($opt, CFComplexType::map(array(
430433 'AvailabilityZones' => (is_array($availability_zones) ? $availability_zones : array($availability_zones))
431434 ), 'member'));
432435
433 - return $this->authenticate('DisableAvailabilityZonesForLoadBalancer', $opt, $this->hostname);
 436+ return $this->authenticate('CreateLoadBalancer', $opt, $this->hostname);
434437 }
435438
436439 /**
437440 *
438 - * Deregisters instances from the LoadBalancer. Once the instance is deregistered, it will stop receiving traffic from the LoadBalancer.
 441+ * Adds new instances to the LoadBalancer.
439442 *
440 - * In order to successfully call this API, the same account credentials as those used to create the LoadBalancer must be provided.
 443+ * Once the instance is registered, it starts receiving traffic and requests from the LoadBalancer. Any instance that is not in any of the
 444+ * Availability Zones registered for the LoadBalancer will be moved to the <i>OutOfService</i> state. It will move to the <i>InService</i>
 445+ * state when the Availability Zone is added to the LoadBalancer.
441446 *
 447+ * In order for this call to be successful, the client must have created the LoadBalancer. The client must provide the same account
 448+ * credentials as those that were used to create the LoadBalancer.
 449+ *
 450+ * Completion of this API does not guarantee that operation has completed. Rather, it means that the request has been registered and the
 451+ * changes will happen shortly.
 452+ *
442453 * @param string $load_balancer_name (Required) The name associated with the LoadBalancer. The name must be unique within the client AWS account.
443 - * @param array $instances (Required) A list of EC2 instance IDs consisting of all instances to be deregistered. <ul>
 454+ * @param array $instances (Required) A list of instances IDs that should be registered with the LoadBalancer. <ul>
444455 * <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
445456 * <li><code>InstanceId</code> - <code>string</code> - Optional - Provides an EC2 instance ID. </li>
446457 * </ul></li>
447458 * </ul>
448459 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
449 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 460+ * <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>
450461 * <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>
451462 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
452463 */
453 - public function deregister_instances_from_load_balancer($load_balancer_name, $instances, $opt = null)
 464+ public function register_instances_with_load_balancer($load_balancer_name, $instances, $opt = null)
454465 {
455466 if (!$opt) $opt = array();
456467 $opt['LoadBalancerName'] = $load_balancer_name;
@@ -459,31 +470,36 @@
460471 'Instances' => (is_array($instances) ? $instances : array($instances))
461472 ), 'member'));
462473
463 - return $this->authenticate('DeregisterInstancesFromLoadBalancer', $opt, $this->hostname);
 474+ return $this->authenticate('RegisterInstancesWithLoadBalancer', $opt, $this->hostname);
464475 }
465476
466477 /**
467478 *
468 - * Deletes listeners from the LoadBalancer for the specified port.
 479+ * Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can only be
 480+ * associated with HTTP listeners.
469481 *
470 - * @param string $load_balancer_name (Required) The mnemonic name associated with the LoadBalancer.
471 - * @param integer LoadBalancerPorts (Required) The client port number(s) of the LoadBalancerListener(s) to be removed.
 482+ * This policy is similar to the policy created by CreateLBCookieStickinessPolicy, except that the lifetime of the special Elastic Load
 483+ * Balancing cookie follows the lifetime of the application-generated cookie specified in the policy configuration. The load balancer only
 484+ * inserts a new stickiness cookie when the application response includes a new application cookie.
 485+ *
 486+ * If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.
 487+ *
 488+ * @param string $load_balancer_name (Required) The name associated with the LoadBalancer. The name must be unique within the client AWS account.
 489+ * @param string $policy_name (Required) The name of the policy being created. The name must be unique within the set of policies for this Load Balancer.
 490+ * @param string $cookie_name (Required) Name of the application cookie used for stickiness.
472491 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
473 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 492+ * <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>
474493 * <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>
475494 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
476495 */
477 - public function delete_load_balancer_listeners($load_balancer_name, $load_balancer_ports, $opt = null)
 496+ public function create_app_cookie_stickiness_policy($load_balancer_name, $policy_name, $cookie_name, $opt = null)
478497 {
479498 if (!$opt) $opt = array();
480499 $opt['LoadBalancerName'] = $load_balancer_name;
 500+ $opt['PolicyName'] = $policy_name;
 501+ $opt['CookieName'] = $cookie_name;
481502
482 - // Required parameter
483 - $opt = array_merge($opt, CFComplexType::map(array(
484 - 'LoadBalancerPorts' => (is_array($load_balancer_ports) ? $load_balancer_ports : array($load_balancer_ports))
485 - ), 'member'));
486 -
487 - return $this->authenticate('DeleteLoadBalancerListeners', $opt, $this->hostname);
 503+ return $this->authenticate('CreateAppCookieStickinessPolicy', $opt, $this->hostname);
488504 }
489505
490506 /**
@@ -501,7 +517,7 @@
502518 *
503519 * @param string $load_balancer_name (Required) The name associated with the LoadBalancer. The name must be unique within the client AWS account.
504520 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
505 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 521+ * <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>
506522 * <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>
507523 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
508524 */
@@ -515,96 +531,85 @@
516532
517533 /**
518534 *
519 - * Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can only be
520 - * associated with HTTP listeners.
 535+ * Removes the specified EC2 Availability Zones from the set of configured Availability Zones for the LoadBalancer.
521536 *
522 - * This policy is similar to the policy created by CreateLBCookieStickinessPolicy, except that the lifetime of the special Elastic Load
523 - * Balancing cookie follows the lifetime of the application-generated cookie specified in the policy configuration. The load balancer only
524 - * inserts a new stickiness cookie when the application response includes a new application cookie.
 537+ * There must be at least one Availability Zone registered with a LoadBalancer at all times. A client cannot remove all the Availability Zones
 538+ * from a LoadBalancer. Once an Availability Zone is removed, all the instances registered with the LoadBalancer that are in the removed
 539+ * Availability Zone go into the OutOfService state. Upon Availability Zone removal, the LoadBalancer attempts to equally balance the traffic
 540+ * among its remaining usable Availability Zones. Trying to remove an Availability Zone that was not associated with the LoadBalancer does
 541+ * nothing.
525542 *
526 - * If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.
 543+ * In order for this call to be successful, the client must have created the LoadBalancer. The client must provide the same account
 544+ * credentials as those that were used to create the LoadBalancer.
527545 *
528546 * @param string $load_balancer_name (Required) The name associated with the LoadBalancer. The name must be unique within the client AWS account.
529 - * @param string $policy_name (Required) The name of the policy being created. The name must be unique within the set of policies for this Load Balancer.
530 - * @param string $cookie_name (Required) Name of the application cookie used for stickiness.
 547+ * @param string|array $availability_zones (Required) A list of Availability Zones to be removed from the LoadBalancer. There must be at least one Availability Zone registered with a LoadBalancer at all times. The client cannot remove all the Availability Zones from a LoadBalancer. Specified Availability Zones must be in the same Region. Pass a string for a single value, or an indexed array for multiple values.
531548 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
532 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 549+ * <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>
533550 * <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>
534551 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
535552 */
536 - public function create_app_cookie_stickiness_policy($load_balancer_name, $policy_name, $cookie_name, $opt = null)
 553+ public function disable_availability_zones_for_load_balancer($load_balancer_name, $availability_zones, $opt = null)
537554 {
538555 if (!$opt) $opt = array();
539556 $opt['LoadBalancerName'] = $load_balancer_name;
540 - $opt['PolicyName'] = $policy_name;
541 - $opt['CookieName'] = $cookie_name;
542557
543 - return $this->authenticate('CreateAppCookieStickinessPolicy', $opt, $this->hostname);
 558+ // Required parameter
 559+ $opt = array_merge($opt, CFComplexType::map(array(
 560+ 'AvailabilityZones' => (is_array($availability_zones) ? $availability_zones : array($availability_zones))
 561+ ), 'member'));
 562+
 563+ return $this->authenticate('DisableAvailabilityZonesForLoadBalancer', $opt, $this->hostname);
544564 }
545565
546566 /**
547567 *
548 - * Adds new instances to the LoadBalancer.
 568+ * Deletes a policy from the LoadBalancer. The specified policy must not be enabled for any listeners.
549569 *
550 - * Once the instance is registered, it starts receiving traffic and requests from the LoadBalancer. Any instance that is not in any of the
551 - * Availability Zones registered for the LoadBalancer will be moved to the <i>OutOfService</i> state. It will move to the <i>InService</i>
552 - * state when the Availability Zone is added to the LoadBalancer.
553 - *
554 - * In order for this call to be successful, the client must have created the LoadBalancer. The client must provide the same account
555 - * credentials as those that were used to create the LoadBalancer.
556 - *
557 - * Completion of this API does not guarantee that operation has completed. Rather, it means that the request has been registered and the
558 - * changes will happen shortly.
559 - *
560 - * @param string $load_balancer_name (Required) The name associated with the LoadBalancer. The name must be unique within the client AWS account.
561 - * @param array $instances (Required) A list of instances IDs that should be registered with the LoadBalancer. <ul>
562 - * <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
563 - * <li><code>InstanceId</code> - <code>string</code> - Optional - Provides an EC2 instance ID. </li>
564 - * </ul></li>
565 - * </ul>
 570+ * @param string $load_balancer_name (Required) The mnemonic name associated with the LoadBalancer. The name must be unique within your AWS account.
 571+ * @param string $policy_name (Required) The mnemonic name for the policy being deleted.
566572 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
567 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 573+ * <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>
568574 * <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>
569575 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
570576 */
571 - public function register_instances_with_load_balancer($load_balancer_name, $instances, $opt = null)
 577+ public function delete_load_balancer_policy($load_balancer_name, $policy_name, $opt = null)
572578 {
573579 if (!$opt) $opt = array();
574580 $opt['LoadBalancerName'] = $load_balancer_name;
 581+ $opt['PolicyName'] = $policy_name;
575582
576 - // Required parameter
577 - $opt = array_merge($opt, CFComplexType::map(array(
578 - 'Instances' => (is_array($instances) ? $instances : array($instances))
579 - ), 'member'));
580 -
581 - return $this->authenticate('RegisterInstancesWithLoadBalancer', $opt, $this->hostname);
 583+ return $this->authenticate('DeleteLoadBalancerPolicy', $opt, $this->hostname);
582584 }
583585
584586 /**
585587 *
586 - * Associates, updates, or disables a policy with a listener on the load balancer. Currently only zero (0) or one (1) policy can be associated
587 - * with a listener.
 588+ * Deregisters instances from the LoadBalancer. Once the instance is deregistered, it will stop receiving traffic from the LoadBalancer.
588589 *
 590+ * In order to successfully call this API, the same account credentials as those used to create the LoadBalancer must be provided.
 591+ *
589592 * @param string $load_balancer_name (Required) The name associated with the LoadBalancer. The name must be unique within the client AWS account.
590 - * @param integer $load_balancer_port (Required) The external port of the LoadBalancer with which this policy has to be associated.
591 - * @param string|array $policy_names (Required) List of policies to be associated with the listener. Currently this list can have at most one policy. If the list is empty, the current policy is removed from the listener. Pass a string for a single value, or an indexed array for multiple values.
 593+ * @param array $instances (Required) A list of EC2 instance IDs consisting of all instances to be deregistered. <ul>
 594+ * <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
 595+ * <li><code>InstanceId</code> - <code>string</code> - Optional - Provides an EC2 instance ID. </li>
 596+ * </ul></li>
 597+ * </ul>
592598 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
593 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 599+ * <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>
594600 * <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>
595601 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
596602 */
597 - public function set_load_balancer_policies_of_listener($load_balancer_name, $load_balancer_port, $policy_names, $opt = null)
 603+ public function deregister_instances_from_load_balancer($load_balancer_name, $instances, $opt = null)
598604 {
599605 if (!$opt) $opt = array();
600606 $opt['LoadBalancerName'] = $load_balancer_name;
601 - $opt['LoadBalancerPort'] = $load_balancer_port;
602607
603608 // Required parameter
604609 $opt = array_merge($opt, CFComplexType::map(array(
605 - 'PolicyNames' => (is_array($policy_names) ? $policy_names : array($policy_names))
 610+ 'Instances' => (is_array($instances) ? $instances : array($instances))
606611 ), 'member'));
607612
608 - return $this->authenticate('SetLoadBalancerPoliciesOfListener', $opt, $this->hostname);
 613+ return $this->authenticate('DeregisterInstancesFromLoadBalancer', $opt, $this->hostname);
609614 }
610615 }
611616
Index: trunk/extensions/OpenStackManager/aws-sdk/services/as.class.php
@@ -46,7 +46,7 @@
4747 *
4848 * </ul>
4949 *
50 - * @version Tue Apr 05 15:15:27 PDT 2011
 50+ * @version Tue May 10 18:23:42 PDT 2011
5151 * @license See the included NOTICE.md file for complete information.
5252 * @copyright See the included NOTICE.md file for complete information.
5353 * @link http://aws.amazon.com/autoscaling/Amazon Auto-Scaling
@@ -122,12 +122,16 @@
123123
124124 if (!$key && !defined('AWS_KEY'))
125125 {
 126+ // @codeCoverageIgnoreStart
126127 throw new AS_Exception('No account key was passed into the constructor, nor was it set in the AWS_KEY constant.');
 128+ // @codeCoverageIgnoreEnd
127129 }
128130
129131 if (!$secret_key && !defined('AWS_SECRET_KEY'))
130132 {
 133+ // @codeCoverageIgnoreStart
131134 throw new AS_Exception('No account secret was passed into the constructor, nor was it set in the AWS_SECRET_KEY constant.');
 135+ // @codeCoverageIgnoreEnd
132136 }
133137
134138 return parent::__construct($key, $secret_key);
@@ -149,7 +153,7 @@
150154 * <li><code>MinSize</code> - <code>integer</code> - Optional - The minimum size for the new Auto Scaling group. </li>
151155 * <li><code>MaxSize</code> - <code>integer</code> - Optional - The maximum size for the Auto Scaling group. </li>
152156 * <li><code>DesiredCapacity</code> - <code>integer</code> - Optional - The number of EC2 instances that should be running in the group. </li>
153 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 157+ * <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>
154158 * <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>
155159 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
156160 */
@@ -185,7 +189,7 @@
186190 * @param integer $desired_capacity (Required) The new capacity setting for the AutoScalingGroup.
187191 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
188192 * <li><code>HonorCooldown</code> - <code>boolean</code> - Optional - By default, <code>SetDesiredCapacity</code> overrides any cooldown period. Set to True if you want Auto Scaling to reject this request if the Auto Scaling group is in cooldown. </li>
189 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 193+ * <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>
190194 * <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>
191195 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
192196 */
@@ -205,7 +209,7 @@
206210 * @param string $policy_name (Required) The name or PolicyARN of the policy you want to delete
207211 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
208212 * <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name of the Auto Scaling group. </li>
209 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 213+ * <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>
210214 * <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>
211215 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
212216 */
@@ -224,7 +228,7 @@
225229 * @param string $scheduled_action_name (Required) The name of the action you want to delete.
226230 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
227231 * <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name of the Auto Scaling group </li>
228 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 232+ * <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>
229233 * <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>
230234 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
231235 */
@@ -246,7 +250,7 @@
247251 * <li><code>LaunchConfigurationNames</code> - <code>string|array</code> - Optional - A list of launch configuration names. Pass a string for a single value, or an indexed array for multiple values. </li>
248252 * <li><code>NextToken</code> - <code>string</code> - Optional - A string that marks the start of the next batch of returned results. </li>
249253 * <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of launch configurations. </li>
250 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 254+ * <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>
251255 * <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>
252256 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
253257 */
@@ -271,7 +275,7 @@
272276 * Returns scaling process types for use in the ResumeProcesses and SuspendProcesses actions.
273277 *
274278 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
275 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 279+ * <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>
276280 * <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>
277281 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
278282 */
@@ -294,7 +298,7 @@
295299 * <li><code>AutoScalingGroupNames</code> - <code>string|array</code> - Optional - A list of Auto Scaling group names. Pass a string for a single value, or an indexed array for multiple values. </li>
296300 * <li><code>NextToken</code> - <code>string</code> - Optional - A string that marks the start of the next batch of returned results. </li>
297301 * <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to return. </li>
298 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 302+ * <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>
299303 * <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>
300304 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
301305 */
@@ -326,7 +330,7 @@
327331 * @param string $granularity (Required) The granularity to associate with the metrics to collect. Currently, the only legal granularity is "1Minute".
328332 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
329333 * <li><code>Metrics</code> - <code>string|array</code> - Optional - The list of metrics to collect. If no metrics are specified, all metrics are enabled. The following metrics are supported: <ul> <li>GroupMinSize</li><li>GroupMaxSize</li><li>GroupDesiredCapacity</li><li>GroupInServiceInstances</li><li>GroupPendingInstances</li><li>GroupTerminatingInstances</li><li>GroupTotalInstances</li> </ul> Pass a string for a single value, or an indexed array for multiple values. </li>
330 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 334+ * <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>
331335 * <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>
332336 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
333337 */
@@ -357,7 +361,7 @@
358362 * @param string $instance_id (Required) The ID of the EC2 instance to be terminated.
359363 * @param boolean $should_decrement_desired_capacity (Required) Specifies whether (<i>true</i>) or not (<i>false</i>) terminating this instance should also decrement the size of the AutoScalingGroup.
360364 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
361 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 365+ * <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>
362366 * <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>
363367 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
364368 */
@@ -385,7 +389,7 @@
386390 * <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name of the AutoScalingGroup. </li>
387391 * <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of scaling activities to return. </li>
388392 * <li><code>NextToken</code> - <code>string</code> - Optional - A string that marks the start of the next batch of returned results for pagination. </li>
389 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 393+ * <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>
390394 * <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>
391395 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
392396 */
@@ -413,7 +417,7 @@
414418 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
415419 * <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name or ARN of the Auto Scaling Group. </li>
416420 * <li><code>HonorCooldown</code> - <code>boolean</code> - Optional - Set to True if you want Auto Scaling to reject this request if the Auto Scaling group is in cooldown. </li>
417 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 421+ * <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>
418422 * <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>
419423 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
420424 */
@@ -430,7 +434,7 @@
431435 * Returns a list of metrics and a corresponding list of granularities for each metric.
432436 *
433437 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
434 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 438+ * <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>
435439 * <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>
436440 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
437441 */
@@ -451,7 +455,7 @@
452456 * <li><code>PolicyNames</code> - <code>string|array</code> - Optional - A list of policy names or policy ARNs to be described. If this list is omitted, all policy names are described. If an auto scaling group name is provided, the results are limited to that group.The list of requested policy names cannot contain more than 50 items. If unknown policy names are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values. </li>
453457 * <li><code>NextToken</code> - <code>string</code> - Optional - A string that is used to mark the start of the next batch of returned results for pagination. </li>
454458 * <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of policies that will be described with each call. </li>
455 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 459+ * <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>
456460 * <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>
457461 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
458462 */
@@ -476,7 +480,7 @@
477481 * Returns policy adjustment types for use in the PutScalingPolicy action.
478482 *
479483 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
480 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 484+ * <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>
481485 * <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>
482486 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
483487 */
@@ -496,7 +500,7 @@
497501 *
498502 * @param string $auto_scaling_group_name (Required) The name of the Auto Scaling group.
499503 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
500 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 504+ * <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>
501505 * <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>
502506 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
503507 */
@@ -529,7 +533,7 @@
530534 * <li><code>HealthCheckGracePeriod</code> - <code>integer</code> - Optional - Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health. </li>
531535 * <li><code>PlacementGroup</code> - <code>string</code> - Optional - Physical location of your cluster placement group created in Amazon EC2. </li>
532536 * <li><code>VPCZoneIdentifier</code> - <code>string</code> - Optional - The subnet identifier of the Virtual Private Cloud. </li>
533 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 537+ * <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>
534538 * <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>
535539 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
536540 */
@@ -570,7 +574,7 @@
571575 * <li><code>InstanceIds</code> - <code>string|array</code> - Optional - The list of Auto Scaling instances to describe. If this list is omitted, all auto scaling instances are described. The list of requested instances cannot contain more than 50 items. If unknown instances are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values. </li>
572576 * <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of Auto Scaling instances to be described with each call. </li>
573577 * <li><code>NextToken</code> - <code>string</code> - Optional - The token returned by a previous call to indicate that there is more data available. </li>
574 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 578+ * <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>
575579 * <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>
576580 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
577581 */
@@ -599,7 +603,7 @@
600604 *
601605 * @param string $launch_configuration_name (Required) The name of the launch configuration.
602606 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
603 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 607+ * <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>
604608 * <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>
605609 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
606610 */
@@ -622,7 +626,7 @@
623627 * @param string $adjustment_type (Required) Specifies whether the <code>ScalingAdjustment</code> is an absolute number or a percentage of the current capacity. Valid values are <code>ChangeInCapacity</code>, <code>ExactCapacity</code>, and <code>PercentChangeInCapacity</code>.
624628 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
625629 * <li><code>Cooldown</code> - <code>integer</code> - Optional - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. </li>
626 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 630+ * <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>
627631 * <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>
628632 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
629633 */
@@ -645,7 +649,7 @@
646650 * @param string $health_status (Required) The health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy. Auto Scaling should terminate and replace it.
647651 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
648652 * <li><code>ShouldRespectGracePeriod</code> - <code>boolean</code> - Optional - If True, this call should respect the grace period associated with the group. </li>
649 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 653+ * <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>
650654 * <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>
651655 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
652656 */
@@ -686,7 +690,7 @@
687691 * <li><code>HealthCheckGracePeriod</code> - <code>integer</code> - Optional - The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service. </li>
688692 * <li><code>PlacementGroup</code> - <code>string</code> - Optional - The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide. </li>
689693 * <li><code>VPCZoneIdentifier</code> - <code>string</code> - Optional - The identifier for the VPC connection, if applicable. </li>
690 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 694+ * <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>
691695 * <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>
692696 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
693697 */
@@ -719,7 +723,7 @@
720724 * <li><code>EndTime</code> - <code>string</code> - Optional - The latest scheduled start time to return. If scheduled action names are provided, this field will be ignored. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
721725 * <li><code>NextToken</code> - <code>string</code> - Optional - A string that marks the start of the next batch of returned results. </li>
722726 * <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of scheduled actions to return. </li>
723 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 727+ * <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>
724728 * <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>
725729 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
726730 */
@@ -765,7 +769,7 @@
766770 * @param string $auto_scaling_group_name (Required) The name or Amazon Resource Name (ARN) of the Auto Scaling group.
767771 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
768772 * <li><code>ScalingProcesses</code> - <code>string|array</code> - Optional - The processes that you want to suspend or resume, which can include one or more of the following: <ul> <li>Launch</li><li>Terminate</li><li>HealthCheck</li><li>ReplaceUnhealthy</li><li>AZRebalance</li><li>AlarmNotifications</li><li>ScheduledActions</li> </ul> To suspend all process types, omit this parameter. Pass a string for a single value, or an indexed array for multiple values. </li>
769 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 773+ * <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>
770774 * <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>
771775 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
772776 */
@@ -793,7 +797,7 @@
794798 * @param string $auto_scaling_group_name (Required) The name or Amazon Resource Name (ARN) of the Auto Scaling group.
795799 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
796800 * <li><code>ScalingProcesses</code> - <code>string|array</code> - Optional - The processes that you want to suspend or resume, which can include one or more of the following: <ul> <li>Launch</li><li>Terminate</li><li>HealthCheck</li><li>ReplaceUnhealthy</li><li>AZRebalance</li><li>AlarmNotifications</li><li>ScheduledActions</li> </ul> To suspend all process types, omit this parameter. Pass a string for a single value, or an indexed array for multiple values. </li>
797 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 801+ * <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>
798802 * <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>
799803 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
800804 */
@@ -842,7 +846,7 @@
843847 * </ul></li>
844848 * <li><code>InstanceMonitoring</code> - <code>array</code> - Optional - Enables detailed monitoring. <ul>
845849 * <li><code>Enabled</code> - <code>boolean</code> - Optional - If true, instance monitoring is enabled. </li></ul></li>
846 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 850+ * <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>
847851 * <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>
848852 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
849853 */
@@ -891,7 +895,7 @@
892896 * @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling Group.
893897 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
894898 * <li><code>Metrics</code> - <code>string|array</code> - Optional - The list of metrics to disable. If no metrics are specified, all metrics are disabled. The following metrics are supported: <ul> <li>GroupMinSize</li><li>GroupMaxSize</li><li>GroupDesiredCapacity</li><li>GroupInServiceInstances</li><li>GroupPendingInstances</li><li>GroupTerminatingInstances</li><li>GroupTotalInstances</li> </ul> Pass a string for a single value, or an indexed array for multiple values. </li>
895 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 899+ * <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>
896900 * <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>
897901 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
898902 */
Index: trunk/extensions/OpenStackManager/aws-sdk/services/sns.class.php
@@ -17,7 +17,7 @@
1818 /**
1919
2020 *
21 - * @version Tue Apr 05 15:22:52 PDT 2011
 21+ * @version Tue May 10 18:31:18 PDT 2011
2222 * @license See the included NOTICE.md file for complete information.
2323 * @copyright See the included NOTICE.md file for complete information.
2424 * @link http://aws.amazon.com/sns/Amazon Simple Notification Service
@@ -122,12 +122,16 @@
123123
124124 if (!$key && !defined('AWS_KEY'))
125125 {
 126+ // @codeCoverageIgnoreStart
126127 throw new SNS_Exception('No account key was passed into the constructor, nor was it set in the AWS_KEY constant.');
 128+ // @codeCoverageIgnoreEnd
127129 }
128130
129131 if (!$secret_key && !defined('AWS_SECRET_KEY'))
130132 {
 133+ // @codeCoverageIgnoreStart
131134 throw new SNS_Exception('No account secret was passed into the constructor, nor was it set in the AWS_SECRET_KEY constant.');
 135+ // @codeCoverageIgnoreEnd
132136 }
133137
134138 return parent::__construct($key, $secret_key);
@@ -147,7 +151,7 @@
148152 * @param string $token (Required) Short-lived token sent to an endpoint during the Subscribe action.
149153 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
150154 * <li><code>AuthenticateOnUnsubscribe</code> - <code>string</code> - Optional - Indicates that you want to disable unauthenticated unsubsciption of the subscription. If parameter is present in the request, the request has an AWS signature, and the value of this parameter is true, only the topic owner and the subscription owner will be permitted to unsubscribe the endopint, and the Unsubscribe action will require AWS authentication. </li>
151 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 155+ * <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>
152156 * <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>
153157 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
154158 */
@@ -167,7 +171,7 @@
168172 *
169173 * @param string $topic_arn (Required) The ARN of the topic whose properties you want to get.
170174 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
171 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 175+ * <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>
172176 * <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>
173177 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
174178 */
@@ -189,7 +193,7 @@
190194 * @param string $protocol (Required) The protocol you want to use. Supported protocols include: <ul> <li>http -- delivery of JSON-encoded message via HTTP POST</li><li>https -- delivery of JSON-encoded message via HTTPS POST</li><li>email -- delivery of message via SMTP</li><li>email-json -- delivery of JSON-encoded message via SMTP</li><li>sqs -- delivery of JSON-encoded message to an Amazon SQS queue</li> </ul>
191195 * @param string $endpoint (Required) The endpoint that you want to receive notifications. Endpoints vary by protocol: <ul> <li>For the http protocol, the endpoint is an URL beginning with "http://"</li><li>For the https protocol, the endpoint is a URL beginning with "https://"</li><li>For the email protocol, the endpoint is an e-mail address</li><li>For the email-json protocol, the endpoint is an e-mail address</li><li>For the sqs protocol, the endpoint is the ARN of an Amazon SQS queue</li> </ul>
192196 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
193 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 197+ * <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>
194198 * <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>
195199 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
196200 */
@@ -211,7 +215,7 @@
212216 * @param string $attribute_name (Required) The name of the attribute you want to set. Only a subset of the topic's attributes are mutable.
213217 * @param string $attribute_value (Required) The new value for the attribute.
214218 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
215 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 219+ * <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>
216220 * <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>
217221 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
218222 */
@@ -232,7 +236,7 @@
233237 *
234238 * @param string $topic_arn (Required) The ARN of the topic you want to delete.
235239 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
236 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 240+ * <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>
237241 * <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>
238242 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
239243 */
@@ -251,7 +255,7 @@
252256 * @param string $topic_arn (Required) The ARN of the topic whose access control policy you wish to modify.
253257 * @param string $label (Required) The unique label of the statement you want to remove.
254258 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
255 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 259+ * <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>
256260 * <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>
257261 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
258262 */
@@ -271,7 +275,7 @@
272276 *
273277 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
274278 * <li><code>NextToken</code> - <code>string</code> - Optional - Token returned by the previous ListSubscriptions request. </li>
275 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 279+ * <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>
276280 * <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>
277281 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
278282 */
@@ -292,7 +296,7 @@
293297 * @param string|array $account_id (Required) The AWS account IDs of the users (principals) who will be given access to the specified actions. The users must have AWS accounts, but do not need to be signed up for this service. Pass a string for a single value, or an indexed array for multiple values.
294298 * @param string|array $action_name (Required) The action you want to allow for the specified principal(s). Pass a string for a single value, or an indexed array for multiple values.
295299 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
296 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 300+ * <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>
297301 * <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>
298302 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
299303 */
@@ -323,7 +327,7 @@
324328 *
325329 * @param string $name (Required) The name of the topic you want to create. Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, and hyphens, and must be between 1 and 256 characters long.
326330 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
327 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 331+ * <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>
328332 * <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>
329333 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
330334 */
@@ -342,7 +346,7 @@
343347 *
344348 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
345349 * <li><code>NextToken</code> - <code>string</code> - Optional - Token returned by the previous ListTopics request. </li>
346 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 350+ * <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>
347351 * <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>
348352 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
349353 */
@@ -362,7 +366,7 @@
363367 *
364368 * @param string $subscription_arn (Required) The ARN of the subscription to be deleted.
365369 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
366 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 370+ * <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>
367371 * <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>
368372 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
369373 */
@@ -383,7 +387,7 @@
384388 * @param string $topic_arn (Required) The ARN of the topic for which you wish to find subscriptions.
385389 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
386390 * <li><code>NextToken</code> - <code>string</code> - Optional - Token returned by the previous ListSubscriptionsByTopic request. </li>
387 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 391+ * <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>
388392 * <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>
389393 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
390394 */
@@ -405,7 +409,7 @@
406410 * @param string $message (Required) The message you want to send to the topic. Constraints: Messages must be UTF-8 encoded strings at most 8 KB in size (8192 bytes, not 8192 characters).
407411 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
408412 * <li><code>Subject</code> - <code>string</code> - Optional - Optional parameter to be used as the "Subject" line of when the message is delivered to e-mail endpoints. This field will also be included, if present, in the standard JSON messages delivered to other endpoints. Constraints: Subjects must be ASCII text that begins with a letter, number or punctuation mark; must not include line breaks or control characters; and must be less than 100 characters long. </li>
409 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 413+ * <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>
410414 * <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>
411415 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
412416 */
Index: trunk/extensions/OpenStackManager/aws-sdk/services/iam.class.php
@@ -32,7 +32,7 @@
3333 *
3434 * We will refer to Amazon AWS Identity and Access Management using the abbreviated form IAM. All copyrights and legal protections still apply.
3535 *
36 - * @version Tue Apr 05 15:20:35 PDT 2011
 36+ * @version Tue May 10 18:28:47 PDT 2011
3737 * @license See the included NOTICE.md file for complete information.
3838 * @copyright See the included NOTICE.md file for complete information.
3939 * @link http://aws.amazon.com/iam/Amazon Identity and Access Management Service
@@ -68,12 +68,16 @@
6969
7070 if (!$key && !defined('AWS_KEY'))
7171 {
 72+ // @codeCoverageIgnoreStart
7273 throw new IAM_Exception('No account key was passed into the constructor, nor was it set in the AWS_KEY constant.');
 74+ // @codeCoverageIgnoreEnd
7375 }
7476
7577 if (!$secret_key && !defined('AWS_SECRET_KEY'))
7678 {
 79+ // @codeCoverageIgnoreStart
7780 throw new IAM_Exception('No account secret was passed into the constructor, nor was it set in the AWS_SECRET_KEY constant.');
 81+ // @codeCoverageIgnoreEnd
7882 }
7983
8084 return parent::__construct($key, $secret_key);
@@ -93,7 +97,7 @@
9498 * <li><code>PathPrefix</code> - <code>string</code> - Optional - The path prefix for filtering the results. For example: <code>/division_abc/subdivision_xyz/</code>, which would get all groups whose path starts with <code>/division_abc/subdivision_xyz/</code>. This parameter is optional. If it is not included, it defaults to a slash (/), listing all groups. </li>
9599 * <li><code>Marker</code> - <code>string</code> - Optional - Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>Marker</code> element in the response you just received. </li>
96100 * <li><code>MaxItems</code> - <code>integer</code> - Optional - Use this only when paginating results to indicate the maximum number of groups you want in the response. If there are additional groups beyond the maximum you specify, the <code>IsTruncated</code> response element is <code>true</code>. </li>
97 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 101+ * <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>
98102 * <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>
99103 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
100104 */
@@ -115,7 +119,7 @@
116120 * @param string $access_key_id (Required) The Access Key ID for the Access Key ID and Secret Access Key you want to delete.
117121 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
118122 * <li><code>UserName</code> - <code>string</code> - Optional - Name of the User whose key you want to delete. </li>
119 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 123+ * <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>
120124 * <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>
121125 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
122126 */
@@ -135,7 +139,7 @@
136140 *
137141 * @param string $account_alias (Required) Name of the account alias to delete.
138142 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
139 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 143+ * <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>
140144 * <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>
141145 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
142146 */
@@ -162,7 +166,7 @@
163167 * <li><code>UserName</code> - <code>string</code> - Optional - The name of the User. </li>
164168 * <li><code>Marker</code> - <code>string</code> - Optional - Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>Marker</code> element in the response you just received. </li>
165169 * <li><code>MaxItems</code> - <code>integer</code> - Optional - Use this only when paginating results to indicate the maximum number of certificate IDs you want in the response. If there are additional certificate IDs beyond the maximum you specify, the <code>IsTruncated</code> response element is <code>true</code>. </li>
166 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 170+ * <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>
167171 * <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>
168172 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
169173 */
@@ -190,7 +194,7 @@
191195 * @param string $certificate_body (Required) The contents of the signing certificate.
192196 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
193197 * <li><code>UserName</code> - <code>string</code> - Optional - Name of the User the signing certificate is for. </li>
194 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 198+ * <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>
195199 * <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>
196200 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
197201 */
@@ -209,7 +213,7 @@
210214 * @param string $user_name (Required) Name of the User the policy is associated with.
211215 * @param string $policy_name (Required) Name of the policy document to delete.
212216 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
213 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 217+ * <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>
214218 * <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>
215219 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
216220 */
@@ -240,7 +244,7 @@
241245 * @param string $policy_name (Required) Name of the policy document.
242246 * @param string $policy_document (Required) The policy document.
243247 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
244 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 248+ * <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>
245249 * <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>
246250 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
247251 */
@@ -264,7 +268,7 @@
265269 * <li><code>PathPrefix</code> - <code>string</code> - Optional - The path prefix for filtering the results. For example: <code>/company/servercerts</code> would get all server certificates for which the path starts with <code>/company/servercerts</code>. This parameter is optional. If it is not included, it defaults to a slash (/), listing all server certificates. </li>
266270 * <li><code>Marker</code> - <code>string</code> - Optional - Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>Marker</code> element in the response you just received. </li>
267271 * <li><code>MaxItems</code> - <code>integer</code> - Optional - Use this only when paginating results to indicate the maximum number of server certificates you want in the response. If there are additional server certificates beyond the maximum you specify, the <code>IsTruncated</code> response element will be set to <code>true</code>. </li>
268 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 272+ * <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>
269273 * <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>
270274 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
271275 */
@@ -283,7 +287,7 @@
284288 * @param string $user_name (Required) Name of the User who the policy is associated with.
285289 * @param string $policy_name (Required) Name of the policy document to get.
286290 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
287 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 291+ * <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>
288292 * <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>
289293 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
290294 */
@@ -303,7 +307,7 @@
304308 * @param string $user_name (Required) Name of the User whose login profile you want to update.
305309 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
306310 * <li><code>Password</code> - <code>string</code> - Optional - The new password for the User name. </li>
307 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 311+ * <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>
308312 * <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>
309313 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
310314 */
@@ -332,7 +336,7 @@
333337 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
334338 * <li><code>NewPath</code> - <code>string</code> - Optional - The new path for the server certificate. Include this only if you are updating the server certificate's path. </li>
335339 * <li><code>NewServerCertificateName</code> - <code>string</code> - Optional - The new name for the server certificate. Include this only if you are updating the server certificate's name. </li>
336 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 340+ * <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>
337341 * <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>
338342 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
339343 */
@@ -361,7 +365,7 @@
362366 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
363367 * <li><code>NewPath</code> - <code>string</code> - Optional - New path for the User. Include this parameter only if you're changing the User's path. </li>
364368 * <li><code>NewUserName</code> - <code>string</code> - Optional - New name for the User. Include this parameter only if you're changing the User's name. </li>
365 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 369+ * <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>
366370 * <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>
367371 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
368372 */
@@ -383,7 +387,7 @@
384388 *
385389 * @param string $user_name (Required) Name of the User whose login profile you want to delete.
386390 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
387 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 391+ * <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>
388392 * <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>
389393 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
390394 */
@@ -412,7 +416,7 @@
413417 * @param string $status (Required) The status you want to assign to the certificate. <code>Active</code> means the certificate can be used for API calls to AWS, while <code>Inactive</code> means the certificate cannot be used. [Allowed values: <code>Active</code>, <code>Inactive</code>]
414418 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
415419 * <li><code>UserName</code> - <code>string</code> - Optional - Name of the User the signing certificate belongs to. </li>
416 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 420+ * <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>
417421 * <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>
418422 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
419423 */
@@ -432,7 +436,7 @@
433437 * @param string $group_name (Required) Name of the group the policy is associated with.
434438 * @param string $policy_name (Required) Name of the policy document to delete.
435439 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
436 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 440+ * <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>
437441 * <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>
438442 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
439443 */
@@ -455,7 +459,7 @@
456460 * <li><code>PathPrefix</code> - <code>string</code> - Optional - The path prefix for filtering the results. For example: <code>/division_abc/subdivision_xyz/</code>, which would get all User names whose path starts with <code>/division_abc/subdivision_xyz/</code>. This parameter is optional. If it is not included, it defaults to a slash (/), listing all User names. </li>
457461 * <li><code>Marker</code> - <code>string</code> - Optional - Use this parameter only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>Marker</code> element in the response you just received. </li>
458462 * <li><code>MaxItems</code> - <code>integer</code> - Optional - Use this parameter only when paginating results to indicate the maximum number of User names you want in the response. If there are additional User names beyond the maximum you specify, the <code>IsTruncated</code> response element is <code>true</code>. </li>
459 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 463+ * <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>
460464 * <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>
461465 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
462466 */
@@ -483,7 +487,7 @@
484488 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
485489 * <li><code>NewPath</code> - <code>string</code> - Optional - New path for the group. Only include this if changing the group's path. </li>
486490 * <li><code>NewGroupName</code> - <code>string</code> - Optional - New name for the group. Only include this if changing the group's name. </li>
487 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 491+ * <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>
488492 * <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>
489493 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
490494 */
@@ -501,7 +505,7 @@
502506 *
503507 * @param string $server_certificate_name (Required) The name of the server certificate you want to retrieve information about.
504508 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
505 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 509+ * <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>
506510 * <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>
507511 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
508512 */
@@ -531,7 +535,7 @@
532536 * @param string $policy_name (Required) Name of the policy document.
533537 * @param string $policy_document (Required) The policy document.
534538 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
535 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 539+ * <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>
536540 * <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>
537541 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
538542 */
@@ -556,7 +560,7 @@
557561 * @param string $user_name (Required) Name of the User to create.
558562 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
559563 * <li><code>Path</code> - <code>string</code> - Optional - The path for the User name. For more information about paths, see Identifiers for IAM Entities in <i>Using AWS Identity and Access Management</i>. This parameter is optional. If it is not included, it defaults to a slash (/). </li>
560 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 564+ * <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>
561565 * <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>
562566 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
563567 */
@@ -579,7 +583,7 @@
580584 * @param string $certificate_id (Required) ID of the signing certificate to delete.
581585 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
582586 * <li><code>UserName</code> - <code>string</code> - Optional - Name of the User the signing certificate belongs to. </li>
583 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 587+ * <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>
584588 * <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>
585589 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
586590 */
@@ -601,7 +605,7 @@
602606 * @param string $authentication_code1 (Required) An authentication code emitted by the device.
603607 * @param string $authentication_code2 (Required) A subsequent authentication code emitted by the device.
604608 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
605 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 609+ * <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>
606610 * <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>
607611 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
608612 */
@@ -626,7 +630,7 @@
627631 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
628632 * <li><code>Marker</code> - <code>string</code> - Optional - Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>Marker</code> element in the response you just received. </li>
629633 * <li><code>MaxItems</code> - <code>integer</code> - Optional - Use this only when paginating results to indicate the maximum number of policy names you want in the response. If there are additional policy names beyond the maximum you specify, the <code>IsTruncated</code> response element is <code>true</code>. </li>
630 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 634+ * <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>
631635 * <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>
632636 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
633637 */
@@ -655,7 +659,7 @@
656660 * <li><code>UserName</code> - <code>string</code> - Optional - Name of the User. </li>
657661 * <li><code>Marker</code> - <code>string</code> - Optional - Use this parameter only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>Marker</code> element in the response you just received. </li>
658662 * <li><code>MaxItems</code> - <code>integer</code> - Optional - Use this parameter only when paginating results to indicate the maximum number of keys you want in the response. If there are additional keys beyond the maximum you specify, the <code>IsTruncated</code> response element is <code>true</code>. </li>
659 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 663+ * <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>
660664 * <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>
661665 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
662666 */
@@ -672,7 +676,7 @@
673677 *
674678 * @param string $user_name (Required) Name of the User whose login profile you want to retrieve.
675679 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
676 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 680+ * <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>
677681 * <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>
678682 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
679683 */
@@ -694,7 +698,7 @@
695699 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
696700 * <li><code>Marker</code> - <code>string</code> - Optional - Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>Marker</code> element in the response you just received. </li>
697701 * <li><code>MaxItems</code> - <code>integer</code> - Optional - Use this only when paginating results to indicate the maximum number of groups you want in the response. If there are additional groups beyond the maximum you specify, the <code>IsTruncated</code> response element is <code>true</code>. </li>
698 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 702+ * <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>
699703 * <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>
700704 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
701705 */
@@ -717,7 +721,7 @@
718722 * @param string $group_name (Required) Name of the group to create. Do not include the path in this value.
719723 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
720724 * <li><code>Path</code> - <code>string</code> - Optional - The path to the group. For more information about paths, see Identifiers for IAM Entities in <i>Using AWS Identity and Access Management</i>. This parameter is optional. If it is not included, it defaults to a slash (/). </li>
721 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 725+ * <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>
722726 * <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>
723727 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
724728 */
@@ -749,7 +753,7 @@
750754 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
751755 * <li><code>Path</code> - <code>string</code> - Optional - The path for the server certificate. For more information about paths, see Identifiers for IAM Entities in <i>Using AWS Identity and Access Management</i>. This parameter is optional. If it is not included, it defaults to a slash (/). </li>
752756 * <li><code>CertificateChain</code> - <code>string</code> - Optional - The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain. </li>
753 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 757+ * <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>
754758 * <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>
755759 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
756760 */
@@ -771,7 +775,7 @@
772776 *
773777 * @param string $account_alias (Required) Name of the account alias to create
774778 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
775 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 779+ * <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>
776780 * <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>
777781 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
778782 */
@@ -791,7 +795,7 @@
792796 * @param string $group_name (Required) Name of the group the policy is associated with.
793797 * @param string $policy_name (Required) Name of the policy document to get.
794798 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
795 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 799+ * <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>
796800 * <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>
797801 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
798802 */
@@ -810,7 +814,7 @@
811815 *
812816 * @param string $user_name (Required) Name of the User to delete.
813817 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
814 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 818+ * <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>
815819 * <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>
816820 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
817821 */
@@ -829,7 +833,7 @@
830834 * @param string $user_name (Required) Name of the User whose MFA device you want to deactivate.
831835 * @param string $serial_number (Required) The serial number that uniquely identifies the MFA device.
832836 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
833 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 837+ * <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>
834838 * <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>
835839 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
836840 */
@@ -849,7 +853,7 @@
850854 * @param string $group_name (Required) Name of the group to update.
851855 * @param string $user_name (Required) Name of the User to remove.
852856 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
853 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 857+ * <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>
854858 * <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>
855859 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
856860 */
@@ -873,7 +877,7 @@
874878 *
875879 * @param string $server_certificate_name (Required) The name of the server certificate you want to delete.
876880 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
877 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 881+ * <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>
878882 * <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>
879883 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
880884 */
@@ -895,7 +899,7 @@
896900 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
897901 * <li><code>Marker</code> - <code>string</code> - Optional - Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>Marker</code> element in the response you just received. </li>
898902 * <li><code>MaxItems</code> - <code>integer</code> - Optional - Use this only when paginating results to indicate the maximum number of policy names you want in the response. If there are additional policy names beyond the maximum you specify, the <code>IsTruncated</code> response element is <code>true</code>. </li>
899 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 903+ * <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>
900904 * <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>
901905 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
902906 */
@@ -917,7 +921,7 @@
918922 * @param string $user_name (Required) Name of the User to create a login profile for.
919923 * @param string $password (Required) The new password for the User name.
920924 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
921 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 925+ * <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>
922926 * <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>
923927 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
924928 */
@@ -949,7 +953,7 @@
950954 *
951955 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
952956 * <li><code>UserName</code> - <code>string</code> - Optional - The User name that the new key will belong to. </li>
953 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 957+ * <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>
954958 * <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>
955959 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
956960 */
@@ -968,7 +972,7 @@
969973 *
970974 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
971975 * <li><code>UserName</code> - <code>string</code> - Optional - Name of the User to get information about. This parameter is optional. If it is not included, it defaults to the User making the request. </li>
972 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 976+ * <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>
973977 * <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>
974978 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
975979 */
@@ -988,7 +992,7 @@
989993 * @param string $authentication_code1 (Required) An authentication code emitted by the device.
990994 * @param string $authentication_code2 (Required) A subsequent authentication code emitted by the device.
991995 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
992 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 996+ * <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>
993997 * <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>
994998 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
995999 */
@@ -1013,7 +1017,7 @@
10141018 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
10151019 * <li><code>Marker</code> - <code>string</code> - Optional - Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>Marker</code> element in the response you just received. </li>
10161020 * <li><code>MaxItems</code> - <code>integer</code> - Optional - Use this only when paginating results to indicate the maximum number of keys you want in the response. If there are additional keys beyond the maximum you specify, the <code>IsTruncated</code> response element is <code>true</code>. </li>
1017 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1021+ * <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>
10181022 * <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>
10191023 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10201024 */
@@ -1042,7 +1046,7 @@
10431047 * @param string $status (Required) The status you want to assign to the Secret Access Key. <code>Active</code> means the key can be used for API calls to AWS, while <code>Inactive</code> means the key cannot be used. [Allowed values: <code>Active</code>, <code>Inactive</code>]
10441048 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
10451049 * <li><code>UserName</code> - <code>string</code> - Optional - Name of the User whose key you want to update. </li>
1046 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1050+ * <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>
10471051 * <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>
10481052 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10491053 */
@@ -1064,7 +1068,7 @@
10651069 * <i>Using AWS Identity and Access Management</i>.
10661070 *
10671071 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1068 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1072+ * <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>
10691073 * <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>
10701074 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10711075 */
@@ -1082,7 +1086,7 @@
10831087 * @param string $group_name (Required) Name of the group to update.
10841088 * @param string $user_name (Required) Name of the User to add.
10851089 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1086 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1090+ * <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>
10871091 * <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>
10881092 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10891093 */
@@ -1104,7 +1108,7 @@
11051109 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
11061110 * <li><code>Marker</code> - <code>string</code> - Optional - Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>Marker</code> element in the response you just received. </li>
11071111 * <li><code>MaxItems</code> - <code>integer</code> - Optional - Use this only when paginating results to indicate the maximum number of User names you want in the response. If there are additional User names beyond the maximum you specify, the <code>IsTruncated</code> response element is <code>true</code>. </li>
1108 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1112+ * <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>
11091113 * <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>
11101114 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
11111115 */
@@ -1127,7 +1131,7 @@
11281132 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
11291133 * <li><code>Marker</code> - <code>string</code> - Optional - Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the <code>Marker</code> element in the response you just received. </li>
11301134 * <li><code>MaxItems</code> - <code>integer</code> - Optional - Use this only when paginating results to indicate the maximum number of account aliases you want in the response. If there are additional account aliases beyond the maximum you specify, the <code>IsTruncated</code> response element is <code>true</code>. </li>
1131 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1135+ * <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>
11321136 * <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>
11331137 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
11341138 */
@@ -1144,7 +1148,7 @@
11451149 *
11461150 * @param string $group_name (Required) Name of the group to delete.
11471151 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1148 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1152+ * <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>
11491153 * <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>
11501154 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
11511155 */
Index: trunk/extensions/OpenStackManager/aws-sdk/services/sqs.class.php
@@ -28,7 +28,7 @@
2929 *
3030 * Visit <a href="http://aws.amazon.com/sqs/">http://aws.amazon.com/sqs/</a> for more information.
3131 *
32 - * @version Tue Apr 05 15:23:20 PDT 2011
 32+ * @version Tue May 10 18:31:54 PDT 2011
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/sqs/Amazon Simple Queue Service
@@ -168,12 +168,16 @@
169169
170170 if (!$key && !defined('AWS_KEY'))
171171 {
 172+ // @codeCoverageIgnoreStart
172173 throw new SQS_Exception('No account key was passed into the constructor, nor was it set in the AWS_KEY constant.');
 174+ // @codeCoverageIgnoreEnd
173175 }
174176
175177 if (!$secret_key && !defined('AWS_SECRET_KEY'))
176178 {
 179+ // @codeCoverageIgnoreStart
177180 throw new SQS_Exception('No account secret was passed into the constructor, nor was it set in the AWS_SECRET_KEY constant.');
 181+ // @codeCoverageIgnoreEnd
178182 }
179183
180184 return parent::__construct($key, $secret_key);
@@ -189,7 +193,7 @@
190194 *
191195 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
192196 * <li><code>QueueNamePrefix</code> - <code>string</code> - Optional - A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned. </li>
193 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 197+ * <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>
194198 * <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>
195199 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
196200 */
@@ -212,7 +216,7 @@
213217 * </ul></li>
214218 * </ul>
215219 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
216 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 220+ * <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>
217221 * <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>
218222 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
219223 */
@@ -252,7 +256,7 @@
253257 * @param string $receipt_handle (Required) The receipt handle associated with the message whose visibility timeout should be changed.
254258 * @param integer $visibility_timeout (Required) The new value (in seconds) for the message's visibility timeout.
255259 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
256 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 260+ * <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>
257261 * <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>
258262 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
259263 */
@@ -278,7 +282,7 @@
279283 * @param string $queue_name (Required) The name for the queue to be created.
280284 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
281285 * <li><code>DefaultVisibilityTimeout</code> - <code>integer</code> - Optional - The visibility timeout (in seconds) to use for the created queue. </li>
282 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 286+ * <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>
283287 * <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>
284288 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
285289 */
@@ -298,7 +302,7 @@
299303 * @param string $queue_url (Required) The URL of the SQS queue to take action on.
300304 * @param string $label (Required) The identfication of the permission to remove. This is the label added with the AddPermission operation.
301305 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
302 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 306+ * <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>
303307 * <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>
304308 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
305309 */
@@ -318,7 +322,7 @@
319323 * @param string $queue_url (Required) The URL of the SQS queue to take action on.
320324 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
321325 * <li><code>AttributeName</code> - <code>string|array</code> - Optional - A list of attributes to retrieve information for. Pass a string for a single value, or an indexed array for multiple values. </li>
322 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 326+ * <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>
323327 * <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>
324328 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
325329 */
@@ -359,7 +363,7 @@
360364 * @param string|array $account_id (Required) The AWS account number of the principal who will be given permission. The principal must have an AWS account, but does not need to be signed up for Amazon SQS. Pass a string for a single value, or an indexed array for multiple values.
361365 * @param string|array $action_name (Required) The action the client wants to allow for the specified principal. Pass a string for a single value, or an indexed array for multiple values.
362366 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
363 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 367+ * <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>
364368 * <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>
365369 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
366370 */
@@ -388,7 +392,7 @@
389393 *
390394 * @param string $queue_url (Required) The URL of the SQS queue to take action on.
391395 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
392 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 396+ * <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>
393397 * <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>
394398 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
395399 */
@@ -407,7 +411,7 @@
408412 * @param string $queue_url (Required) The URL of the SQS queue to take action on.
409413 * @param string $receipt_handle (Required) The receipt handle associated with the message to delete.
410414 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
411 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 415+ * <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>
412416 * <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>
413417 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
414418 */
@@ -426,7 +430,7 @@
427431 * @param string $queue_url (Required) The URL of the SQS queue to take action on.
428432 * @param string $message_body (Required) The message to send.
429433 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
430 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 434+ * <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>
431435 * <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>
432436 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
433437 */
@@ -450,7 +454,7 @@
451455 * <li><code>AttributeName</code> - <code>string|array</code> - Optional - A list of attributes to retrieve information for. Pass a string for a single value, or an indexed array for multiple values. </li>
452456 * <li><code>MaxNumberOfMessages</code> - <code>integer</code> - Optional - The maximum number of messages to return. Amazon SQS never returns more messages than this value but may return fewer. All of the messages are not necessarily returned. </li>
453457 * <li><code>VisibilityTimeout</code> - <code>integer</code> - Optional - The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a <code>ReceiveMessage</code> request. </li>
454 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 458+ * <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>
455459 * <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>
456460 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
457461 */
Index: trunk/extensions/OpenStackManager/aws-sdk/services/sdb.class.php
@@ -31,7 +31,7 @@
3232 *
3333 * Visit <a href="http://aws.amazon.com/simpledb/">http://aws.amazon.com/simpledb/</a> for more information.
3434 *
35 - * @version Tue Apr 05 15:22:22 PDT 2011
 35+ * @version Tue May 10 18:30:45 PDT 2011
3636 * @license See the included NOTICE.md file for complete information.
3737 * @copyright See the included NOTICE.md file for complete information.
3838 * @link http://aws.amazon.com/simpledb/Amazon SimpleDB
@@ -226,12 +226,16 @@
227227
228228 if (!$key && !defined('AWS_KEY'))
229229 {
 230+ // @codeCoverageIgnoreStart
230231 throw new SDB_Exception('No account key was passed into the constructor, nor was it set in the AWS_KEY constant.');
 232+ // @codeCoverageIgnoreEnd
231233 }
232234
233235 if (!$secret_key && !defined('AWS_SECRET_KEY'))
234236 {
 237+ // @codeCoverageIgnoreStart
235238 throw new SDB_Exception('No account secret was passed into the constructor, nor was it set in the AWS_SECRET_KEY constant.');
 239+ // @codeCoverageIgnoreEnd
236240 }
237241
238242 return parent::__construct($key, $secret_key);
@@ -256,7 +260,7 @@
257261 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
258262 * <li><code>NextToken</code> - <code>string</code> - Optional - A string informing Amazon SimpleDB where to start the next list of <code>ItemNames</code>. </li>
259263 * <li><code>ConsistentRead</code> - <code>boolean</code> - Optional - Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If <code>true</code>, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read. </li>
260 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 264+ * <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>
261265 * <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>
262266 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
263267 */
@@ -312,7 +316,7 @@
313317 * <li><code>Value</code> - <code>string</code> - Optional - The value of an attribute. This value can only be specified when the exists parameter is equal to true.</li>
314318 * <li><code>Exists</code> - <code>string</code> - Optional - True if the specified attribute must exist with the specified value in order for this update condition to be satisfied, otherwise false if the specified attribute should not exist in order for this update condition to be satisfied.</li>
315319 * </ul></li>
316 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 320+ * <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>
317321 * <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 is useful for manually-managed batch requests.</li></ul>
318322 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
319323 */
@@ -359,7 +363,7 @@
360364 * </ul>
361365 *
362366 * @param string $domain_name (Required) The name of the domain in which the attributes are being deleted.
363 - * @param array $item_keypairs (Required) Associative array of parameters which are treated as item-key-value and item-key-multivalue pairs (i.e. a key can have one or more values; think tags).
 367+ * @param array $item_keypairs (Required) Associative array of parameters which are treated as item-key-value and item-key-multivalue pairs (i.e. a key can have one or more values; think tags). <ul>
364368 * <li><code>[item]</code> - <code>array</code> - Set the custom item name as the key for this value.<ul>
365369 * <li><code>[key]</code> - <code>array</code> - Set the custom key name as the key for this value. For the value, pass a string for a single value, or an indexed array for multiple values.</li>
366370 * </ul></li></ul>
@@ -377,7 +381,7 @@
378382 * </ul></li>
379383 * </ul></li>
380384 * </ul></li>
381 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 385+ * <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>
382386 * <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 is useful for manually-managed batch requests.</li></ul>
383387 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
384388 */
@@ -411,7 +415,7 @@
412416 *
413417 * @param string $domain_name (Required) The name of the domain to delete.
414418 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
415 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 419+ * <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>
416420 * <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>
417421 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
418422 */
@@ -437,7 +441,7 @@
438442 *
439443 * @param string $domain_name (Required) The name of the domain to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.
440444 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
441 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 445+ * <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>
442446 * <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>
443447 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
444448 */
@@ -480,7 +484,7 @@
481485 * <li><code>Value</code> - <code>string</code> - Optional - The value of an attribute. This value can only be specified when the exists parameter is equal to true.</li>
482486 * <li><code>Exists</code> - <code>string</code> - Optional - True if the specified attribute must exist with the specified value in order for this update condition to be satisfied, otherwise false if the specified attribute should not exist in order for this update condition to be satisfied.</li>
483487 * </ul></li>
484 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 488+ * <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>
485489 * <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 is useful for manually-managed batch requests.</li></ul>
486490 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
487491 */
@@ -518,7 +522,7 @@
519523 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
520524 * <li><code>MaxNumberOfDomains</code> - <code>integer</code> - Optional - The maximum number of domain names you want returned. The range is 1 to 100. The default setting is 100. </li>
521525 * <li><code>NextToken</code> - <code>string</code> - Optional - A string informing Amazon SimpleDB where to start the next list of domain names. </li>
522 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 526+ * <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>
523527 * <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>
524528 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
525529 */
@@ -545,7 +549,7 @@
546550 * @param string|array $attribute_name (Optional) The names of the attributes. Pass a string for a single value, or an indexed array for multiple values.
547551 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
548552 * <li><code>ConsistentRead</code> - <code>boolean</code> - Optional - True if strong consistency should be enforced when data is read from SimpleDB, meaning that any data previously written to SimpleDB will be returned. Without specifying this parameter, results will be eventually consistent, and you may not see data that was written immediately before your read.</li>
549 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 553+ * <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>
550554 * <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 is useful for manually-managed batch requests.</li></ul>
551555 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
552556 */
@@ -593,7 +597,7 @@
594598 * </ul>
595599 *
596600 * @param string $domain_name (Required) The name of the domain in which the attributes are being deleted.
597 - * @param array $item_keypairs (Required) Associative array of parameters which are treated as item-key-value and item-key-multivalue pairs (i.e. a key can have one or more values; think tags).
 601+ * @param array $item_keypairs (Required) Associative array of parameters which are treated as item-key-value and item-key-multivalue pairs (i.e. a key can have one or more values; think tags). <ul>
598602 * <li><code>[item]</code> - <code>array</code> - Set the custom item name as the key for this value.<ul>
599603 * <li><code>[key]</code> - <code>array</code> - Set the custom key name as the key for this value. For the value, pass a string for a single value, or an indexed array for multiple values.</li>
600604 * </ul></li></ul>
@@ -612,7 +616,7 @@
613617 * </ul></li>
614618 * </ul></li>
615619 * </ul></li>
616 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 620+ * <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>
617621 * <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 is useful for manually-managed batch requests.</li></ul>
618622 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
619623 */
@@ -643,7 +647,7 @@
644648 *
645649 * @param string $domain_name (Required) The name of the domain for which to display the metadata of.
646650 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
647 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 651+ * <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>
648652 * <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>
649653 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
650654 */
Index: trunk/extensions/OpenStackManager/aws-sdk/services/ec2.class.php
@@ -27,7 +27,7 @@
2828 *
2929 * Visit <a href="http://aws.amazon.com/ec2/">http://aws.amazon.com/ec2/</a> for more information.
3030 *
31 - * @version Tue Apr 05 15:18:08 PDT 2011
 31+ * @version Tue May 10 18:26:09 PDT 2011
3232 * @license See the included NOTICE.md file for complete information.
3333 * @copyright See the included NOTICE.md file for complete information.
3434 * @link http://aws.amazon.com/ec2/Amazon Elastic Compute Cloud
@@ -133,12 +133,16 @@
134134
135135 if (!$key && !defined('AWS_KEY'))
136136 {
 137+ // @codeCoverageIgnoreStart
137138 throw new EC2_Exception('No account key was passed into the constructor, nor was it set in the AWS_KEY constant.');
 139+ // @codeCoverageIgnoreEnd
138140 }
139141
140142 if (!$secret_key && !defined('AWS_SECRET_KEY'))
141143 {
 144+ // @codeCoverageIgnoreStart
142145 throw new EC2_Exception('No account secret was passed into the constructor, nor was it set in the AWS_SECRET_KEY constant.');
 146+ // @codeCoverageIgnoreEnd
143147 }
144148
145149 return parent::__construct($key, $secret_key);
@@ -156,7 +160,7 @@
157161 *
158162 * @param string|array $instance_id (Required) The list of instances to terminate. Pass a string for a single value, or an indexed array for multiple values.
159163 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
160 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 164+ * <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>
161165 * <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>
162166 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
163167 */
@@ -184,7 +188,7 @@
185189 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
186190 * </ul></li>
187191 * </ul></li>
188 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 192+ * <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>
189193 * <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>
190194 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
191195 */
@@ -228,7 +232,7 @@
229233 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
230234 * </ul></li>
231235 * </ul></li>
232 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 236+ * <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>
233237 * <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>
234238 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
235239 */
@@ -266,7 +270,7 @@
267271 * <li><code>InstanceId</code> - <code>string</code> - Optional - The ID of the instance from which to detach the the specified volume. </li>
268272 * <li><code>Device</code> - <code>string</code> - Optional - The device name to which the volume is attached on the specified instance. </li>
269273 * <li><code>Force</code> - <code>boolean</code> - Optional - Forces detachment if the previous detachment attempt did not occur cleanly (logging into an instance, unmounting the volume, and detaching normally). This option can lead to data loss or a corrupted file system. Use this option only as a last resort to detach a volume from a failed instance. The instance will not have an opportunity to flush file system caches nor file system meta data. If you use this option, you must perform file system check and repair procedures. </li>
270 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 274+ * <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>
271275 * <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>
272276 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
273277 */
@@ -284,7 +288,7 @@
285289 *
286290 * @param string $key_name (Required) The name of the Amazon EC2 key pair to delete.
287291 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
288 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 292+ * <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>
289293 * <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>
290294 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
291295 */
@@ -302,7 +306,7 @@
303307 *
304308 * @param string|array $instance_id (Required) The list of Amazon EC2 instances on which to disable monitoring. Pass a string for a single value, or an indexed array for multiple values.
305309 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
306 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 310+ * <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>
307311 * <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>
308312 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
309313 */
@@ -326,7 +330,7 @@
327331 * @param string $vpn_gateway_id (Required) The ID of the VPN gateway to attach to the VPC.
328332 * @param string $vpc_id (Required) The ID of the VPC to attach to the VPN gateway.
329333 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
330 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 334+ * <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>
331335 * <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>
332336 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
333337 */
@@ -349,7 +353,7 @@
350354 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
351355 * <li><code>Description</code> - <code>string</code> - Optional - The description for the new AMI being created. </li>
352356 * <li><code>NoReboot</code> - <code>boolean</code> - Optional - By default this property is set to <code>false</code>, which means Amazon EC2 attempts to cleanly shut down the instance before image creation and reboots the instance afterwards. When set to true, Amazon EC2 will not shut down the instance before creating the image. When this option is used, file system integrity on the created image cannot be guaranteed. </li>
353 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 357+ * <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>
354358 * <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>
355359 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
356360 */
@@ -374,7 +378,7 @@
375379 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
376380 * <li><code>GroupName</code> - <code>string</code> - Optional - The name of the Amazon EC2 security group to delete. </li>
377381 * <li><code>GroupId</code> - <code>string</code> - Optional - The ID of the Amazon EC2 security group to delete. </li>
378 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 382+ * <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>
379383 * <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>
380384 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
381385 */
@@ -418,7 +422,7 @@
419423 * <li><code>IpRanges</code> - <code>string|array</code> - Optional - The list of CIDR IP ranges included in this permission. Pass a string for a single value, or an indexed array for multiple values. </li>
420424 * </ul></li>
421425 * </ul></li>
422 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 426+ * <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>
423427 * <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>
424428 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
425429 */
@@ -449,7 +453,7 @@
450454 * @param string $instance_id (Required) The ID of the instance for which you want the Windows administrator password.
451455 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
452456 * <li><code>DecryptPasswordWithKey</code> - <code>string</code> - Optional - Enables the decryption of the Administrator password for the given Microsoft Windows instance. Specifies the RSA private key that is associated with the keypair ID which was used to launch the Microsoft Windows instance.</li>
453 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 457+ * <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>
454458 * <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 is useful for manually-managed batch requests.</li></ul>
455459 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
456460 */
@@ -501,7 +505,7 @@
502506 * @param string $dhcp_options_id (Required) The ID of the DHCP options to associate with the VPC. Specify "default" to associate the default DHCP options with the VPC.
503507 * @param string $vpc_id (Required) The ID of the VPC to associate the DHCP options with.
504508 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
505 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 509+ * <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>
506510 * <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>
507511 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
508512 */
@@ -529,7 +533,7 @@
530534 * @param string|array $instance_id (Required) The list of Amazon EC2 instances to stop. Pass a string for a single value, or an indexed array for multiple values.
531535 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
532536 * <li><code>Force</code> - <code>boolean</code> - Optional - Forces the instance to stop. The instance will not have an opportunity to flush file system caches nor file system meta data. If you use this option, you must perform file system check and repair procedures. This option is not recommended for Windows instances. </li>
533 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 537+ * <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>
534538 * <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>
535539 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
536540 */
@@ -564,7 +568,7 @@
565569 * @param string $key_name (Required) The unique name for the key pair.
566570 * @param string $public_key_material (Required) The public key portion of the key pair being imported.
567571 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
568 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 572+ * <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>
569573 * <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 is useful for manually-managed batch requests.</li></ul>
570574 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
571575 */
@@ -590,7 +594,7 @@
591595 * @param string $group_description (Required) Description of the group. This is informational only.
592596 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
593597 * <li><code>VpcId</code> - <code>string</code> - Optional - ID of the VPC. </li>
594 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 598+ * <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>
595599 * <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>
596600 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
597601 */
@@ -624,7 +628,7 @@
625629 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
626630 * </ul></li>
627631 * </ul></li>
628 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 632+ * <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>
629633 * <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>
630634 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
631635 */
@@ -686,7 +690,7 @@
687691 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
688692 * </ul></li>
689693 * </ul></li>
690 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 694+ * <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>
691695 * <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>
692696 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
693697 */
@@ -728,7 +732,7 @@
729733 * </ul></li>
730734 * </ul>
731735 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
732 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 736+ * <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>
733737 * <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>
734738 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
735739 */
@@ -751,7 +755,7 @@
752756 * @param string $snapshot_id (Required) The ID of the snapshot whose attribute is being reset.
753757 * @param string $attribute (Required) The name of the attribute being reset. Available attribute names: <code>createVolumePermission</code>
754758 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
755 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 759+ * <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>
756760 * <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>
757761 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
758762 */
@@ -773,7 +777,7 @@
774778 * @param string $route_table_id (Required) The ID of the route table where the route will be deleted.
775779 * @param string $destination_cidr_block (Required) The CIDR range for the route you want to delete. The value you specify must exactly match the CIDR for the route you want to delete.
776780 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
777 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 781+ * <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>
778782 * <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>
779783 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
780784 */
@@ -808,7 +812,7 @@
809813 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
810814 * </ul></li>
811815 * </ul></li>
812 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 816+ * <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>
813817 * <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>
814818 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
815819 */
@@ -853,7 +857,7 @@
854858 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
855859 * </ul></li>
856860 * </ul></li>
857 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 861+ * <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>
858862 * <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>
859863 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
860864 */
@@ -901,7 +905,7 @@
902906 * @param string $vpn_gateway_id (Required) The ID of the VPN gateway to detach from the VPC.
903907 * @param string $vpc_id (Required) The ID of the VPC to detach the VPN gateway from.
904908 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
905 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 909+ * <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>
906910 * <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>
907911 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
908912 */
@@ -920,7 +924,7 @@
921925 *
922926 * @param string $image_id (Required) The ID of the AMI to deregister.
923927 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
924 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 928+ * <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>
925929 * <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>
926930 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
927931 */
@@ -940,7 +944,7 @@
941945 * User Guide.
942946 *
943947 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
944 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 948+ * <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>
945949 * <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>
946950 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
947951 */
@@ -963,7 +967,7 @@
964968 * <li><code>Value</code> - <code>string</code> - Optional - The tag's value. </li>
965969 * </ul></li>
966970 * </ul></li>
967 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 971+ * <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>
968972 * <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>
969973 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
970974 */
@@ -995,7 +999,7 @@
9961000 *
9971001 * @param string $subnet_id (Required) The ID of the subnet you want to delete.
9981002 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
999 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1003+ * <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>
10001004 * <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>
10011005 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10021006 */
@@ -1015,7 +1019,7 @@
10161020 * @param string $type (Required) The type of VPN connection this VPN gateway supports.
10171021 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
10181022 * <li><code>AvailabilityZone</code> - <code>string</code> - Optional - The Availability Zone in which to create the VPN gateway. </li>
1019 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1023+ * <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>
10201024 * <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>
10211025 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10221026 */
@@ -1035,7 +1039,7 @@
10361040 *
10371041 * @param string $vpn_gateway_id (Required) The ID of the VPN gateway to delete.
10381042 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1039 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1043+ * <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>
10401044 * <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>
10411045 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10421046 */
@@ -1055,7 +1059,7 @@
10561060 * @param string $instance_id (Required) The ID of the instance to which the volume attaches. The volume and instance must be within the same Availability Zone and the instance must be running.
10571061 * @param string $device (Required) Specifies how the device is exposed to the instance (e.g., <code>/dev/sdh</code>).
10581062 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1059 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1063+ * <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>
10601064 * <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>
10611065 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10621066 */
@@ -1082,7 +1086,7 @@
10831087 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
10841088 * </ul></li>
10851089 * </ul></li>
1086 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1090+ * <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>
10871091 * <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>
10881092 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10891093 */
@@ -1118,7 +1122,7 @@
11191123 * @param string $license_id (Required) Specifies the ID for the specific license to activate against.
11201124 * @param integer $capacity (Required) Specifies the additional number of licenses to activate.
11211125 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1122 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1126+ * <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>
11231127 * <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>
11241128 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
11251129 */
@@ -1140,7 +1144,7 @@
11411145 * @param string $image_id (Required) The ID of the AMI whose attribute is being reset.
11421146 * @param string $attribute (Required) The name of the attribute being reset. Available attribute names: <code>launchPermission</code>
11431147 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1144 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1148+ * <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>
11451149 * <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>
11461150 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
11471151 */
@@ -1174,7 +1178,7 @@
11751179 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
11761180 * </ul></li>
11771181 * </ul></li>
1178 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1182+ * <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>
11791183 * <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>
11801184 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
11811185 */
@@ -1214,7 +1218,7 @@
12151219 * @param string $volume_id (Required) The ID of the volume from which to create the snapshot.
12161220 * @param string $description (Required) The description for the new snapshot.
12171221 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1218 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1222+ * <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>
12191223 * <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>
12201224 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
12211225 */
@@ -1233,7 +1237,7 @@
12341238 *
12351239 * @param string $volume_id (Required) The ID of the EBS volume to delete.
12361240 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1237 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1241+ * <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>
12381242 * <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>
12391243 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
12401244 */
@@ -1263,7 +1267,7 @@
12641268 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
12651269 * </ul></li>
12661270 * </ul></li>
1267 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1271+ * <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>
12681272 * <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>
12691273 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
12701274 */
@@ -1300,7 +1304,7 @@
13011305 * @param string $license_id (Required) Specifies the ID for the specific license to deactivate against.
13021306 * @param integer $capacity (Required) Specifies the amount of capacity to deactivate against the license.
13031307 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1304 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1308+ * <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>
13051309 * <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>
13061310 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
13071311 */
@@ -1324,7 +1328,7 @@
13251329 * @param string $public_ip (Required) IP address that you are assigning to the instance.
13261330 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
13271331 * <li><code>AllocationId</code> - <code>string</code> - Optional - The allocation ID that AWS returned when you allocated the elastic IP address for use with Amazon VPC. </li>
1328 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1332+ * <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>
13291333 * <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>
13301334 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
13311335 */
@@ -1346,7 +1350,7 @@
13471351 *
13481352 * @param string $customer_gateway_id (Required) The ID of the customer gateway to delete.
13491353 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1350 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1354+ * <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>
13511355 * <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>
13521356 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
13531357 */
@@ -1384,7 +1388,7 @@
13851389 * <li><code>PortRange</code> - <code>array</code> - Optional - Port ranges. <ul>
13861390 * <li><code>From</code> - <code>integer</code> - Optional - The first port in the range. Required if specifying <code>tcp</code> or <code>udp</code> for the protocol. </li>
13871391 * <li><code>To</code> - <code>integer</code> - Optional - The last port in the range. Required if specifying <code>tcp</code> or <code>udp</code> for the protocol. </li></ul></li>
1388 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1392+ * <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>
13891393 * <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>
13901394 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
13911395 */
@@ -1430,7 +1434,7 @@
14311435 * @param string $internet_gateway_id (Required) The ID of the Internet gateway to detach.
14321436 * @param string $vpc_id (Required) The ID of the VPC.
14331437 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1434 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1438+ * <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>
14351439 * <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>
14361440 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
14371441 */
@@ -1452,7 +1456,7 @@
14531457 *
14541458 * @param string $vpc_id (Required) The ID of the VPC where the route table will be created.
14551459 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1456 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1460+ * <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>
14571461 * <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>
14581462 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
14591463 */
@@ -1477,7 +1481,7 @@
14781482 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
14791483 * </ul></li>
14801484 * </ul></li>
1481 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1485+ * <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>
14821486 * <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>
14831487 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
14841488 */
@@ -1528,7 +1532,7 @@
15291533 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
15301534 * </ul></li>
15311535 * </ul></li>
1532 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1536+ * <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>
15331537 * <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>
15341538 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
15351539 */
@@ -1563,7 +1567,7 @@
15641568 *
15651569 * @param string|array $instance_id (Required) The list of Amazon EC2 instances on which to enable monitoring. Pass a string for a single value, or an indexed array for multiple values.
15661570 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1567 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1571+ * <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>
15681572 * <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>
15691573 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
15701574 */
@@ -1598,7 +1602,7 @@
15991603 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
16001604 * </ul></li>
16011605 * </ul></li>
1602 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1606+ * <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>
16031607 * <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>
16041608 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
16051609 */
@@ -1649,7 +1653,7 @@
16501654 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
16511655 * </ul></li>
16521656 * </ul></li>
1653 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1657+ * <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>
16541658 * <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>
16551659 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
16561660 */
@@ -1691,7 +1695,7 @@
16921696 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
16931697 * </ul></li>
16941698 * </ul></li>
1695 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1699+ * <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>
16961700 * <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>
16971701 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
16981702 */
@@ -1749,7 +1753,7 @@
17501754 * <li><code>IpRanges</code> - <code>string|array</code> - Optional - The list of CIDR IP ranges included in this permission. Pass a string for a single value, or an indexed array for multiple values. </li>
17511755 * </ul></li>
17521756 * </ul></li>
1753 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1757+ * <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>
17541758 * <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>
17551759 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
17561760 */
@@ -1778,7 +1782,7 @@
17791783 *
17801784 * @param string $instance_id (Required) The ID of the instance for which you want console output.
17811785 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1782 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1786+ * <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>
17831787 * <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 is useful for manually-managed batch requests.</li></ul>
17841788 * @return CFResponse A <CFResponse> object containing a parsed HTTP response. The value of <code>output</code> is automatically Base64-decoded.
17851789 */
@@ -1804,7 +1808,7 @@
18051809 * <code>AttachInternetGateway</code>. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.
18061810 *
18071811 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1808 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1812+ * <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>
18091813 * <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>
18101814 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
18111815 */
@@ -1827,7 +1831,7 @@
18281832 * <li><code>UserGroup</code> - <code>string|array</code> - Optional - The user group being added to or removed from the list of user groups with launch permissions for this AMI. Only valid when the launchPermission attribute is being modified. Available user groups: <code>all</code> Pass a string for a single value, or an indexed array for multiple values. </li>
18291833 * <li><code>ProductCode</code> - <code>string|array</code> - Optional - The list of product codes being added to or removed from the specified AMI. Only valid when the productCodes attribute is being modified. Pass a string for a single value, or an indexed array for multiple values. </li>
18301834 * <li><code>Value</code> - <code>string</code> - Optional - The value of the attribute being modified. Only valid when the description attribute is being modified. </li>
1831 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1835+ * <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>
18321836 * <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>
18331837 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
18341838 */
@@ -1885,7 +1889,7 @@
18861890 * @param string $ip_address (Required) The Internet-routable IP address for the customer gateway's outside interface. The address must be static
18871891 * @param integer $bgp_asn (Required) The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
18881892 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1889 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1893+ * <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>
18901894 * <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>
18911895 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
18921896 */
@@ -1909,7 +1913,7 @@
19101914 * @param string $bucket (Required) The Amazon S3 bucket in which to store the Spot Instance datafeed.
19111915 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
19121916 * <li><code>Prefix</code> - <code>string</code> - Optional - The prefix that is prepended to datafeed files. </li>
1913 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1917+ * <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>
19141918 * <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>
19151919 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
19161920 */
@@ -1929,7 +1933,7 @@
19301934 * @param string $internet_gateway_id (Required) The ID of the Internet gateway to attach.
19311935 * @param string $vpc_id (Required) The ID of the VPC.
19321936 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1933 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1937+ * <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>
19341938 * <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>
19351939 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
19361940 */
@@ -1954,7 +1958,7 @@
19551959 *
19561960 * @param string $vpn_connection_id (Required) The ID of the VPN connection to delete
19571961 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1958 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1962+ * <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>
19591963 * <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>
19601964 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
19611965 */
@@ -1985,7 +1989,7 @@
19861990 * @param string $customer_gateway_id (Required) The ID of the customer gateway.
19871991 * @param string $vpn_gateway_id (Required) The ID of the VPN gateway.
19881992 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1989 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1993+ * <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>
19901994 * <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>
19911995 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
19921996 */
@@ -2006,7 +2010,7 @@
20072011 * @param string $instance_id (Required) The ID of the instance whose instance attribute is being described.
20082012 * @param string $attribute (Required) The name of the attribute to describe. Available attribute names: <code>instanceType</code>, <code>kernel</code>, <code>ramdisk</code>, <code>userData</code>, <code>disableApiTermination</code>, <code>instanceInitiatedShutdownBehavior</code>, <code>rootDeviceName</code>, <code>blockDeviceMapping</code>
20092013 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2010 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2014+ * <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>
20112015 * <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>
20122016 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
20132017 */
@@ -2038,7 +2042,7 @@
20392043 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
20402044 * </ul></li>
20412045 * </ul></li>
2042 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2046+ * <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>
20432047 * <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>
20442048 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
20452049 */
@@ -2137,7 +2141,7 @@
21382142 * <li><code>PrivateIpAddress</code> - <code>string</code> - Optional - If you're using Amazon Virtual Private Cloud, you can optionally use this parameter to assign the instance a specific available IP address from the subnet. </li>
21392143 * <li><code>ClientToken</code> - <code>string</code> - Optional - Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, go to How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide. </li>
21402144 * <li><code>AdditionalInfo</code> - <code>string</code> - Optional - </li>
2141 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2145+ * <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>
21422146 * <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>
21432147 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
21442148 */
@@ -2208,7 +2212,7 @@
22092213 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
22102214 * </ul></li>
22112215 * </ul></li>
2212 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2216+ * <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>
22132217 * <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>
22142218 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
22152219 */
@@ -2250,7 +2254,7 @@
22512255 * @param string $subnet_id (Required) The ID of the subnet.
22522256 * @param string $route_table_id (Required) The ID of the route table.
22532257 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2254 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2258+ * <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>
22552259 * <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>
22562260 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
22572261 */
@@ -2281,7 +2285,7 @@
22822286 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
22832287 * </ul></li>
22842288 * </ul></li>
2285 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2289+ * <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>
22862290 * <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>
22872291 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
22882292 */
@@ -2317,7 +2321,7 @@
23182322 *
23192323 * @param string $network_acl_id (Required) The ID of the network ACL to be deleted.
23202324 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2321 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2325+ * <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>
23222326 * <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>
23232327 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
23242328 */
@@ -2371,7 +2375,7 @@
23722376 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
23732377 * </ul></li>
23742378 * </ul></li>
2375 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2379+ * <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>
23762380 * <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>
23772381 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
23782382 */
@@ -2429,7 +2433,7 @@
24302434 *
24312435 * @param string|array $instance_id (Required) The list of Amazon EC2 instances to start. Pass a string for a single value, or an indexed array for multiple values.
24322436 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2433 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2437+ * <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>
24342438 * <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>
24352439 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
24362440 */
@@ -2466,7 +2470,7 @@
24672471 * </ul></li>
24682472 * <li><code>SourceDestCheck</code> - <code>boolean</code> - Optional - Boolean value </li>
24692473 * <li><code>GroupId</code> - <code>string|array</code> - Optional - Pass a string for a single value, or an indexed array for multiple values. </li>
2470 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2474+ * <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>
24712475 * <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>
24722476 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
24732477 */
@@ -2504,7 +2508,7 @@
25052509 *
25062510 * @param string $dhcp_options_id (Required) The ID of the DHCP options set to delete.
25072511 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2508 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2512+ * <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>
25092513 * <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>
25102514 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
25112515 */
@@ -2545,7 +2549,7 @@
25462550 * <li><code>IpRanges</code> - <code>string|array</code> - Optional - The list of CIDR IP ranges included in this permission. Pass a string for a single value, or an indexed array for multiple values. </li>
25472551 * </ul></li>
25482552 * </ul></li>
2549 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2553+ * <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>
25502554 * <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>
25512555 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
25522556 */
@@ -2594,7 +2598,7 @@
25952599 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
25962600 * </ul></li>
25972601 * </ul></li>
2598 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2602+ * <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>
25992603 * <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>
26002604 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
26012605 */
@@ -2635,7 +2639,7 @@
26362640 * @param string $cidr_block (Required) A valid CIDR block.
26372641 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
26382642 * <li><code>InstanceTenancy</code> - <code>string</code> - Optional - The allowed tenancy of instances launched into the VPC. A value of default means instances can be launched with any tenancy; a value of dedicated means instances must be launched with tenancy as dedicated. </li>
2639 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2643+ * <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>
26402644 * <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>
26412645 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
26422646 */
@@ -2664,7 +2668,7 @@
26652669 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
26662670 * </ul></li>
26672671 * </ul></li>
2668 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2672+ * <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>
26692673 * <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>
26702674 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
26712675 */
@@ -2719,7 +2723,7 @@
27202724 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
27212725 * <li><code>GatewayId</code> - <code>string</code> - Optional - The ID of a VPN or Internet gateway attached to your VPC. You must provide either <code>GatewayId</code> or <code>InstanceId</code>, but not both. </li>
27222726 * <li><code>InstanceId</code> - <code>string</code> - Optional - The ID of a NAT instance in your VPC. You must provide either <code>GatewayId</code> or <code>InstanceId</code>, but not both. </li>
2723 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2727+ * <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>
27242728 * <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>
27252729 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
27262730 */
@@ -2740,7 +2744,7 @@
27412745 *
27422746 * @param string $route_table_id (Required) The ID of the route table to be deleted.
27432747 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2744 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2748+ * <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>
27452749 * <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>
27462750 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
27472751 */
@@ -2802,7 +2806,7 @@
28032807 * </ul></li>
28042808 * <li><code>Monitoring.Enabled</code> - <code>boolean</code> - Optional - Enables monitoring for the instance. </li>
28052809 * <li><code>SubnetId</code> - <code>string</code> - Optional - Specifies the Amazon VPC subnet ID within which to launch the instance(s) for Amazon Virtual Private Cloud. </li></ul></li>
2806 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2810+ * <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>
28072811 * <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>
28082812 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
28092813 */
@@ -2848,7 +2852,7 @@
28492853 * </ul></li>
28502854 * </ul>
28512855 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2852 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2856+ * <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>
28532857 * <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>
28542858 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
28552859 */
@@ -2880,7 +2884,7 @@
28812885 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
28822886 * <li><code>GatewayId</code> - <code>string</code> - Optional - The ID of a VPN or Internet gateway attached to your VPC. </li>
28832887 * <li><code>InstanceId</code> - <code>string</code> - Optional - The ID of a NAT instance in your VPC. </li>
2884 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2888+ * <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>
28852889 * <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>
28862890 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
28872891 */
@@ -2904,7 +2908,7 @@
29052909 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
29062910 * </ul></li>
29072911 * </ul></li>
2908 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2912+ * <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>
29092913 * <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>
29102914 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
29112915 */
@@ -2932,7 +2936,7 @@
29332937 *
29342938 * @param string $bundle_id (Required) The ID of the bundle task to cancel.
29352939 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2936 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2940+ * <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>
29372941 * <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>
29382942 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
29392943 */
@@ -2956,7 +2960,7 @@
29572961 *
29582962 * @param string|array $spot_instance_request_id (Required) Specifies the ID of the Spot Instance request. Pass a string for a single value, or an indexed array for multiple values.
29592963 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2960 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2964+ * <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>
29612965 * <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>
29622966 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
29632967 */
@@ -2981,7 +2985,7 @@
29822986 * @param string $reserved_instances_offering_id (Required) The unique ID of the Reserved Instances offering being purchased.
29832987 * @param integer $instance_count (Required) The number of Reserved Instances to purchase.
29842988 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
2985 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 2989+ * <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>
29862990 * <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>
29872991 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
29882992 */
@@ -3004,7 +3008,7 @@
30053009 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
30063010 * <li><code>UserId</code> - <code>string|array</code> - Optional - The AWS user IDs to add to or remove from the list of users that have permission to create EBS volumes from the specified snapshot. Currently supports "all". Only valid when the <code>createVolumePermission</code> attribute is being modified. Pass a string for a single value, or an indexed array for multiple values. </li>
30073011 * <li><code>UserGroup</code> - <code>string|array</code> - Optional - The AWS group names to add to or remove from the list of groups that have permission to create EBS volumes from the specified snapshot. Currently supports "all". Only valid when the <code>createVolumePermission</code> attribute is being modified. Pass a string for a single value, or an indexed array for multiple values. </li>
3008 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3012+ * <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>
30093013 * <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>
30103014 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
30113015 */
@@ -3045,7 +3049,7 @@
30463050 *
30473051 * @param string|array $instance_id (Required) The list of instances to terminate. Pass a string for a single value, or an indexed array for multiple values.
30483052 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3049 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3053+ * <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>
30503054 * <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>
30513055 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
30523056 */
@@ -3069,7 +3073,7 @@
30703074 * User Guide.
30713075 *
30723076 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3073 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3077+ * <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>
30743078 * <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>
30753079 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
30763080 */
@@ -3087,7 +3091,7 @@
30883092 *
30893093 * @param string $internet_gateway_id (Required) The ID of the Internet gateway to be deleted.
30903094 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3091 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3095+ * <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>
30923096 * <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>
30933097 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
30943098 */
@@ -3112,7 +3116,7 @@
31133117 * @param string $association_id (Required) The ID representing the current association between the original route table and the subnet.
31143118 * @param string $route_table_id (Required) The ID of the new route table to associate with the subnet.
31153119 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3116 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3120+ * <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>
31173121 * <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>
31183122 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
31193123 */
@@ -3132,7 +3136,7 @@
31333137 * @param string $snapshot_id (Required) The ID of the EBS snapshot whose attribute is being described.
31343138 * @param string $attribute (Required) The name of the EBS attribute to describe. Available attribute names: createVolumePermission
31353139 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3136 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3140+ * <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>
31373141 * <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>
31383142 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
31393143 */
@@ -3158,7 +3162,7 @@
31593163 * </ul></li>
31603164 * </ul></li>
31613165 * <li><code>AllocationId</code> - <code>string|array</code> - Optional - Pass a string for a single value, or an indexed array for multiple values. </li>
3162 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3166+ * <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>
31633167 * <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>
31643168 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
31653169 */
@@ -3209,7 +3213,7 @@
32103214 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
32113215 * </ul></li>
32123216 * </ul></li>
3213 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3217+ * <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>
32143218 * <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>
32153219 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
32163220 */
@@ -3245,7 +3249,7 @@
32463250 * @param string $image_id (Required) The ID of the AMI whose attribute is to be described.
32473251 * @param string $attribute (Required) The name of the attribute to describe. Available attribute names: <code>productCodes</code>, <code>kernel</code>, <code>ramdisk</code>, <code>launchPermisson</code>, <code>blockDeviceMapping</code>
32483252 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3249 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3253+ * <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>
32503254 * <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>
32513255 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
32523256 */
@@ -3269,7 +3273,7 @@
32703274 *
32713275 * @param string $association_id (Required) The association ID representing the current association between the route table and subnet.
32723276 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3273 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3277+ * <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>
32743278 * <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>
32753279 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
32763280 */
@@ -3292,7 +3296,7 @@
32933297 * @param string $product_code (Required) The product code to confirm.
32943298 * @param string $instance_id (Required) The ID of the instance to confirm.
32953299 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3296 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3300+ * <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>
32973301 * <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>
32983302 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
32993303 */
@@ -3314,7 +3318,7 @@
33153319 * @param integer $rule_number (Required) Rule number for the entry to delete.
33163320 * @param boolean $egress (Required) Whether the rule to delete is an egress rule (<code>true</code>) or ingress rule (<code>false</code>).
33173321 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3318 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3322+ * <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>
33193323 * <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>
33203324 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
33213325 */
@@ -3358,7 +3362,7 @@
33593363 * <li><code>IpRanges</code> - <code>string|array</code> - Optional - The list of CIDR IP ranges included in this permission. Pass a string for a single value, or an indexed array for multiple values. </li>
33603364 * </ul></li>
33613365 * </ul></li>
3362 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3366+ * <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>
33633367 * <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>
33643368 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
33653369 */
@@ -3387,7 +3391,7 @@
33883392 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
33893393 * <li><code>Size</code> - <code>integer</code> - Optional - The size of the volume, in gigabytes. Required if you are not creating a volume from a snapshot. </li>
33903394 * <li><code>SnapshotId</code> - <code>string</code> - Optional - The ID of the snapshot from which to create the new volume. </li>
3391 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3395+ * <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>
33923396 * <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>
33933397 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
33943398 */
@@ -3419,7 +3423,7 @@
34203424 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
34213425 * </ul></li>
34223426 * </ul></li>
3423 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3427+ * <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>
34243428 * <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>
34253429 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
34263430 */
@@ -3463,7 +3467,7 @@
34643468 * @param string $cidr_block (Required) The CIDR block the subnet is to cover.
34653469 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
34663470 * <li><code>AvailabilityZone</code> - <code>string</code> - Optional - The Availability Zone to create the subnet in. </li>
3467 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3471+ * <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>
34683472 * <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>
34693473 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
34703474 */
@@ -3494,7 +3498,7 @@
34953499 * </ul></li>
34963500 * </ul></li>
34973501 * <li><code>InstanceTenancy</code> - <code>string</code> - Optional - The tenancy of the Reserved Instance offering. A Reserved Instance with tenancy of dedicated will run on single-tenant hardware and can only be launched within a VPC. </li>
3498 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3502+ * <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>
34993503 * <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>
35003504 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
35013505 */
@@ -3529,7 +3533,7 @@
35303534 *
35313535 * @param string $snapshot_id (Required) The ID of the snapshot to delete.
35323536 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3533 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3537+ * <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>
35343538 * <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>
35353539 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
35363540 */
@@ -3549,7 +3553,7 @@
35503554 * @param string $association_id (Required) The ID representing the current association between the original network ACL and the subnet.
35513555 * @param string $network_acl_id (Required) The ID of the new ACL to associate with the subnet.
35523556 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3553 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3557+ * <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>
35543558 * <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>
35553559 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
35563560 */
@@ -3570,7 +3574,7 @@
35713575 * @param string $public_ip (Required) The elastic IP address that you are disassociating from the instance.
35723576 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
35733577 * <li><code>AssocationId</code> - <code>string</code> - Optional - Association ID corresponding to the VPC elastic IP address you want to disassociate. </li>
3574 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3578+ * <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>
35753579 * <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>
35763580 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
35773581 */
@@ -3590,7 +3594,7 @@
35913595 * @param string $group_name (Required) The name of the <code>PlacementGroup</code>.
35923596 * @param string $strategy (Required) The <code>PlacementGroup</code> strategy. [Allowed values: <code>cluster</code>]
35933597 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3594 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3598+ * <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>
35953599 * <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>
35963600 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
35973601 */
@@ -3616,7 +3620,7 @@
36173621 * <li><code>UploadPolicy</code> - <code>string</code> - Optional - A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user's behalf. Use the <CFPolicy::get_policy()> method of a <CFPolicy> instance.</li>
36183622 * <li><code>UploadPolicySignature</code> - <code>string</code> - Optional - The signature of the Base64 encoded JSON document. Use the <CFPolicy::get_policy_signature()> method of a <CFPolicy> instance.</li></ul>
36193623 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3620 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3624+ * <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>
36213625 * <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 is useful for manually-managed batch requests.</li></ul>
36223626 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
36233627 */
@@ -3638,7 +3642,7 @@
36393643 *
36403644 * @param string $group_name (Required) The name of the <code>PlacementGroup</code> to delete.
36413645 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3642 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3646+ * <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>
36433647 * <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>
36443648 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
36453649 */
@@ -3657,7 +3661,7 @@
36583662 *
36593663 * @param string $vpc_id (Required) The ID of the VPC you want to delete.
36603664 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3661 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3665+ * <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>
36623666 * <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>
36633667 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
36643668 */
@@ -3675,7 +3679,7 @@
36763680 *
36773681 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
36783682 * <li><code>Domain</code> - <code>string</code> - Optional - Set to <code>vpc</code> to allocate the address to your VPC. By default, will allocate to EC2. [Allowed values: <code>vpc</code>, <code>standard</code>]</li>
3679 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3683+ * <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>
36803684 * <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>
36813685 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
36823686 */
@@ -3702,7 +3706,7 @@
37033707 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
37043708 * <li><code>PublicIp</code> - <code>string</code> - Optional - The elastic IP address that you are releasing from your account. </li>
37053709 * <li><code>AllocationId</code> - <code>string</code> - Optional - The allocation ID that AWS provided when you allocated the address for use with Amazon VPC. </li>
3706 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3710+ * <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>
37073711 * <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>
37083712 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
37093713 */
@@ -3720,7 +3724,7 @@
37213725 * @param string $instance_id (Required) The ID of the Amazon EC2 instance whose attribute is being reset.
37223726 * @param string $attribute (Required) The name of the attribute being reset. Available attribute names: <code>kernel</code>, <code>ramdisk</code>
37233727 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3724 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3728+ * <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>
37253729 * <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>
37263730 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
37273731 */
@@ -3740,7 +3744,7 @@
37413745 *
37423746 * @param string $key_name (Required) The unique name for the new key pair.
37433747 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3744 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3748+ * <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>
37453749 * <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>
37463750 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
37473751 */
@@ -3770,7 +3774,7 @@
37713775 * <li><code>PortRange</code> - <code>array</code> - Optional - Port ranges. <ul>
37723776 * <li><code>From</code> - <code>integer</code> - Optional - The first port in the range. Required if specifying <code>tcp</code> or <code>udp</code> for the protocol. </li>
37733777 * <li><code>To</code> - <code>integer</code> - Optional - The last port in the range. Required if specifying <code>tcp</code> or <code>udp</code> for the protocol. </li></ul></li>
3774 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3778+ * <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>
37753779 * <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>
37763780 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
37773781 */
@@ -3821,7 +3825,7 @@
38223826 * <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values. </li>
38233827 * </ul></li>
38243828 * </ul></li>
3825 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3829+ * <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>
38263830 * <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>
38273831 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
38283832 */
@@ -3875,7 +3879,7 @@
38763880 *
38773881 * @param string $vpc_id (Required) The ID of the VPC where the network ACL will be created.
38783882 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
3879 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3883+ * <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>
38803884 * <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>
38813885 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
38823886 */
@@ -3920,7 +3924,7 @@
39213925 * <li><code>NoDevice</code> - <code>string</code> - Optional - Specifies the device name to suppress during instance launch. </li>
39223926 * </ul></li>
39233927 * </ul></li>
3924 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 3928+ * <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>
39253929 * <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>
39263930 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
39273931 */
Index: trunk/extensions/OpenStackManager/aws-sdk/services/elasticbeanstalk.class.php
@@ -35,7 +35,7 @@
3636 *
3737 * </ul>
3838 *
39 - * @version Tue Apr 05 15:17:23 PDT 2011
 39+ * @version Tue May 10 18:25:29 PDT 2011
4040 * @license See the included NOTICE.md file for complete information.
4141 * @copyright See the included NOTICE.md file for complete information.
4242 * @link http://aws.amazon.com/elasticbeanstalk/AWS Elastic Beanstalk
@@ -91,12 +91,16 @@
9292
9393 if (!$key && !defined('AWS_KEY'))
9494 {
 95+ // @codeCoverageIgnoreStart
9596 throw new Beanstalk_Exception('No account key was passed into the constructor, nor was it set in the AWS_KEY constant.');
 97+ // @codeCoverageIgnoreEnd
9698 }
9799
98100 if (!$secret_key && !defined('AWS_SECRET_KEY'))
99101 {
 102+ // @codeCoverageIgnoreStart
100103 throw new Beanstalk_Exception('No account secret was passed into the constructor, nor was it set in the AWS_SECRET_KEY constant.');
 104+ // @codeCoverageIgnoreEnd
101105 }
102106
103107 return parent::__construct($key, $secret_key);
@@ -112,7 +116,7 @@
113117 *
114118 * @param string $cname_prefix (Required) The prefix used when this CNAME is reserved.
115119 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
116 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 120+ * <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>
117121 * <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>
118122 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
119123 */
@@ -141,7 +145,7 @@
142146 * <li><code>OptionName</code> - <code>string</code> - Optional - The name of the configuration option. </li>
143147 * </ul></li>
144148 * </ul></li>
145 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 149+ * <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>
146150 * <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>
147151 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
148152 */
@@ -171,7 +175,7 @@
172176 * @param string $application_name (Required) The name of the application to delete the configuration template from.
173177 * @param string $template_name (Required) The name of the configuration template to delete.
174178 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
175 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 179+ * <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>
176180 * <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>
177181 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
178182 */
@@ -209,7 +213,7 @@
210214 * <li><code>OptionName</code> - <code>string</code> - Optional - The name of the configuration option. </li>
211215 * </ul></li>
212216 * </ul></li>
213 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 217+ * <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>
214218 * <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>
215219 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
216220 */
@@ -247,7 +251,7 @@
248252 * This location is used to store user log files.
249253 *
250254 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
251 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 255+ * <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>
252256 * <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>
253257 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
254258 */
@@ -277,7 +281,7 @@
278282 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
279283 * <li><code>EnvironmentId</code> - <code>string</code> - Optional - The ID of the environment of the requested data. If no such environment is found, <code>RequestEnvironmentInfo</code> returns an <code>InvalidParameterValue</code> error. </li>
280284 * <li><code>EnvironmentName</code> - <code>string</code> - Optional - The name of the environment of the requested data. If no such environment is found, <code>RequestEnvironmentInfo</code> returns an <code>InvalidParameterValue</code> error. </li>
281 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 285+ * <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>
282286 * <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>
283287 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
284288 */
@@ -304,7 +308,7 @@
305309 * <li><code>S3Bucket</code> - <code>string</code> - Optional - The Amazon S3 bucket where the data is located. </li>
306310 * <li><code>S3Key</code> - <code>string</code> - Optional - The Amazon S3 key where the data is located. </li></ul></li>
307311 * <li><code>AutoCreateApplication</code> - <code>boolean</code> - Optional - Determines how the system behaves if the specified application for this version does not already exist: <enumValues> <value name="true"> <code>true</code>: Automatically creates the specified application for this version if it does not already exist. </value> <value name="false"> <code>false</code>: Returns an <code>InvalidParameterValue</code> if the specified application for this version does not already exist. </value> </enumValues> <ul> <li> <code>true</code> : Automatically creates the specified application for this release if it does not already exist. </li><li> <code>false</code> : Throws an <code>InvalidParameterValue</code> if the specified application for this release does not already exist. </li> </ul> Default: <code>false</code> Valid Values: <code>true</code> | <code>false</code> </li>
308 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 312+ * <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>
309313 * <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>
310314 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
311315 */
@@ -336,7 +340,7 @@
337341 * @param string $version_label (Required) The label of the version to delete.
338342 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
339343 * <li><code>DeleteSourceBundle</code> - <code>boolean</code> - Optional - Indicates whether to delete the associated source bundle from Amazon S3: <ul> <li> <code>true</code>: An attempt is made to delete the associated Amazon S3 source bundle specified at time of creation. </li><li> <code>false</code>: No action is taken on the Amazon S3 source bundle specified at time of creation. </li> </ul> Valid Values: <code>true</code> | <code>false</code> </li>
340 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 344+ * <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>
341345 * <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>
342346 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
343347 */
@@ -356,7 +360,7 @@
357361 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
358362 * <li><code>ApplicationName</code> - <code>string</code> - Optional - If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include ones that are associated with the specified application. </li>
359363 * <li><code>VersionLabels</code> - <code>string|array</code> - Optional - If specified, restricts the returned descriptions to only include ones that have the specified version labels. Pass a string for a single value, or an indexed array for multiple values. </li>
360 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 364+ * <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>
361365 * <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>
362366 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
363367 */
@@ -384,7 +388,7 @@
385389 *
386390 * @param string $application_name (Required) The name of the application to delete.
387391 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
388 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 392+ * <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>
389393 * <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>
390394 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
391395 */
@@ -407,7 +411,7 @@
408412 * @param string $version_label (Required) The name of the version to update. If no application version is found with this label, <code>UpdateApplication</code> returns an <code>InvalidParameterValue</code> error.
409413 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
410414 * <li><code>Description</code> - <code>string</code> - Optional - A new description for this release. </li>
411 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 415+ * <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>
412416 * <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>
413417 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
414418 */
@@ -430,7 +434,7 @@
431435 * @param string $application_name (Required) The name of the application. Constraint: This name must be unique within your account. If the specified name already exists, the action returns an <code>InvalidParameterValue</code> error.
432436 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
433437 * <li><code>Description</code> - <code>string</code> - Optional - Describes the application. </li>
434 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 438+ * <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>
435439 * <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>
436440 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
437441 */
@@ -472,7 +476,7 @@
473477 * <li><code>OptionName</code> - <code>string</code> - Optional - The name of the configuration option. </li>
474478 * </ul></li>
475479 * </ul></li>
476 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 480+ * <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>
477481 * <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>
478482 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
479483 */
@@ -519,7 +523,7 @@
520524 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
521525 * <li><code>EnvironmentId</code> - <code>string</code> - Optional - The ID of the data's environment. If no such environment is found, returns an <code>InvalidParameterValue</code> error. </li>
522526 * <li><code>EnvironmentName</code> - <code>string</code> - Optional - The name of the data's environment. If no such environment is found, returns an <code>InvalidParameterValue</code> error. </li>
523 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 527+ * <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>
524528 * <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>
525529 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
526530 */
@@ -536,7 +540,7 @@
537541 * Returns a list of the available solution stack names.
538542 *
539543 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
540 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 544+ * <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>
541545 * <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>
542546 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
543547 */
@@ -557,7 +561,7 @@
558562 * @param string $application_name (Required) The name of the application to update. If no such application is found, <code>UpdateApplication</code> returns an <code>InvalidParameterValue</code> error.
559563 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
560564 * <li><code>Description</code> - <code>string</code> - Optional - A new description for the application. Default: If not specified, AWS Elastic Beanstalk does not update the description. </li>
561 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 565+ * <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>
562566 * <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>
563567 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
564568 */
@@ -580,7 +584,7 @@
581585 * <li><code>EnvironmentNames</code> - <code>string|array</code> - Optional - If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names. Pass a string for a single value, or an indexed array for multiple values. </li>
582586 * <li><code>IncludeDeleted</code> - <code>boolean</code> - Optional - Indicates whether to include deleted environments: <code>true</code>: Environments that have been deleted after <code>IncludedDeletedBackTo</code> are displayed. <code>false</code>: Do not include deleted environments. </li>
583587 * <li><code>IncludedDeletedBackTo</code> - <code>string</code> - Optional - If specified when <code>IncludeDeleted</code> is set to <code>true</code>, then environments deleted after this date are displayed. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
584 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 588+ * <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>
585589 * <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>
586590 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
587591 */
@@ -622,7 +626,7 @@
623627 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
624628 * <li><code>EnvironmentId</code> - <code>string</code> - Optional - The ID of the environment to retrieve AWS resource usage data. </li>
625629 * <li><code>EnvironmentName</code> - <code>string</code> - Optional - The name of the environment to retrieve AWS resource usage data. </li>
626 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 630+ * <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>
627631 * <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>
628632 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
629633 */
@@ -641,7 +645,7 @@
642646 * <li><code>EnvironmentId</code> - <code>string</code> - Optional - The ID of the environment to terminate. </li>
643647 * <li><code>EnvironmentName</code> - <code>string</code> - Optional - The name of the environment to terminate. </li>
644648 * <li><code>TerminateResources</code> - <code>boolean</code> - Optional - Indicates whether the associated AWS resources should shut down when the environment is terminated: <enumValues> <value name="true"> <code>true</code>: (default) The user AWS resources (for example, the Auto Scaling group, LoadBalancer, etc.) are terminated along with the environment. </value> <value name="false"> <code>false</code>: The environment is removed from the AWS Elastic Beanstalk but the AWS resources continue to operate. </value> </enumValues> <ul> <li> <code>true</code>: The specified environment as well as the associated AWS resources, such as Auto Scaling group and LoadBalancer, are terminated. </li><li> <code>false</code>: AWS Elastic Beanstalk resource management is removed from the environment, but the AWS resources continue to operate. </li> </ul> For more information, see the AWS Elastic Beanstalk User Guide. Default: <code>true</code> Valid Values: <code>true</code> | <code>false</code> </li>
645 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 649+ * <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>
646650 * <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>
647651 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
648652 */
@@ -669,7 +673,7 @@
670674 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
671675 * <li><code>TemplateName</code> - <code>string</code> - Optional - The name of the configuration template to validate the settings against. Condition: You cannot specify both this and an environment name. </li>
672676 * <li><code>EnvironmentName</code> - <code>string</code> - Optional - The name of the environment to validate the settings against. Condition: You cannot specify both this and a configuration template name. </li>
673 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 677+ * <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>
674678 * <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>
675679 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
676680 */
@@ -693,7 +697,7 @@
694698 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
695699 * <li><code>EnvironmentId</code> - <code>string</code> - Optional - The ID of the environment to restart the server for. </li>
696700 * <li><code>EnvironmentName</code> - <code>string</code> - Optional - The name of the environment to restart the server for. </li>
697 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 701+ * <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>
698702 * <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>
699703 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
700704 */
@@ -716,7 +720,7 @@
717721 * @param string $application_name (Required) The name of the application the environment is associated with.
718722 * @param string $environment_name (Required) The name of the environment to delete the draft configuration from.
719723 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
720 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 724+ * <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>
721725 * <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>
722726 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
723727 */
@@ -759,7 +763,7 @@
760764 * <li><code>OptionName</code> - <code>string</code> - Optional - The name of the configuration option. </li>
761765 * </ul></li>
762766 * </ul></li>
763 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 767+ * <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>
764768 * <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>
765769 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
766770 */
@@ -820,7 +824,7 @@
821825 * <li><code>Value</code> - <code>string</code> - Optional - The current value for the configuration option. </li>
822826 * </ul></li>
823827 * </ul></li>
824 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 828+ * <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>
825829 * <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>
826830 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
827831 */
@@ -870,7 +874,7 @@
871875 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
872876 * <li><code>TemplateName</code> - <code>string</code> - Optional - The name of the configuration template to describe. </li>
873877 * <li><code>EnvironmentName</code> - <code>string</code> - Optional - The name of the environment to describe. </li>
874 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 878+ * <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>
875879 * <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>
876880 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
877881 */
@@ -888,7 +892,7 @@
889893 *
890894 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
891895 * <li><code>ApplicationNames</code> - <code>string|array</code> - Optional - If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include those with the specified names. Pass a string for a single value, or an indexed array for multiple values. </li>
892 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 896+ * <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>
893897 * <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>
894898 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
895899 */
@@ -916,7 +920,7 @@
917921 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
918922 * <li><code>EnvironmentId</code> - <code>string</code> - Optional - The ID of the environment to rebuild. </li>
919923 * <li><code>EnvironmentName</code> - <code>string</code> - Optional - The name of the environment to rebuild. </li>
920 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 924+ * <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>
921925 * <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>
922926 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
923927 */
@@ -944,7 +948,7 @@
945949 * <li><code>StartTime</code> - <code>string</code> - Optional - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
946950 * <li><code>EndTime</code> - <code>string</code> - Optional - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the <code>EndTime</code>. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
947951 * <li><code>NextToken</code> - <code>string</code> - Optional - Pagination token. If specified, the events return the next batch of results. </li>
948 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 952+ * <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>
949953 * <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>
950954 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
951955 */
Index: trunk/extensions/OpenStackManager/aws-sdk/services/importexport.class.php
@@ -22,7 +22,7 @@
2323 * Internet. For large data sets, AWS Import/Export is often faster than Internet transfer and more cost effective than upgrading your
2424 * connectivity.
2525 *
26 - * @version Tue Apr 05 15:21:13 PDT 2011
 26+ * @version Tue May 10 18:29:24 PDT 2011
2727 * @license See the included NOTICE.md file for complete information.
2828 * @copyright See the included NOTICE.md file for complete information.
2929 * @link http://aws.amazon.com/importexport/Amazon Import/Export Service
@@ -58,12 +58,16 @@
5959
6060 if (!$key && !defined('AWS_KEY'))
6161 {
 62+ // @codeCoverageIgnoreStart
6263 throw new ImportExport_Exception('No account key was passed into the constructor, nor was it set in the AWS_KEY constant.');
 64+ // @codeCoverageIgnoreEnd
6365 }
6466
6567 if (!$secret_key && !defined('AWS_SECRET_KEY'))
6668 {
 69+ // @codeCoverageIgnoreStart
6770 throw new ImportExport_Exception('No account secret was passed into the constructor, nor was it set in the AWS_SECRET_KEY constant.');
 71+ // @codeCoverageIgnoreEnd
6872 }
6973
7074 return parent::__construct($key, $secret_key);
@@ -84,7 +88,7 @@
8589 * @param boolean $validate_only (Required) Validate the manifest and parameter values in the request but do not actually create a job.
8690 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
8791 * <li><code>ManifestAddendum</code> - <code>string</code> - Optional - For internal use only. </li>
88 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 92+ * <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>
8993 * <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>
9094 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
9195 */
@@ -105,7 +109,7 @@
106110 *
107111 * @param string $job_id (Required) A unique identifier which refers to a particular job.
108112 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
109 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 113+ * <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>
110114 * <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>
111115 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
112116 */
@@ -124,7 +128,7 @@
125129 *
126130 * @param string $job_id (Required) A unique identifier which refers to a particular job.
127131 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
128 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 132+ * <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>
129133 * <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>
130134 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
131135 */
@@ -145,7 +149,7 @@
146150 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
147151 * <li><code>MaxJobs</code> - <code>integer</code> - Optional - Sets the maximum number of jobs returned in the response. If there are additional jobs that were not returned because MaxJobs was exceeded, the response contains <IsTruncated>true</IsTruncated>. To return the additional jobs, see Marker. </li>
148152 * <li><code>Marker</code> - <code>string</code> - Optional - Specifies the JOBID to start after when listing the jobs created with your account. AWS Import/Export lists your jobs in reverse chronological order. See MaxJobs. </li>
149 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 153+ * <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>
150154 * <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>
151155 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
152156 */
@@ -167,7 +171,7 @@
168172 * @param string $job_type (Required) Specifies whether the job to initiate is an import or export job. [Allowed values: <code>Import</code>, <code>Export</code>]
169173 * @param boolean $validate_only (Required) Validate the manifest and parameter values in the request but do not actually create a job.
170174 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
171 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 175+ * <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>
172176 * <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>
173177 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
174178 */
Index: trunk/extensions/OpenStackManager/aws-sdk/services/cloudfront.class.php
@@ -849,7 +849,7 @@
850850 * <li><code>OriginProtocolPolicy</code> - <code>string</code> - Optional - The origin protocol policy to apply to your origin. If you specify <code>http-only</code>, CloudFront will use HTTP only to access the origin. If you specify <code>match-viewer</code>, CloudFront will fetch from your origin using HTTP or HTTPS, based on the protocol of the viewer request. [Allowed values: <code>http-only</code>, <code>match-viewer</code>]. The default value is <code>match-viewer</code>. Requires a non-S3 origin.</li>
851851 * <li><code>Streaming</code> - <code>boolean</code> - Optional - Whether or not this should be for a streaming distribution. A value of <code>true</code> creates a streaming distribution. A value of <code>false</code> creates a standard distribution. The default value is <code>false</code>.</li>
852852 * <li><code>TrustedSigners</code> - <code>array</code> - Optional - An array of AWS account numbers for users who are trusted signers. Explicity add the value <code>Self</code> to the array to add your own account as a trusted signer.</li>
853 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 853+ * <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>
854854 * <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>
855855 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
856856 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/CreateDistribution.html POST Distribution
@@ -876,7 +876,7 @@
877877 * <li><code>Marker</code> - <code>string</code> - Optional - Use this setting when paginating results to indicate where in your list of distributions to begin. The results include distributions in the list that occur after the marker. To get the next page of results, set the <code>Marker</code> to the value of the <code>NextMarker</code> from the current page's response (which is also the ID of the last distribution on that page).</li>
878878 * <li><code>MaxItems</code> - <code>integer</code> - Optional - The maximum number of distributions you want in the response body. Maximum of 100.</li>
879879 * <li><code>Streaming</code> - <code>boolean</code> - Optional - Whether or not this should be for a streaming distribution. A value of <code>true</code> will create a streaming distribution. A value of <code>false</code> will create a standard distribution. The default value is <code>false</code>.</li>
880 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 880+ * <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>
881881 * <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>
882882 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
883883 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/ListDistributions.html GET Distribution List
@@ -910,7 +910,7 @@
911911 * @param string $distribution_id (Required) The distribution ID returned from <create_distribution()> or <list_distributions()>.
912912 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
913913 * <li><code>Streaming</code> - <code>boolean</code> - Optional - Whether or not this should be for a streaming distribution. A value of <code>true</code> will create a streaming distribution. A value of <code>false</code> will create a standard distribution. The default value is <code>false</code>.</li>
914 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 914+ * <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>
915915 * <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>
916916 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
917917 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/GetDistribution.html GET Distribution
@@ -938,7 +938,7 @@
939939 * @param string $etag (Required) The <code>ETag</code> header value retrieved from <get_distribution_config()>.
940940 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
941941 * <li><code>Streaming</code> - <code>boolean</code> - Optional - Whether or not this should be for a streaming distribution. A value of <code>true</code> will create a streaming distribution. A value of <code>false</code> will create a standard distribution. The default value is <code>false</code>.</li>
942 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 942+ * <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>
943943 * <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>
944944 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
945945 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/DeleteDistribution.html DELETE Distribution
@@ -963,7 +963,7 @@
964964 * @param string $distribution_id (Required) The distribution ID returned from <create_distribution()> or <list_distributions()>.
965965 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
966966 * <li><code>Streaming</code> - <code>boolean</code> - Optional - Whether or not this should be for a streaming distribution. A value of <code>true</code> will create a streaming distribution. A value of <code>false</code> will create a standard distribution. The default value is <code>false</code>.</li>
967 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 967+ * <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>
968968 * <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>
969969 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
970970 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/GetConfig.html GET Distribution Config
@@ -990,7 +990,7 @@
991991 * @param string $etag (Required) The ETag header value retrieved from <get_distribution_config()>.
992992 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
993993 * <li><code>Streaming</code> - <code>boolean</code> - Optional - Whether or not this should be for a streaming distribution. A value of <code>true</code> will create a streaming distribution. A value of <code>false</code> will create a standard distribution. The default value is <code>false</code>.</li>
994 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 994+ * <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>
995995 * <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>
996996 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
997997 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/PutConfig.html PUT Distribution Config
@@ -1017,7 +1017,7 @@
10181018 * @param string $caller_reference (Required) A unique identifier for the request. A timestamp-appended string is recommended.
10191019 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
10201020 * <li><code>Comment</code> - <code>string</code> - Optional - A comment about the OAI.</li>
1021 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1021+ * <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>
10221022 * <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>
10231023 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10241024 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/CreateOAI.html POST Origin Access Identity
@@ -1040,7 +1040,7 @@
10411041 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
10421042 * <li><code>Marker</code> - <code>string</code> - Optional - Use this when paginating results to indicate where in your list of distributions to begin. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last distribution on that page).</li>
10431043 * <li><code>MaxItems</code> - <code>integer</code> - Optional - The maximum number of distributions you want in the response body. Maximum of 100.</li>
1044 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1044+ * <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>
10451045 * <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>
10461046 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10471047 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/ListOAIs.html GET Origin Access Identity List
@@ -1069,7 +1069,7 @@
10701070 *
10711071 * @param string $identity_id (Required) The Identity ID for an existing OAI.
10721072 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1073 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1073+ * <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>
10741074 * <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>
10751075 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10761076 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/GetOAI.html GET Origin Access Identity
@@ -1092,7 +1092,7 @@
10931093 * @param string $identity_id (Required) An Identity ID for an existing OAI.
10941094 * @param string $etag (Required) The <code>ETag</code> header value retrieved from a call to <get_oai()>.
10951095 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1096 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1096+ * <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>
10971097 * <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>
10981098 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
10991099 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/DeleteOAI.html DELETE Origin Access Identity
@@ -1111,7 +1111,7 @@
11121112 *
11131113 * @param string $identity_id (Required) An Identity ID for an existing OAI.
11141114 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1115 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1115+ * <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>
11161116 * <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>
11171117 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
11181118 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/GetOAIConfig.html GET Origin Access Identity Config
@@ -1138,7 +1138,7 @@
11391139 * @param string $xml (Required) The configuration XML generated by <generate_oai_xml()>.
11401140 * @param string $etag (Required) The ETag header value retrieved from a call to <get_distribution_config()>.
11411141 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1142 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1142+ * <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>
11431143 * <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>
11441144 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
11451145 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/PutOAIConfig.html PUT Origin Access Identity Config
@@ -1163,7 +1163,7 @@
11641164 * @param string $caller_reference (Required) A unique identifier for the request. A timestamp-appended string is recommended.
11651165 * @param string|array $paths (Required) One or more paths to set for invalidation. Pass a string for a single value, or an indexed array for multiple values. values.
11661166 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1167 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1167+ * <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>
11681168 * <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>
11691169 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
11701170 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/CreateInvalidation.html POST Invalidation
@@ -1187,7 +1187,7 @@
11881188 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
11891189 * <li><code>Marker</code> - <code>string</code> - Optional - Use this when paginating results to indicate where in the list of invalidations to begin. The results include invalidations in the list that occur after the marker. To get the next page of results, set the <code>Marker</code> parameter to the value of the <code>NextMarker</code> parameter from the current page's response, which is also the ID of the last invalidation on that page.</li>
11901190 * <li><code>MaxItems</code> - <code>integer</code> - Optional - The maximum number of invalidations you want in the response body. A maximum value of 100 can be used.</li>
1191 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1191+ * <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>
11921192 * <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>
11931193 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
11941194 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/ListInvalidation.html GET Invalidation List
@@ -1217,7 +1217,7 @@
12181218 * @param string $distribution_id (Required) The distribution ID returned from <create_distribution()> or <list_distributions()>.
12191219 * @param string $invalidation_id (Required) The invalidation ID returned from <create_invalidation()> or <list_invalidations()>.
12201220 * @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
1221 - * <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <php:curl_setopt()>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
 1221+ * <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>
12221222 * <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>
12231223 * @return CFResponse A <CFResponse> object containing a parsed HTTP response.
12241224 * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/GetInvalidation.html GET Invalidation
@@ -1339,7 +1339,10 @@
13401340
13411341 $resource = '';
13421342 $expiration_key = 'Expires';
1343 - $expires = strtotime($expires);
 1343+ if (is_string($expires))
 1344+ {
 1345+ $expires = strtotime($expires);
 1346+ }
13441347 $conjunction = (strpos($filename, '?') === false ? '?' : '&');
13451348
13461349 // Determine the protocol scheme
Index: trunk/extensions/OpenStackManager/aws-sdk/lib/requestcore/requestcore.class.php
@@ -597,8 +597,6 @@
598598 curl_setopt($curl_handle, CURLOPT_URL, $this->request_url);
599599 curl_setopt($curl_handle, CURLOPT_FILETIME, true);
600600 curl_setopt($curl_handle, CURLOPT_FRESH_CONNECT, false);
601 - curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, false);
602 - curl_setopt($curl_handle, CURLOPT_SSL_VERIFYHOST, true);
603601 curl_setopt($curl_handle, CURLOPT_CLOSEPOLICY, CURLCLOSEPOLICY_LEAST_RECENTLY_USED);
604602 curl_setopt($curl_handle, CURLOPT_MAXREDIRS, 5);
605603 curl_setopt($curl_handle, CURLOPT_HEADER, true);
@@ -610,12 +608,19 @@
611609 curl_setopt($curl_handle, CURLOPT_USERAGENT, $this->useragent);
612610 curl_setopt($curl_handle, CURLOPT_READFUNCTION, array($this, 'streaming_read_callback'));
613611
 612+ // Verify security of the connection
 613+ curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, true);
 614+ curl_setopt($curl_handle, CURLOPT_SSL_VERIFYHOST, true);
 615+ curl_setopt($curl_handle, CURLOPT_CAINFO, dirname(__FILE__) . '/cacert.pem'); // chmod the file as 0755
 616+
 617+ // Debug mode
614618 if ($this->debug_mode)
615619 {
616620 curl_setopt($curl_handle, CURLOPT_VERBOSE, true);
617621 }
618622
619 - if (!ini_get('safe_mode'))
 623+ // Handle open_basedir & safe mode
 624+ if (!ini_get('safe_mode') && !ini_get('open_basedir'))
620625 {
621626 curl_setopt($curl_handle, CURLOPT_FOLLOWLOCATION, true);
622627 }
Index: trunk/extensions/OpenStackManager/aws-sdk/_docs/NOTICE.md
@@ -363,3 +363,27 @@
364364 THE SOFTWARE.
365365
366366 <http://opensource.org/licenses/mit-license.php>
 367+
 368+
 369+## Mozilla Certificate Authority
 370+
 371+* <http://curl.haxx.se/ca/cacert.pem>
 372+* <https://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1>
 373+
 374+The contents of this file are subject to the Mozilla Public License Version
 375+1.1 (the "License"); you may not use this file except in compliance with
 376+the License. You may obtain a copy of the License at
 377+http://www.mozilla.org/MPL/
 378+
 379+Software distributed under the License is distributed on an "AS IS" basis,
 380+WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 381+for the specific language governing rights and limitations under the
 382+License.
 383+
 384+The Original Code is the Netscape security libraries.
 385+
 386+The Initial Developer of the Original Code is Netscape Communications
 387+Corporation. Portions created by the Initial Developer are Copyright
 388+(C) 1994-2000 the Initial Developer. All Rights Reserved.
 389+
 390+<http://www.mozilla.org/MPL/>
Index: trunk/extensions/OpenStackManager/aws-sdk/_docs/CHANGELOG.md
@@ -1,3 +1,53 @@
 2+# Changelog: 1.3.3 "Moogle"
 3+
 4+Launched Tuesday, May 10, 2011
 5+
 6+## Bug fixes and enhancements
 7+* [Bug in AmazonCloudFront::get_private_object_url](https://forums.aws.amazon.com/thread.jspa?threadID=64004)
 8+* [SDK 1.3.2 - Call to undefined function json_last_error()](https://forums.aws.amazon.com/thread.jspa?threadID=64767)
 9+* [CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir](https://forums.aws.amazon.com/thread.jspa?threadID=61333)
 10+
 11+
 12+## Service Classes
 13+### AmazonCloudFront
 14+* **Fixed:** Resolved an issue where the expires value for `get_private_object_url()` only accepted a string instead of a string or integer.
 15+
 16+### AmazonCloudWatch
 17+* **New:** Support for CloudWatch custom user metrics has been added to the SDK.
 18+
 19+
 20+## Extensions
 21+### S3BrowserUpload
 22+* **New:** Added the `S3BrowserUpload` class to the SDK. This class assists in generating the correct HTML/XHTML markup for uploading files to S3 via an HTML <form> element.
 23+
 24+
 25+## Utility Classes
 26+### CFArray
 27+* **New:** Added the `init()` method which simplifies the process of instantiating and chaining a class.
 28+
 29+### CFHadoopBase
 30+* **New:** The `CFHadoopBase` class has been extracted out of `CFHadoopStep` as a shared library.
 31+
 32+### CFHadoopStep
 33+* **New:** The `CFHadoopBase` class has been extracted out of `CFHadoopStep` as a shared library.
 34+* **New:** This class now extends from the `CFHadoopBase` class.
 35+
 36+### CFJSON
 37+* **Fixed:** Resolved an issue where a PHP 5.3-specific function was being used.
 38+
 39+### CFPolicy
 40+* **New:** Added the init() method which simplifies the process of instantiating and chaining a class.
 41+
 42+### CFSimpleXML
 43+* **New:** Added the init() method which simplifies the process of instantiating and chaining a class.
 44+
 45+### RequestCore
 46+* **Fixed:** Improvements to running in PHP environments with open_basedir enabled.
 47+* **Fixed:** RequestCore now uses an up-to-date `cacert.pem` file from Mozilla instead of the Certificate Authority that libcurl or libopenssl was compiled with, which should resolve certain issues with making SSL connections to AWS services.
 48+
 49+
 50+----
 51+
252 # Changelog: 1.3.2 "Luna"
353
454 Launched Tuesday, April 5, 2011
@@ -7,6 +57,7 @@
858 * Bug fixes and enhancements:
959 * [AmazonCloudWatch get_metric_statistics returns gzipped body](https://forums.aws.amazon.com/thread.jspa?threadID=62625)
1060
 61+
1162 ## Service Classes
1263 ### AmazonCloudWatch
1364 * **Fixed:** Worked around an issue where when CloudWatch sends back `Content-Encoding: gzip`, it really means `deflate`. When CloudWatch sends back `Content-Encoding: deflate`, it really means the data isn't encoded at all.
@@ -29,6 +80,7 @@
3081 * [Cannot send email](https://forums.aws.amazon.com/thread.jspa?threadID=62833)
3182 * [AmazonCloudWatch get_metric_statistics returns gzipped body](https://forums.aws.amazon.com/thread.jspa?threadID=62625)
3283
 84+
3385 ## Utility Classes
3486 ### CFArray
3587 * **New:** The `to_json()` and `to_yaml()` methoda have been added to the class.
Index: trunk/extensions/OpenStackManager/aws-sdk/sdk.class.php
@@ -102,9 +102,9 @@
103103 // INTERMEDIARY CONSTANTS
104104
105105 define('CFRUNTIME_NAME', 'aws-sdk-php');
106 -define('CFRUNTIME_VERSION', '1.3.2');
 106+define('CFRUNTIME_VERSION', '1.3.3');
107107 // define('CFRUNTIME_BUILD', gmdate('YmdHis', filemtime(__FILE__))); // @todo: Hardcode for release.
108 -define('CFRUNTIME_BUILD', '20110405215944');
 108+define('CFRUNTIME_BUILD', '20110510205648');
109109 define('CFRUNTIME_USERAGENT', CFRUNTIME_NAME . '/' . CFRUNTIME_VERSION . ' PHP/' . PHP_VERSION . ' ' . php_uname('s') . '/' . php_uname('r') . ' Arch/' . php_uname('m') . ' SAPI/' . php_sapi_name() . ' Integer/' . PHP_INT_MAX . ' Build/' . CFRUNTIME_BUILD . __aws_sdk_ua_callback());
110110
111111
@@ -115,7 +115,7 @@
116116 * Core functionality and default settings shared across all SDK classes. All methods and properties in this
117117 * class are inherited by the service-specific classes.
118118 *
119 - * @version 2011.03.25
 119+ * @version 2011.05.10
120120 * @license See the included NOTICE.md file for more information.
121121 * @copyright See the included NOTICE.md file for more information.
122122 * @link http://aws.amazon.com/php/ PHP Developer Center
Index: trunk/extensions/OpenStackManager/aws-sdk/utilities/policy.class.php
@@ -21,14 +21,13 @@
2222 /**
2323 * Simplifies the process of signing JSON policy documents.
2424 *
25 - * @version 2010.08.31
 25+ * @version 2011.04.25
2626 * @license See the included NOTICE.md file for more information.
2727 * @copyright See the included NOTICE.md file for more information.
2828 * @link http://aws.amazon.com/php/ PHP Developer Center
2929 */
3030 class CFPolicy
3131 {
32 -
3332 /**
3433 * Stores the object that contains the authentication credentials.
3534 */
@@ -65,6 +64,24 @@
6665 }
6766
6867 /**
 68+ * Alternate approach to constructing a new instance. Supports chaining.
 69+ *
 70+ * @param CFRuntime $auth (Required) An instance of any authenticated AWS object that is an instance of <CFRuntime> (e.g. <AmazonEC2>, <AmazonS3>).
 71+ * @param string|array $policy (Required) The associative array representing the S3 policy to use, or a string of JSON content.
 72+ * @return $this A reference to the current instance.
 73+ */
 74+ public static function init($auth, $policy)
 75+ {
 76+ if (version_compare(PHP_VERSION, '5.3.0', '<'))
 77+ {
 78+ throw new Exception('PHP 5.3 or newer is required to instantiate a new class with CLASS::init().');
 79+ }
 80+
 81+ $self = get_called_class();
 82+ return new $self($auth, $policy);
 83+ }
 84+
 85+ /**
6986 * Get the key from the authenticated instance.
7087 *
7188 * @return string The key from the authenticated instance.
Index: trunk/extensions/OpenStackManager/aws-sdk/utilities/hadoopstep.class.php
@@ -21,59 +21,15 @@
2222 /**
2323 * Contains a set of pre-built Amazon EMR Hadoop steps.
2424 *
25 - * @version 2010.11.16
 25+ * @version 2011.05.03
2626 * @license See the included NOTICE.md file for more information.
2727 * @copyright See the included NOTICE.md file for more information.
2828 * @link http://aws.amazon.com/php/ PHP Developer Center
2929 * @link http://hadoop.apache.org Apache Hadoop
3030 */
31 -class CFHadoopStep
 31+class CFHadoopStep extends CFHadoopBase
3232 {
33 -
34 - /*%******************************************************************************************%*/
35 - // CORE METHODS
36 -
3733 /**
38 - * Runs a specified script on the master node of your cluster.
39 - *
40 - * @param string $script (Required) The script to run with `script-runner.jar`.
41 - * @param array $args (Optional) An indexed array of arguments to pass to the script.
42 - * @return array A standard array that is intended to be passed into a <CFStepConfig> object.
43 - */
44 - protected static function script_runner($script, $args = null)
45 - {
46 - if (!$args) $args = array();
47 - array_unshift($args, $script);
48 -
49 - return array(
50 - 'Jar' => 's3://us-east-1.elasticmapreduce/libs/script-runner/script-runner.jar',
51 - 'Args' => $args
52 - );
53 - }
54 -
55 - /**
56 - * Prepares a Hive or Pig script before passing it to the script runner.
57 - *
58 - * @param string $type (Required) The type of script to run. [Allowed values: `hive`, `pig`].
59 - * @param array $args (Optional) An indexed array of arguments to pass to the script.
60 - * @return array A standard array that is intended to be passed into a <CFStepConfig> object.
61 - * @link http://hive.apache.org Apache Hive
62 - * @link http://pig.apache.org Apache Pig
63 - */
64 - protected static function hive_pig_script($type, $args = null)
65 - {
66 - if (!$args) $args = array();
67 - $args = is_array($args) ? $args : array($args);
68 - $args = array_merge(array('--base-path', 's3://us-east-1.elasticmapreduce/libs/' . $type . '/'), $args);
69 -
70 - return self::script_runner('s3://us-east-1.elasticmapreduce/libs/' . $type . '/' . $type . '-script', $args);
71 - }
72 -
73 -
74 - /*%******************************************************************************************%*/
75 - // USER-FACING METHODS
76 -
77 - /**
7834 * When ran as the first step in your job flow, enables the Hadoop debugging UI in the AWS
7935 * Management Console.
8036 *
Index: trunk/extensions/OpenStackManager/aws-sdk/utilities/json.class.php
@@ -49,21 +49,28 @@
5050 {
5151 $json = json_decode($json, true);
5252
53 - // Did we encounter an error?
54 - switch (json_last_error())
 53+ if (function_exists('json_last_error'))
5554 {
56 - case JSON_ERROR_DEPTH:
57 - throw new JSON_Exception('Maximum stack depth exceeded');
 55+ // Did we encounter an error?
 56+ switch (json_last_error())
 57+ {
 58+ case JSON_ERROR_DEPTH:
 59+ throw new JSON_Exception('Maximum stack depth exceeded.');
5860
59 - case JSON_ERROR_CTRL_CHAR:
60 - throw new JSON_Exception('Unexpected control character found');
 61+ case JSON_ERROR_CTRL_CHAR:
 62+ throw new JSON_Exception('Unexpected control character found.');
6163
62 - case JSON_ERROR_SYNTAX:
63 - throw new JSON_Exception('Syntax error; Malformed JSON');
 64+ case JSON_ERROR_SYNTAX:
 65+ throw new JSON_Exception('Syntax error; Malformed JSON.');
6466
65 - case JSON_ERROR_STATE_MISMATCH:
66 - throw new JSON_Exception('Invalid or malformed JSON');
 67+ case JSON_ERROR_STATE_MISMATCH:
 68+ throw new JSON_Exception('Invalid or malformed JSON.');
 69+ }
6770 }
 71+ else
 72+ {
 73+ throw new JSON_Exception('Unknown JSON error. Be sure to validate your JSON and read the notes on http://php.net/json_decode.');
 74+ }
6875 }
6976
7077 // Hand off for the recursive work
Index: trunk/extensions/OpenStackManager/aws-sdk/utilities/simplexml.class.php
@@ -22,7 +22,7 @@
2323 * Wraps the underlying `SimpleXMLIterator` class with enhancements for rapidly traversing the DOM tree,
2424 * converting types, and comparisons.
2525 *
26 - * @version 2011.03.25
 26+ * @version 2011.04.25
2727 * @license See the included NOTICE.md file for more information.
2828 * @copyright See the included NOTICE.md file for more information.
2929 * @link http://aws.amazon.com/php/ PHP Developer Center
@@ -77,7 +77,28 @@
7878 return $results;
7979 }
8080
 81+ /**
 82+ * Alternate approach to constructing a new instance. Supports chaining.
 83+ *
 84+ * @param string $data (Required) A well-formed XML string or the path or URL to an XML document if $data_is_url is <code>true</code>.
 85+ * @param integer $options (Optional) Used to specify additional LibXML parameters. The default value is <code>0</code>.
 86+ * @param boolean $data_is_url (Optional) Specify a value of <code>true</code> to specify that data is a path or URL to an XML document instead of string data. The default value is <code>false</code>.
 87+ * @param string $ns (Optional) The XML namespace to return values for.
 88+ * @param boolean $is_prefix (Optional) (No description provided by PHP.net.)
 89+ * @return CFSimpleXML Creates a new <CFSimpleXML> element.
 90+ */
 91+ public static function init($data, $options = 0, $data_is_url, $ns, $is_prefix = false)
 92+ {
 93+ if (version_compare(PHP_VERSION, '5.3.0', '<'))
 94+ {
 95+ throw new Exception('PHP 5.3 or newer is required to instantiate a new class with CLASS::init().');
 96+ }
8197
 98+ $self = get_called_class();
 99+ return new $self($data, $options, $data_is_url, $ns, $is_prefix);
 100+ }
 101+
 102+
82103 /*%******************************************************************************************%*/
83104 // TRAVERSAL
84105
Index: trunk/extensions/OpenStackManager/aws-sdk/utilities/array.class.php
@@ -23,7 +23,7 @@
2424 * rapidly manipulating array data. Specifically, the `CFArray` object is intended for working with
2525 * <CFResponse> and <CFSimpleXML> objects that are returned by AWS services.
2626 *
27 - * @version 2010.12.06
 27+ * @version 2011.04.25
2828 * @license See the included NOTICE.md file for more information.
2929 * @copyright See the included NOTICE.md file for more information.
3030 * @link http://aws.amazon.com/php/ PHP Developer Center
@@ -45,6 +45,25 @@
4646 }
4747
4848 /**
 49+ * Alternate approach to constructing a new instance. Supports chaining.
 50+ *
 51+ * @param mixed $input (Optional) The input parameter accepts an array or an Object. The default value is an empty array.
 52+ * @param integer $flags (Optional) Flags to control the behavior of the ArrayObject object. Defaults to <STD_PROP_LIST>.
 53+ * @param string $iterator_class (Optional) Specify the class that will be used for iteration of the <php:ArrayObject> object. <php:ArrayIterator> is the default class used.
 54+ * @return mixed Either an array of matches, or a single <CFSimpleXML> element.
 55+ */
 56+ public static function init($input = array(), $flags = self::STD_PROP_LIST, $iterator_class = 'ArrayIterator')
 57+ {
 58+ if (version_compare(PHP_VERSION, '5.3.0', '<'))
 59+ {
 60+ throw new Exception('PHP 5.3 or newer is required to instantiate a new class with CLASS::init().');
 61+ }
 62+
 63+ $self = get_called_class();
 64+ return new $self($input, $flags, $iterator_class);
 65+ }
 66+
 67+ /**
4968 * Handles how the object is rendered when cast as a string.
5069 *
5170 * @return string The word "Array".

Follow-up revisions

RevisionCommit summaryAuthorDate
r89092Followup r88598, seems 2 files didn't get commitedreedy12:12, 29 May 2011

Status & tagging log