r103022 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103021‎ | r103022 | r103023 >
Date:20:13, 14 November 2011
Author:reedy
Status:deferred
Tags:
Comment:
aws-sdk Changelog: 1.4.7 "Yuna"
Modified paths:
  • /trunk/extensions/OpenStackManager/aws-sdk/_docs/CHANGELOG.md (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/cloudwatch.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/ec2.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/elb.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/emr.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/iam.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/rds.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/sns.class.php (modified) (history)
  • /trunk/extensions/OpenStackManager/aws-sdk/services/sqs.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenStackManager/aws-sdk/services/cloudformation.class.php
@@ -61,36 +61,41 @@
6262 // CLASS CONSTANTS
6363
6464 /**
65 - * Specify the default queue URL.
 65+ * Specify the queue URL for the United States East (Northern Virginia) Region.
6666 */
67 - const DEFAULT_URL = 'cloudformation.us-east-1.amazonaws.com';
 67+ const REGION_US_E1 = 'cloudformation.us-east-1.amazonaws.com';
6868
6969 /**
70 - * Specify the queue URL for the US-East (Northern Virginia) Region.
 70+ * Specify the queue URL for the United States West (Northern California) Region.
7171 */
72 - const REGION_US_E1 = self::DEFAULT_URL;
 72+ const REGION_US_W1 = 'cloudformation.us-west-1.amazonaws.com';
7373
7474 /**
75 - * Specify the queue URL for the US-West (Northern California) Region.
 75+ * Specify the queue URL for the United States West (Oregon) Region.
7676 */
77 - const REGION_US_W1 = 'cloudformation.us-west-1.amazonaws.com';
 77+ const REGION_US_W2 = 'cloudformation.us-west-2.amazonaws.com';
7878
7979 /**
80 - * Specify the queue URL for the EU (Ireland) Region.
 80+ * Specify the queue URL for the Europe West (Ireland) Region.
8181 */
8282 const REGION_EU_W1 = 'cloudformation.eu-west-1.amazonaws.com';
8383
8484 /**
85 - * Specify the queue URL for the Asia Pacific (Singapore) Region.
 85+ * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region.
8686 */
8787 const REGION_APAC_SE1 = 'cloudformation.ap-southeast-1.amazonaws.com';
8888
8989 /**
90 - * Specify the queue URL for the Asia Pacific (Japan) Region.
 90+ * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region.
9191 */
9292 const REGION_APAC_NE1 = 'cloudformation.ap-northeast-1.amazonaws.com';
9393
 94+ /**
 95+ * Default service endpoint.
 96+ */
 97+ const DEFAULT_URL = self::REGION_US_E1;
9498
 99+
95100 /*%******************************************************************************************%*/
96101 // SETTERS
97102
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.05.18
 53+ * @version 2011.11.09
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
@@ -76,6 +76,11 @@
7777 const REGION_US_W1 = 'us-west-1';
7878
7979 /**
 80+ * Specify the queue URL for the US-West (Oregon) Region.
 81+ */
 82+ const REGION_US_W2 = 'us-west-2';
 83+
 84+ /**
8085 * Specify the queue URL for the EU (Ireland) Region.
8186 */
8287 const REGION_EU_W1 = 'EU';
@@ -1450,11 +1455,7 @@
14511456 }
14521457
14531458 // Handle metadata directive
1454 - $opt['headers']['x-amz-metadata-directive'] = 'COPY';
1455 - if ($source['bucket'] === $dest['bucket'] && $source['filename'] === $dest['filename'])
1456 - {
1457 - $opt['headers']['x-amz-metadata-directive'] = 'REPLACE';
1458 - }
 1459+ $opt['headers']['x-amz-metadata-directive'] = 'REPLACE';
14591460 if (isset($opt['metadataDirective']))
14601461 {
14611462 $opt['headers']['x-amz-metadata-directive'] = $opt['metadataDirective'];
@@ -1936,7 +1937,7 @@
19371938 *
19381939 * @param string $bucket (Required) The name of the bucket to use.
19391940 * @param boolean $friendly_format (Optional) A value of <code>true</code> will format the return value to 2 decimal points using the largest possible unit (i.e., 3.42 GB). A value of <code>false</code> will format the return value as the raw number of bytes.
1940 - * @return integer|string The number of bytes as an integer, or the friendly format as a string.
 1941+ * @return integer|string The number of bytes as an integer, or the friendly format as a string. If the bucket does not exist, the filesize will be 0.
19411942 */
19421943 public function get_bucket_filesize($bucket, $friendly_format = false)
19431944 {
@@ -1980,7 +1981,7 @@
19811982 * @param string $bucket (Required) The name of the bucket to use.
19821983 * @param string $filename (Required) The file name for the object.
19831984 * @param boolean $friendly_format (Optional) A value of <code>true</code> will format the return value to 2 decimal points using the largest possible unit (i.e., 3.42 GB). A value of <code>false</code> will format the return value as the raw number of bytes.
1984 - * @return integer|string The number of bytes as an integer, or the friendly format as a string.
 1985+ * @return integer|string The number of bytes as an integer, or the friendly format as a string. If the object does not exist, the filesize will be 0.
19851986 */
19861987 public function get_object_filesize($bucket, $filename, $friendly_format = false)
19871988 {
@@ -1989,9 +1990,14 @@
19901991 throw new S3_Exception(__FUNCTION__ . '() cannot be batch requested');
19911992 }
19921993
 1994+ $filesize = 0;
19931995 $object = $this->get_object_headers($bucket, $filename);
1994 - $filesize = (integer) $object->header['content-length'];
19951996
 1997+ if (isset($object->header['content-length']))
 1998+ {
 1999+ $filesize = (integer) $object->header['content-length'];
 2000+ }
 2001+
19962002 if ($friendly_format)
19972003 {
19982004 $filesize = $this->util->size_readable($filesize);
@@ -2352,7 +2358,7 @@
23532359 );
23542360
23552361 // Add the content type
2356 - $data['ContentType'] = (string) $response[1]->header['content-type'];
 2362+ $data['ContentType'] = isset($response[1]->header['content-type']) ? (string) $response[1]->header['content-type'] : '';
23572363
23582364 // Add the other metadata (including storage type)
23592365 $contents = json_decode(json_encode($response[2]->body->query('descendant-or-self::Contents')->first()), true);
Index: trunk/extensions/OpenStackManager/aws-sdk/services/rds.class.php
@@ -40,36 +40,41 @@
4141 // CLASS CONSTANTS
4242
4343 /**
44 - * Specify the default queue URL.
 44+ * Specify the queue URL for the United States East (Northern Virginia) Region.
4545 */
46 - const DEFAULT_URL = 'rds.us-east-1.amazonaws.com';
 46+ const REGION_US_E1 = 'rds.us-east-1.amazonaws.com';
4747
4848 /**
49 - * Specify the queue URL for the US-East (Northern Virginia) Region.
 49+ * Specify the queue URL for the United States West (Northern California) Region.
5050 */
51 - const REGION_US_E1 = self::DEFAULT_URL;
 51+ const REGION_US_W1 = 'rds.us-west-1.amazonaws.com';
5252
5353 /**
54 - * Specify the queue URL for the US-West (Northern California) Region.
 54+ * Specify the queue URL for the United States West (Oregon) Region.
5555 */
56 - const REGION_US_W1 = 'rds.us-west-1.amazonaws.com';
 56+ const REGION_US_W2 = 'rds.us-west-2.amazonaws.com';
5757
5858 /**
59 - * Specify the queue URL for the EU (Ireland) Region.
 59+ * Specify the queue URL for the Europe West (Ireland) Region.
6060 */
6161 const REGION_EU_W1 = 'rds.eu-west-1.amazonaws.com';
6262
6363 /**
64 - * Specify the queue URL for the Asia Pacific (Singapore) Region.
 64+ * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region.
6565 */
6666 const REGION_APAC_SE1 = 'rds.ap-southeast-1.amazonaws.com';
6767
6868 /**
69 - * Specify the queue URL for the Asia Pacific (Japan) Region.
 69+ * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region.
7070 */
7171 const REGION_APAC_NE1 = 'rds.ap-northeast-1.amazonaws.com';
7272
 73+ /**
 74+ * Default service endpoint.
 75+ */
 76+ const DEFAULT_URL = self::REGION_US_E1;
7377
 78+
7479 /*%******************************************************************************************%*/
7580 // SETTERS
7681
Index: trunk/extensions/OpenStackManager/aws-sdk/services/cloudwatch.class.php
@@ -60,36 +60,46 @@
6161 // CLASS CONSTANTS
6262
6363 /**
64 - * Specify the default queue URL.
 64+ * Specify the queue URL for the United States East (Northern Virginia) Region.
6565 */
66 - const DEFAULT_URL = 'monitoring.amazonaws.com';
 66+ const REGION_US_E1 = 'monitoring.us-east-1.amazonaws.com';
6767
6868 /**
69 - * Specify the queue URL for the US-East (Northern Virginia) Region.
 69+ * Specify the queue URL for the United States West (Northern California) Region.
7070 */
71 - const REGION_US_E1 = 'us-east-1';
 71+ const REGION_US_W1 = 'monitoring.us-west-1.amazonaws.com';
7272
7373 /**
74 - * Specify the queue URL for the US-West (Northern California) Region.
 74+ * Specify the queue URL for the United States West (Oregon) Region.
7575 */
76 - const REGION_US_W1 = 'us-west-1';
 76+ const REGION_US_W2 = 'monitoring.us-west-2.amazonaws.com';
7777
7878 /**
79 - * Specify the queue URL for the EU (Ireland) Region.
 79+ * Specify the queue URL for the Europe West (Ireland) Region.
8080 */
81 - const REGION_EU_W1 = 'eu-west-1';
 81+ const REGION_EU_W1 = 'monitoring.eu-west-1.amazonaws.com';
8282
8383 /**
84 - * Specify the queue URL for the Asia Pacific (Singapore) Region.
 84+ * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region.
8585 */
86 - const REGION_APAC_SE1 = 'ap-southeast-1';
 86+ const REGION_APAC_SE1 = 'monitoring.ap-southeast-1.amazonaws.com';
8787
8888 /**
89 - * Specify the queue URL for the Asia Pacific (Japan) Region.
 89+ * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region.
9090 */
91 - const REGION_APAC_NE1 = 'ap-northeast-1';
 91+ const REGION_APAC_NE1 = 'monitoring.ap-northeast-1.amazonaws.com';
9292
 93+ /**
 94+ * Specify the queue URL for the United States GovCloud Region.
 95+ */
 96+ const REGION_US_GOV1 = 'monitoring.us-gov-west-1.amazonaws.com';
9397
 98+ /**
 99+ * Default service endpoint.
 100+ */
 101+ const DEFAULT_URL = self::REGION_US_E1;
 102+
 103+
94104 /*%******************************************************************************************%*/
95105 // SETTERS
96106
Index: trunk/extensions/OpenStackManager/aws-sdk/services/elb.class.php
@@ -34,36 +34,41 @@
3535 // CLASS CONSTANTS
3636
3737 /**
38 - * Specify the default queue URL.
 38+ * Specify the queue URL for the United States East (Northern Virginia) Region.
3939 */
40 - const DEFAULT_URL = 'elasticloadbalancing.us-east-1.amazonaws.com';
 40+ const REGION_US_E1 = 'elasticloadbalancing.us-east-1.amazonaws.com';
4141
4242 /**
43 - * Specify the queue URL for the US-East (Northern Virginia) Region.
 43+ * Specify the queue URL for the United States West (Northern California) Region.
4444 */
45 - const REGION_US_E1 = self::DEFAULT_URL;
 45+ const REGION_US_W1 = 'elasticloadbalancing.us-west-1.amazonaws.com';
4646
4747 /**
48 - * Specify the queue URL for the US-West (Northern California) Region.
 48+ * Specify the queue URL for the United States West (Oregon) Region.
4949 */
50 - const REGION_US_W1 = 'elasticloadbalancing.us-west-1.amazonaws.com';
 50+ const REGION_US_W2 = 'elasticloadbalancing.us-west-2.amazonaws.com';
5151
5252 /**
53 - * Specify the queue URL for the EU (Ireland) Region.
 53+ * Specify the queue URL for the Europe West (Ireland) Region.
5454 */
5555 const REGION_EU_W1 = 'elasticloadbalancing.eu-west-1.amazonaws.com';
5656
5757 /**
58 - * Specify the queue URL for the Asia Pacific (Singapore) Region.
 58+ * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region.
5959 */
6060 const REGION_APAC_SE1 = 'elasticloadbalancing.ap-southeast-1.amazonaws.com';
6161
6262 /**
63 - * Specify the queue URL for the Asia Pacific (Japan) Region.
 63+ * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region.
6464 */
6565 const REGION_APAC_NE1 = 'elasticloadbalancing.ap-northeast-1.amazonaws.com';
6666
 67+ /**
 68+ * Default service endpoint.
 69+ */
 70+ const DEFAULT_URL = self::REGION_US_E1;
6771
 72+
6873 /*%******************************************************************************************%*/
6974 // SETTERS
7075
Index: trunk/extensions/OpenStackManager/aws-sdk/services/as.class.php
@@ -51,36 +51,41 @@
5252 // CLASS CONSTANTS
5353
5454 /**
55 - * Specify the default queue URL.
 55+ * Specify the queue URL for the United States East (Northern Virginia) Region.
5656 */
57 - const DEFAULT_URL = 'autoscaling.us-east-1.amazonaws.com';
 57+ const REGION_US_E1 = 'autoscaling.us-east-1.amazonaws.com';
5858
5959 /**
60 - * Specify the queue URL for the US-East (Northern Virginia) Region.
 60+ * Specify the queue URL for the United States West (Northern California) Region.
6161 */
62 - const REGION_US_E1 = self::DEFAULT_URL;
 62+ const REGION_US_W1 = 'autoscaling.us-west-1.amazonaws.com';
6363
6464 /**
65 - * Specify the queue URL for the US-West (Northern California) Region.
 65+ * Specify the queue URL for the United States West (Oregon) Region.
6666 */
67 - const REGION_US_W1 = 'autoscaling.us-west-1.amazonaws.com';
 67+ const REGION_US_W2 = 'autoscaling.us-west-2.amazonaws.com';
6868
6969 /**
70 - * Specify the queue URL for the EU (Ireland) Region.
 70+ * Specify the queue URL for the Europe West (Ireland) Region.
7171 */
7272 const REGION_EU_W1 = 'autoscaling.eu-west-1.amazonaws.com';
7373
7474 /**
75 - * Specify the queue URL for the Asia Pacific (Singapore) Region.
 75+ * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region.
7676 */
7777 const REGION_APAC_SE1 = 'autoscaling.ap-southeast-1.amazonaws.com';
7878
7979 /**
80 - * Specify the queue URL for the Asia Pacific (Japan) Region.
 80+ * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region.
8181 */
8282 const REGION_APAC_NE1 = 'autoscaling.ap-northeast-1.amazonaws.com';
8383
 84+ /**
 85+ * Default service endpoint.
 86+ */
 87+ const DEFAULT_URL = self::REGION_US_E1;
8488
 89+
8590 /*%******************************************************************************************%*/
8691 // SETTERS
8792
Index: trunk/extensions/OpenStackManager/aws-sdk/services/sns.class.php
@@ -30,36 +30,41 @@
3131 // CLASS CONSTANTS
3232
3333 /**
34 - * Specify the default queue URL.
 34+ * Specify the queue URL for the United States East (Northern Virginia) Region.
3535 */
36 - const DEFAULT_URL = 'sns.us-east-1.amazonaws.com';
 36+ const REGION_US_E1 = 'sns.us-east-1.amazonaws.com';
3737
3838 /**
39 - * Specify the queue URL for the US-East (Northern Virginia) Region.
 39+ * Specify the queue URL for the United States West (Northern California) Region.
4040 */
41 - const REGION_US_E1 = self::DEFAULT_URL;
 41+ const REGION_US_W1 = 'sns.us-west-1.amazonaws.com';
4242
4343 /**
44 - * Specify the queue URL for the US-West (Northern California) Region.
 44+ * Specify the queue URL for the United States West (Oregon) Region.
4545 */
46 - const REGION_US_W1 = 'sns.us-west-1.amazonaws.com';
 46+ const REGION_US_W2 = 'sns.us-west-2.amazonaws.com';
4747
4848 /**
49 - * Specify the queue URL for the EU (Ireland) Region.
 49+ * Specify the queue URL for the Europe West (Ireland) Region.
5050 */
5151 const REGION_EU_W1 = 'sns.eu-west-1.amazonaws.com';
5252
5353 /**
54 - * Specify the queue URL for the Asia Pacific (Singapore) Region.
 54+ * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region.
5555 */
5656 const REGION_APAC_SE1 = 'sns.ap-southeast-1.amazonaws.com';
5757
5858 /**
59 - * Specify the queue URL for the Asia Pacific (Japan) Region.
 59+ * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region.
6060 */
6161 const REGION_APAC_NE1 = 'sns.ap-northeast-1.amazonaws.com';
6262
 63+ /**
 64+ * Default service endpoint.
 65+ */
 66+ const DEFAULT_URL = self::REGION_US_E1;
6367
 68+
6469 /*%******************************************************************************************%*/
6570 // SETTERS
6671
Index: trunk/extensions/OpenStackManager/aws-sdk/services/sqs.class.php
@@ -52,6 +52,11 @@
5353 const REGION_US_W1 = 'sqs.us-west-1.amazonaws.com';
5454
5555 /**
 56+ * Specify the queue URL for the United States West (Oregon) Region.
 57+ */
 58+ const REGION_US_W2 = 'sqs.us-west-2.amazonaws.com';
 59+
 60+ /**
5661 * Specify the queue URL for the Europe West (Ireland) Region.
5762 */
5863 const REGION_EU_W1 = 'sqs.eu-west-1.amazonaws.com';
Index: trunk/extensions/OpenStackManager/aws-sdk/services/iam.class.php
@@ -52,6 +52,11 @@
5353 const REGION_US_E1 = 'iam.amazonaws.com';
5454
5555 /**
 56+ * Specify the queue URL for the United States GovCloud Region.
 57+ */
 58+ const REGION_US_GOV1 = 'iam.us-gov.amazonaws.com';
 59+
 60+ /**
5661 * Default service endpoint.
5762 */
5863 const DEFAULT_URL = self::REGION_US_E1;
Index: trunk/extensions/OpenStackManager/aws-sdk/services/sdb.class.php
@@ -44,36 +44,41 @@
4545 // CLASS CONSTANTS
4646
4747 /**
48 - * Specify the default queue URL.
 48+ * Specify the queue URL for the United States East (Northern Virginia) Region.
4949 */
50 - const DEFAULT_URL = 'sdb.amazonaws.com';
 50+ const REGION_US_E1 = 'sdb.amazonaws.com';
5151
5252 /**
53 - * Specify the queue URL for the US-East (Northern Virginia) Region.
 53+ * Specify the queue URL for the United States West (Northern California) Region.
5454 */
55 - const REGION_US_E1 = self::DEFAULT_URL;
 55+ const REGION_US_W1 = 'sdb.us-west-1.amazonaws.com';
5656
5757 /**
58 - * Specify the queue URL for the US-West (Northern California) Region.
 58+ * Specify the queue URL for the United States West (Oregon) Region.
5959 */
60 - const REGION_US_W1 = 'sdb.us-west-1.amazonaws.com';
 60+ const REGION_US_W2 = 'sdb.us-west-2.amazonaws.com';
6161
6262 /**
63 - * Specify the queue URL for the EU (Ireland) Region.
 63+ * Specify the queue URL for the Europe West (Ireland) Region.
6464 */
6565 const REGION_EU_W1 = 'sdb.eu-west-1.amazonaws.com';
6666
6767 /**
68 - * Specify the queue URL for the Asia Pacific (Singapore) Region.
 68+ * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region.
6969 */
7070 const REGION_APAC_SE1 = 'sdb.ap-southeast-1.amazonaws.com';
7171
7272 /**
73 - * Specify the queue URL for the Asia Pacific (Japan) Region.
 73+ * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region.
7474 */
7575 const REGION_APAC_NE1 = 'sdb.ap-northeast-1.amazonaws.com';
7676
 77+ /**
 78+ * Default service endpoint.
 79+ */
 80+ const DEFAULT_URL = self::REGION_US_E1;
7781
 82+
7883 /*%******************************************************************************************%*/
7984 // SETTERS
8085
Index: trunk/extensions/OpenStackManager/aws-sdk/services/ec2.class.php
@@ -40,36 +40,46 @@
4141 // CLASS CONSTANTS
4242
4343 /**
44 - * Specify the default queue URL.
 44+ * Specify the queue URL for the United States East (Northern Virginia) Region.
4545 */
46 - const DEFAULT_URL = 'ec2.amazonaws.com';
 46+ const REGION_US_E1 = 'ec2.us-east-1.amazonaws.com';
4747
4848 /**
49 - * Specify the queue URL for the US-East (Northern Virginia) Region.
 49+ * Specify the queue URL for the United States West (Northern California) Region.
5050 */
51 - const REGION_US_E1 = 'us-east-1';
 51+ const REGION_US_W1 = 'ec2.us-west-1.amazonaws.com';
5252
5353 /**
54 - * Specify the queue URL for the US-West (Northern California) Region.
 54+ * Specify the queue URL for the United States West (Oregon) Region.
5555 */
56 - const REGION_US_W1 = 'us-west-1';
 56+ const REGION_US_W2 = 'ec2.us-west-2.amazonaws.com';
5757
5858 /**
59 - * Specify the queue URL for the EU (Ireland) Region.
 59+ * Specify the queue URL for the Europe West (Ireland) Region.
6060 */
61 - const REGION_EU_W1 = 'eu-west-1';
 61+ const REGION_EU_W1 = 'ec2.eu-west-1.amazonaws.com';
6262
6363 /**
64 - * Specify the queue URL for the Asia Pacific (Singapore) Region.
 64+ * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region.
6565 */
66 - const REGION_APAC_SE1 = 'ap-southeast-1';
 66+ const REGION_APAC_SE1 = 'ec2.ap-southeast-1.amazonaws.com';
6767
6868 /**
69 - * Specify the queue URL for the Asia Pacific (Japan) Region.
 69+ * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region.
7070 */
71 - const REGION_APAC_NE1 = 'ap-northeast-1';
 71+ const REGION_APAC_NE1 = 'ec2.ap-northeast-1.amazonaws.com';
7272
7373 /**
 74+ * Specify the queue URL for the United States GovCloud Region.
 75+ */
 76+ const REGION_US_GOV1 = 'ec2.us-gov-west-1.amazonaws.com';
 77+
 78+ /**
 79+ * Default service endpoint.
 80+ */
 81+ const DEFAULT_URL = self::REGION_US_E1;
 82+
 83+ /**
7484 * The "pending" state code of an EC2 instance. Useful for conditionals.
7585 */
7686 const STATE_PENDING = 0;
Index: trunk/extensions/OpenStackManager/aws-sdk/services/emr.class.php
@@ -36,36 +36,41 @@
3737 // CLASS CONSTANTS
3838
3939 /**
40 - * Specify the default queue URL.
 40+ * Specify the queue URL for the United States East (Northern Virginia) Region.
4141 */
42 - const DEFAULT_URL = 'us-east-1.elasticmapreduce.amazonaws.com';
 42+ const REGION_US_E1 = 'elasticmapreduce.us-east-1.amazonaws.com';
4343
4444 /**
45 - * Specify the queue URL for the US-East (Northern Virginia) Region.
 45+ * Specify the queue URL for the United States West (Northern California) Region.
4646 */
47 - const REGION_US_E1 = self::DEFAULT_URL;
 47+ const REGION_US_W1 = 'elasticmapreduce.us-west-1.amazonaws.com';
4848
4949 /**
50 - * Specify the queue URL for the US-West (Northern California) Region.
 50+ * Specify the queue URL for the United States West (Oregon) Region.
5151 */
52 - const REGION_US_W1 = 'us-west-1.elasticmapreduce.amazonaws.com';
 52+ const REGION_US_W2 = 'elasticmapreduce.us-west-2.amazonaws.com';
5353
5454 /**
55 - * Specify the queue URL for the EU (Ireland) Region.
 55+ * Specify the queue URL for the Europe West (Ireland) Region.
5656 */
57 - const REGION_EU_W1 = 'eu-west-1.elasticmapreduce.amazonaws.com';
 57+ const REGION_EU_W1 = 'elasticmapreduce.eu-west-1.amazonaws.com';
5858
5959 /**
60 - * Specify the queue URL for the Asia Pacific (Singapore) Region.
 60+ * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region.
6161 */
62 - const REGION_APAC_SE1 = 'ap-southeast-1.elasticmapreduce.amazonaws.com';
 62+ const REGION_APAC_SE1 = 'elasticmapreduce.ap-southeast-1.amazonaws.com';
6363
6464 /**
65 - * Specify the queue URL for the Asia Pacific (Japan) Region.
 65+ * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region.
6666 */
67 - const REGION_APAC_NE1 = 'ap-northeast-1.elasticmapreduce.amazonaws.com';
 67+ const REGION_APAC_NE1 = 'elasticmapreduce.ap-northeast-1.amazonaws.com';
6868
 69+ /**
 70+ * Default service endpoint.
 71+ */
 72+ const DEFAULT_URL = self::REGION_US_E1;
6973
 74+
7075 /*%******************************************************************************************%*/
7176 // SETTERS
7277
Index: trunk/extensions/OpenStackManager/aws-sdk/_docs/CHANGELOG.md
@@ -1,3 +1,53 @@
 2+# Changelog: 1.4.7 "Yuna"
 3+<http://finalfantasy.wikia.com/wiki/Yuna>
 4+
 5+Launched Wednesday, November 9, 2011
 6+
 7+## Service Classes
 8+### AmazonAS
 9+* **New:** Support for the US-West 2 (Oregon) region has been added to the SDK.
 10+
 11+### AmazonCloudFormation
 12+* **New:** Support for the US-West 2 (Oregon) region has been added to the SDK.
 13+
 14+### AmazonCloudWatch
 15+* **New:** Support for the US-West 2 (Oregon) region has been added to the SDK.
 16+* **New:** Support for the US GovCloud region has been added to the SDK.
 17+
 18+### AmazonEC2
 19+* **New:** Support for the US-West 2 (Oregon) region has been added to the SDK.
 20+* **New:** Support for the US GovCloud region has been added to the SDK.
 21+
 22+### AmazonELB
 23+* **New:** Support for the US-West 2 (Oregon) region has been added to the SDK.
 24+
 25+### AmazonEMR
 26+* **New:** Support for the US-West 2 (Oregon) region has been added to the SDK.
 27+
 28+### AmazonIAM
 29+* **New:** Support for the US GovCloud region has been added to the SDK.
 30+
 31+### AmazonRDS
 32+* **New:** Support for the US-West 2 (Oregon) region has been added to the SDK.
 33+
 34+### AmazonS3
 35+* **New:** Support for the US-West 2 (Oregon) region has been added to the SDK.
 36+* **Fixed:** Resolved an issue where certain bits of metadata were not maintained during a copy operation. <https://forums.aws.amazon.com/thread.jspa?threadID=77630>
 37+* **Fixed:** Resolved an issue where an unsuccessful lookup of an existing content-type would throw a warning. <https://forums.aws.amazon.com/thread.jspa?threadID=78121>
 38+* **Fixed:** Resolved an issue where an exception would be thrown when a filesize lookup was attempted on an object that didn't exist. <https://forums.aws.amazon.com/thread.jspa?threadID=78197>
 39+
 40+### AmazonSDB
 41+* **New:** Support for the US-West 2 (Oregon) region has been added to the SDK.
 42+
 43+### AmazonSNS
 44+* **New:** Support for the US-West 2 (Oregon) region has been added to the SDK.
 45+
 46+### AmazonSQS
 47+* **New:** Support for the US-West 2 (Oregon) region has been added to the SDK.
 48+
 49+
 50+----
 51+
252 # Changelog: 1.4.6 "Xezat"
353 <http://finalfantasy.wikia.com/wiki/Xezat>
454
Index: trunk/extensions/OpenStackManager/aws-sdk/sdk.class.php
@@ -125,9 +125,9 @@
126126 // INTERMEDIARY CONSTANTS
127127
128128 define('CFRUNTIME_NAME', 'aws-sdk-php');
129 -define('CFRUNTIME_VERSION', '1.4.6');
 129+define('CFRUNTIME_VERSION', '1.4.7');
130130 // define('CFRUNTIME_BUILD', gmdate('YmdHis', filemtime(__FILE__))); // @todo: Hardcode for release.
131 -define('CFRUNTIME_BUILD', '20111103191027');
 131+define('CFRUNTIME_BUILD', '20111109191027');
132132 define('CFRUNTIME_USERAGENT', CFRUNTIME_NAME . '/' . CFRUNTIME_VERSION . ' PHP/' . PHP_VERSION . ' ' . str_replace(' ', '_', php_uname('s')) . '/' . str_replace(' ', '_', php_uname('r')) . ' Arch/' . php_uname('m') . ' SAPI/' . php_sapi_name() . ' Integer/' . PHP_INT_MAX . ' Build/' . CFRUNTIME_BUILD . __aws_sdk_ua_callback());
133133
134134

Status & tagging log