Index: trunk/extensions/OpenStackManager/aws-sdk/services/cloudformation.class.php |
— | — | @@ -61,36 +61,41 @@ |
62 | 62 | // CLASS CONSTANTS |
63 | 63 | |
64 | 64 | /** |
65 | | - * Specify the default queue URL. |
| 65 | + * Specify the queue URL for the United States East (Northern Virginia) Region. |
66 | 66 | */ |
67 | | - const DEFAULT_URL = 'cloudformation.us-east-1.amazonaws.com'; |
| 67 | + const REGION_US_E1 = 'cloudformation.us-east-1.amazonaws.com'; |
68 | 68 | |
69 | 69 | /** |
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. |
71 | 71 | */ |
72 | | - const REGION_US_E1 = self::DEFAULT_URL; |
| 72 | + const REGION_US_W1 = 'cloudformation.us-west-1.amazonaws.com'; |
73 | 73 | |
74 | 74 | /** |
75 | | - * Specify the queue URL for the US-West (Northern California) Region. |
| 75 | + * Specify the queue URL for the United States West (Oregon) Region. |
76 | 76 | */ |
77 | | - const REGION_US_W1 = 'cloudformation.us-west-1.amazonaws.com'; |
| 77 | + const REGION_US_W2 = 'cloudformation.us-west-2.amazonaws.com'; |
78 | 78 | |
79 | 79 | /** |
80 | | - * Specify the queue URL for the EU (Ireland) Region. |
| 80 | + * Specify the queue URL for the Europe West (Ireland) Region. |
81 | 81 | */ |
82 | 82 | const REGION_EU_W1 = 'cloudformation.eu-west-1.amazonaws.com'; |
83 | 83 | |
84 | 84 | /** |
85 | | - * Specify the queue URL for the Asia Pacific (Singapore) Region. |
| 85 | + * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region. |
86 | 86 | */ |
87 | 87 | const REGION_APAC_SE1 = 'cloudformation.ap-southeast-1.amazonaws.com'; |
88 | 88 | |
89 | 89 | /** |
90 | | - * Specify the queue URL for the Asia Pacific (Japan) Region. |
| 90 | + * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region. |
91 | 91 | */ |
92 | 92 | const REGION_APAC_NE1 = 'cloudformation.ap-northeast-1.amazonaws.com'; |
93 | 93 | |
| 94 | + /** |
| 95 | + * Default service endpoint. |
| 96 | + */ |
| 97 | + const DEFAULT_URL = self::REGION_US_E1; |
94 | 98 | |
| 99 | + |
95 | 100 | /*%******************************************************************************************%*/ |
96 | 101 | // SETTERS |
97 | 102 | |
Index: trunk/extensions/OpenStackManager/aws-sdk/services/s3.class.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | * |
51 | 51 | * Visit <http://aws.amazon.com/s3/> for more information. |
52 | 52 | * |
53 | | - * @version 2011.05.18 |
| 53 | + * @version 2011.11.09 |
54 | 54 | * @license See the included NOTICE.md file for more information. |
55 | 55 | * @copyright See the included NOTICE.md file for more information. |
56 | 56 | * @link http://aws.amazon.com/s3/ Amazon Simple Storage Service |
— | — | @@ -76,6 +76,11 @@ |
77 | 77 | const REGION_US_W1 = 'us-west-1'; |
78 | 78 | |
79 | 79 | /** |
| 80 | + * Specify the queue URL for the US-West (Oregon) Region. |
| 81 | + */ |
| 82 | + const REGION_US_W2 = 'us-west-2'; |
| 83 | + |
| 84 | + /** |
80 | 85 | * Specify the queue URL for the EU (Ireland) Region. |
81 | 86 | */ |
82 | 87 | const REGION_EU_W1 = 'EU'; |
— | — | @@ -1450,11 +1455,7 @@ |
1451 | 1456 | } |
1452 | 1457 | |
1453 | 1458 | // 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'; |
1459 | 1460 | if (isset($opt['metadataDirective'])) |
1460 | 1461 | { |
1461 | 1462 | $opt['headers']['x-amz-metadata-directive'] = $opt['metadataDirective']; |
— | — | @@ -1936,7 +1937,7 @@ |
1937 | 1938 | * |
1938 | 1939 | * @param string $bucket (Required) The name of the bucket to use. |
1939 | 1940 | * @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. |
1941 | 1942 | */ |
1942 | 1943 | public function get_bucket_filesize($bucket, $friendly_format = false) |
1943 | 1944 | { |
— | — | @@ -1980,7 +1981,7 @@ |
1981 | 1982 | * @param string $bucket (Required) The name of the bucket to use. |
1982 | 1983 | * @param string $filename (Required) The file name for the object. |
1983 | 1984 | * @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. |
1985 | 1986 | */ |
1986 | 1987 | public function get_object_filesize($bucket, $filename, $friendly_format = false) |
1987 | 1988 | { |
— | — | @@ -1989,9 +1990,14 @@ |
1990 | 1991 | throw new S3_Exception(__FUNCTION__ . '() cannot be batch requested'); |
1991 | 1992 | } |
1992 | 1993 | |
| 1994 | + $filesize = 0; |
1993 | 1995 | $object = $this->get_object_headers($bucket, $filename); |
1994 | | - $filesize = (integer) $object->header['content-length']; |
1995 | 1996 | |
| 1997 | + if (isset($object->header['content-length'])) |
| 1998 | + { |
| 1999 | + $filesize = (integer) $object->header['content-length']; |
| 2000 | + } |
| 2001 | + |
1996 | 2002 | if ($friendly_format) |
1997 | 2003 | { |
1998 | 2004 | $filesize = $this->util->size_readable($filesize); |
— | — | @@ -2352,7 +2358,7 @@ |
2353 | 2359 | ); |
2354 | 2360 | |
2355 | 2361 | // 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'] : ''; |
2357 | 2363 | |
2358 | 2364 | // Add the other metadata (including storage type) |
2359 | 2365 | $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 @@ |
41 | 41 | // CLASS CONSTANTS |
42 | 42 | |
43 | 43 | /** |
44 | | - * Specify the default queue URL. |
| 44 | + * Specify the queue URL for the United States East (Northern Virginia) Region. |
45 | 45 | */ |
46 | | - const DEFAULT_URL = 'rds.us-east-1.amazonaws.com'; |
| 46 | + const REGION_US_E1 = 'rds.us-east-1.amazonaws.com'; |
47 | 47 | |
48 | 48 | /** |
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. |
50 | 50 | */ |
51 | | - const REGION_US_E1 = self::DEFAULT_URL; |
| 51 | + const REGION_US_W1 = 'rds.us-west-1.amazonaws.com'; |
52 | 52 | |
53 | 53 | /** |
54 | | - * Specify the queue URL for the US-West (Northern California) Region. |
| 54 | + * Specify the queue URL for the United States West (Oregon) Region. |
55 | 55 | */ |
56 | | - const REGION_US_W1 = 'rds.us-west-1.amazonaws.com'; |
| 56 | + const REGION_US_W2 = 'rds.us-west-2.amazonaws.com'; |
57 | 57 | |
58 | 58 | /** |
59 | | - * Specify the queue URL for the EU (Ireland) Region. |
| 59 | + * Specify the queue URL for the Europe West (Ireland) Region. |
60 | 60 | */ |
61 | 61 | const REGION_EU_W1 = 'rds.eu-west-1.amazonaws.com'; |
62 | 62 | |
63 | 63 | /** |
64 | | - * Specify the queue URL for the Asia Pacific (Singapore) Region. |
| 64 | + * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region. |
65 | 65 | */ |
66 | 66 | const REGION_APAC_SE1 = 'rds.ap-southeast-1.amazonaws.com'; |
67 | 67 | |
68 | 68 | /** |
69 | | - * Specify the queue URL for the Asia Pacific (Japan) Region. |
| 69 | + * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region. |
70 | 70 | */ |
71 | 71 | const REGION_APAC_NE1 = 'rds.ap-northeast-1.amazonaws.com'; |
72 | 72 | |
| 73 | + /** |
| 74 | + * Default service endpoint. |
| 75 | + */ |
| 76 | + const DEFAULT_URL = self::REGION_US_E1; |
73 | 77 | |
| 78 | + |
74 | 79 | /*%******************************************************************************************%*/ |
75 | 80 | // SETTERS |
76 | 81 | |
Index: trunk/extensions/OpenStackManager/aws-sdk/services/cloudwatch.class.php |
— | — | @@ -60,36 +60,46 @@ |
61 | 61 | // CLASS CONSTANTS |
62 | 62 | |
63 | 63 | /** |
64 | | - * Specify the default queue URL. |
| 64 | + * Specify the queue URL for the United States East (Northern Virginia) Region. |
65 | 65 | */ |
66 | | - const DEFAULT_URL = 'monitoring.amazonaws.com'; |
| 66 | + const REGION_US_E1 = 'monitoring.us-east-1.amazonaws.com'; |
67 | 67 | |
68 | 68 | /** |
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. |
70 | 70 | */ |
71 | | - const REGION_US_E1 = 'us-east-1'; |
| 71 | + const REGION_US_W1 = 'monitoring.us-west-1.amazonaws.com'; |
72 | 72 | |
73 | 73 | /** |
74 | | - * Specify the queue URL for the US-West (Northern California) Region. |
| 74 | + * Specify the queue URL for the United States West (Oregon) Region. |
75 | 75 | */ |
76 | | - const REGION_US_W1 = 'us-west-1'; |
| 76 | + const REGION_US_W2 = 'monitoring.us-west-2.amazonaws.com'; |
77 | 77 | |
78 | 78 | /** |
79 | | - * Specify the queue URL for the EU (Ireland) Region. |
| 79 | + * Specify the queue URL for the Europe West (Ireland) Region. |
80 | 80 | */ |
81 | | - const REGION_EU_W1 = 'eu-west-1'; |
| 81 | + const REGION_EU_W1 = 'monitoring.eu-west-1.amazonaws.com'; |
82 | 82 | |
83 | 83 | /** |
84 | | - * Specify the queue URL for the Asia Pacific (Singapore) Region. |
| 84 | + * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region. |
85 | 85 | */ |
86 | | - const REGION_APAC_SE1 = 'ap-southeast-1'; |
| 86 | + const REGION_APAC_SE1 = 'monitoring.ap-southeast-1.amazonaws.com'; |
87 | 87 | |
88 | 88 | /** |
89 | | - * Specify the queue URL for the Asia Pacific (Japan) Region. |
| 89 | + * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region. |
90 | 90 | */ |
91 | | - const REGION_APAC_NE1 = 'ap-northeast-1'; |
| 91 | + const REGION_APAC_NE1 = 'monitoring.ap-northeast-1.amazonaws.com'; |
92 | 92 | |
| 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'; |
93 | 97 | |
| 98 | + /** |
| 99 | + * Default service endpoint. |
| 100 | + */ |
| 101 | + const DEFAULT_URL = self::REGION_US_E1; |
| 102 | + |
| 103 | + |
94 | 104 | /*%******************************************************************************************%*/ |
95 | 105 | // SETTERS |
96 | 106 | |
Index: trunk/extensions/OpenStackManager/aws-sdk/services/elb.class.php |
— | — | @@ -34,36 +34,41 @@ |
35 | 35 | // CLASS CONSTANTS |
36 | 36 | |
37 | 37 | /** |
38 | | - * Specify the default queue URL. |
| 38 | + * Specify the queue URL for the United States East (Northern Virginia) Region. |
39 | 39 | */ |
40 | | - const DEFAULT_URL = 'elasticloadbalancing.us-east-1.amazonaws.com'; |
| 40 | + const REGION_US_E1 = 'elasticloadbalancing.us-east-1.amazonaws.com'; |
41 | 41 | |
42 | 42 | /** |
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. |
44 | 44 | */ |
45 | | - const REGION_US_E1 = self::DEFAULT_URL; |
| 45 | + const REGION_US_W1 = 'elasticloadbalancing.us-west-1.amazonaws.com'; |
46 | 46 | |
47 | 47 | /** |
48 | | - * Specify the queue URL for the US-West (Northern California) Region. |
| 48 | + * Specify the queue URL for the United States West (Oregon) Region. |
49 | 49 | */ |
50 | | - const REGION_US_W1 = 'elasticloadbalancing.us-west-1.amazonaws.com'; |
| 50 | + const REGION_US_W2 = 'elasticloadbalancing.us-west-2.amazonaws.com'; |
51 | 51 | |
52 | 52 | /** |
53 | | - * Specify the queue URL for the EU (Ireland) Region. |
| 53 | + * Specify the queue URL for the Europe West (Ireland) Region. |
54 | 54 | */ |
55 | 55 | const REGION_EU_W1 = 'elasticloadbalancing.eu-west-1.amazonaws.com'; |
56 | 56 | |
57 | 57 | /** |
58 | | - * Specify the queue URL for the Asia Pacific (Singapore) Region. |
| 58 | + * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region. |
59 | 59 | */ |
60 | 60 | const REGION_APAC_SE1 = 'elasticloadbalancing.ap-southeast-1.amazonaws.com'; |
61 | 61 | |
62 | 62 | /** |
63 | | - * Specify the queue URL for the Asia Pacific (Japan) Region. |
| 63 | + * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region. |
64 | 64 | */ |
65 | 65 | const REGION_APAC_NE1 = 'elasticloadbalancing.ap-northeast-1.amazonaws.com'; |
66 | 66 | |
| 67 | + /** |
| 68 | + * Default service endpoint. |
| 69 | + */ |
| 70 | + const DEFAULT_URL = self::REGION_US_E1; |
67 | 71 | |
| 72 | + |
68 | 73 | /*%******************************************************************************************%*/ |
69 | 74 | // SETTERS |
70 | 75 | |
Index: trunk/extensions/OpenStackManager/aws-sdk/services/as.class.php |
— | — | @@ -51,36 +51,41 @@ |
52 | 52 | // CLASS CONSTANTS |
53 | 53 | |
54 | 54 | /** |
55 | | - * Specify the default queue URL. |
| 55 | + * Specify the queue URL for the United States East (Northern Virginia) Region. |
56 | 56 | */ |
57 | | - const DEFAULT_URL = 'autoscaling.us-east-1.amazonaws.com'; |
| 57 | + const REGION_US_E1 = 'autoscaling.us-east-1.amazonaws.com'; |
58 | 58 | |
59 | 59 | /** |
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. |
61 | 61 | */ |
62 | | - const REGION_US_E1 = self::DEFAULT_URL; |
| 62 | + const REGION_US_W1 = 'autoscaling.us-west-1.amazonaws.com'; |
63 | 63 | |
64 | 64 | /** |
65 | | - * Specify the queue URL for the US-West (Northern California) Region. |
| 65 | + * Specify the queue URL for the United States West (Oregon) Region. |
66 | 66 | */ |
67 | | - const REGION_US_W1 = 'autoscaling.us-west-1.amazonaws.com'; |
| 67 | + const REGION_US_W2 = 'autoscaling.us-west-2.amazonaws.com'; |
68 | 68 | |
69 | 69 | /** |
70 | | - * Specify the queue URL for the EU (Ireland) Region. |
| 70 | + * Specify the queue URL for the Europe West (Ireland) Region. |
71 | 71 | */ |
72 | 72 | const REGION_EU_W1 = 'autoscaling.eu-west-1.amazonaws.com'; |
73 | 73 | |
74 | 74 | /** |
75 | | - * Specify the queue URL for the Asia Pacific (Singapore) Region. |
| 75 | + * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region. |
76 | 76 | */ |
77 | 77 | const REGION_APAC_SE1 = 'autoscaling.ap-southeast-1.amazonaws.com'; |
78 | 78 | |
79 | 79 | /** |
80 | | - * Specify the queue URL for the Asia Pacific (Japan) Region. |
| 80 | + * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region. |
81 | 81 | */ |
82 | 82 | const REGION_APAC_NE1 = 'autoscaling.ap-northeast-1.amazonaws.com'; |
83 | 83 | |
| 84 | + /** |
| 85 | + * Default service endpoint. |
| 86 | + */ |
| 87 | + const DEFAULT_URL = self::REGION_US_E1; |
84 | 88 | |
| 89 | + |
85 | 90 | /*%******************************************************************************************%*/ |
86 | 91 | // SETTERS |
87 | 92 | |
Index: trunk/extensions/OpenStackManager/aws-sdk/services/sns.class.php |
— | — | @@ -30,36 +30,41 @@ |
31 | 31 | // CLASS CONSTANTS |
32 | 32 | |
33 | 33 | /** |
34 | | - * Specify the default queue URL. |
| 34 | + * Specify the queue URL for the United States East (Northern Virginia) Region. |
35 | 35 | */ |
36 | | - const DEFAULT_URL = 'sns.us-east-1.amazonaws.com'; |
| 36 | + const REGION_US_E1 = 'sns.us-east-1.amazonaws.com'; |
37 | 37 | |
38 | 38 | /** |
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. |
40 | 40 | */ |
41 | | - const REGION_US_E1 = self::DEFAULT_URL; |
| 41 | + const REGION_US_W1 = 'sns.us-west-1.amazonaws.com'; |
42 | 42 | |
43 | 43 | /** |
44 | | - * Specify the queue URL for the US-West (Northern California) Region. |
| 44 | + * Specify the queue URL for the United States West (Oregon) Region. |
45 | 45 | */ |
46 | | - const REGION_US_W1 = 'sns.us-west-1.amazonaws.com'; |
| 46 | + const REGION_US_W2 = 'sns.us-west-2.amazonaws.com'; |
47 | 47 | |
48 | 48 | /** |
49 | | - * Specify the queue URL for the EU (Ireland) Region. |
| 49 | + * Specify the queue URL for the Europe West (Ireland) Region. |
50 | 50 | */ |
51 | 51 | const REGION_EU_W1 = 'sns.eu-west-1.amazonaws.com'; |
52 | 52 | |
53 | 53 | /** |
54 | | - * Specify the queue URL for the Asia Pacific (Singapore) Region. |
| 54 | + * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region. |
55 | 55 | */ |
56 | 56 | const REGION_APAC_SE1 = 'sns.ap-southeast-1.amazonaws.com'; |
57 | 57 | |
58 | 58 | /** |
59 | | - * Specify the queue URL for the Asia Pacific (Japan) Region. |
| 59 | + * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region. |
60 | 60 | */ |
61 | 61 | const REGION_APAC_NE1 = 'sns.ap-northeast-1.amazonaws.com'; |
62 | 62 | |
| 63 | + /** |
| 64 | + * Default service endpoint. |
| 65 | + */ |
| 66 | + const DEFAULT_URL = self::REGION_US_E1; |
63 | 67 | |
| 68 | + |
64 | 69 | /*%******************************************************************************************%*/ |
65 | 70 | // SETTERS |
66 | 71 | |
Index: trunk/extensions/OpenStackManager/aws-sdk/services/sqs.class.php |
— | — | @@ -52,6 +52,11 @@ |
53 | 53 | const REGION_US_W1 = 'sqs.us-west-1.amazonaws.com'; |
54 | 54 | |
55 | 55 | /** |
| 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 | + /** |
56 | 61 | * Specify the queue URL for the Europe West (Ireland) Region. |
57 | 62 | */ |
58 | 63 | const REGION_EU_W1 = 'sqs.eu-west-1.amazonaws.com'; |
Index: trunk/extensions/OpenStackManager/aws-sdk/services/iam.class.php |
— | — | @@ -52,6 +52,11 @@ |
53 | 53 | const REGION_US_E1 = 'iam.amazonaws.com'; |
54 | 54 | |
55 | 55 | /** |
| 56 | + * Specify the queue URL for the United States GovCloud Region. |
| 57 | + */ |
| 58 | + const REGION_US_GOV1 = 'iam.us-gov.amazonaws.com'; |
| 59 | + |
| 60 | + /** |
56 | 61 | * Default service endpoint. |
57 | 62 | */ |
58 | 63 | const DEFAULT_URL = self::REGION_US_E1; |
Index: trunk/extensions/OpenStackManager/aws-sdk/services/sdb.class.php |
— | — | @@ -44,36 +44,41 @@ |
45 | 45 | // CLASS CONSTANTS |
46 | 46 | |
47 | 47 | /** |
48 | | - * Specify the default queue URL. |
| 48 | + * Specify the queue URL for the United States East (Northern Virginia) Region. |
49 | 49 | */ |
50 | | - const DEFAULT_URL = 'sdb.amazonaws.com'; |
| 50 | + const REGION_US_E1 = 'sdb.amazonaws.com'; |
51 | 51 | |
52 | 52 | /** |
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. |
54 | 54 | */ |
55 | | - const REGION_US_E1 = self::DEFAULT_URL; |
| 55 | + const REGION_US_W1 = 'sdb.us-west-1.amazonaws.com'; |
56 | 56 | |
57 | 57 | /** |
58 | | - * Specify the queue URL for the US-West (Northern California) Region. |
| 58 | + * Specify the queue URL for the United States West (Oregon) Region. |
59 | 59 | */ |
60 | | - const REGION_US_W1 = 'sdb.us-west-1.amazonaws.com'; |
| 60 | + const REGION_US_W2 = 'sdb.us-west-2.amazonaws.com'; |
61 | 61 | |
62 | 62 | /** |
63 | | - * Specify the queue URL for the EU (Ireland) Region. |
| 63 | + * Specify the queue URL for the Europe West (Ireland) Region. |
64 | 64 | */ |
65 | 65 | const REGION_EU_W1 = 'sdb.eu-west-1.amazonaws.com'; |
66 | 66 | |
67 | 67 | /** |
68 | | - * Specify the queue URL for the Asia Pacific (Singapore) Region. |
| 68 | + * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region. |
69 | 69 | */ |
70 | 70 | const REGION_APAC_SE1 = 'sdb.ap-southeast-1.amazonaws.com'; |
71 | 71 | |
72 | 72 | /** |
73 | | - * Specify the queue URL for the Asia Pacific (Japan) Region. |
| 73 | + * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region. |
74 | 74 | */ |
75 | 75 | const REGION_APAC_NE1 = 'sdb.ap-northeast-1.amazonaws.com'; |
76 | 76 | |
| 77 | + /** |
| 78 | + * Default service endpoint. |
| 79 | + */ |
| 80 | + const DEFAULT_URL = self::REGION_US_E1; |
77 | 81 | |
| 82 | + |
78 | 83 | /*%******************************************************************************************%*/ |
79 | 84 | // SETTERS |
80 | 85 | |
Index: trunk/extensions/OpenStackManager/aws-sdk/services/ec2.class.php |
— | — | @@ -40,36 +40,46 @@ |
41 | 41 | // CLASS CONSTANTS |
42 | 42 | |
43 | 43 | /** |
44 | | - * Specify the default queue URL. |
| 44 | + * Specify the queue URL for the United States East (Northern Virginia) Region. |
45 | 45 | */ |
46 | | - const DEFAULT_URL = 'ec2.amazonaws.com'; |
| 46 | + const REGION_US_E1 = 'ec2.us-east-1.amazonaws.com'; |
47 | 47 | |
48 | 48 | /** |
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. |
50 | 50 | */ |
51 | | - const REGION_US_E1 = 'us-east-1'; |
| 51 | + const REGION_US_W1 = 'ec2.us-west-1.amazonaws.com'; |
52 | 52 | |
53 | 53 | /** |
54 | | - * Specify the queue URL for the US-West (Northern California) Region. |
| 54 | + * Specify the queue URL for the United States West (Oregon) Region. |
55 | 55 | */ |
56 | | - const REGION_US_W1 = 'us-west-1'; |
| 56 | + const REGION_US_W2 = 'ec2.us-west-2.amazonaws.com'; |
57 | 57 | |
58 | 58 | /** |
59 | | - * Specify the queue URL for the EU (Ireland) Region. |
| 59 | + * Specify the queue URL for the Europe West (Ireland) Region. |
60 | 60 | */ |
61 | | - const REGION_EU_W1 = 'eu-west-1'; |
| 61 | + const REGION_EU_W1 = 'ec2.eu-west-1.amazonaws.com'; |
62 | 62 | |
63 | 63 | /** |
64 | | - * Specify the queue URL for the Asia Pacific (Singapore) Region. |
| 64 | + * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region. |
65 | 65 | */ |
66 | | - const REGION_APAC_SE1 = 'ap-southeast-1'; |
| 66 | + const REGION_APAC_SE1 = 'ec2.ap-southeast-1.amazonaws.com'; |
67 | 67 | |
68 | 68 | /** |
69 | | - * Specify the queue URL for the Asia Pacific (Japan) Region. |
| 69 | + * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region. |
70 | 70 | */ |
71 | | - const REGION_APAC_NE1 = 'ap-northeast-1'; |
| 71 | + const REGION_APAC_NE1 = 'ec2.ap-northeast-1.amazonaws.com'; |
72 | 72 | |
73 | 73 | /** |
| 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 | + /** |
74 | 84 | * The "pending" state code of an EC2 instance. Useful for conditionals. |
75 | 85 | */ |
76 | 86 | const STATE_PENDING = 0; |
Index: trunk/extensions/OpenStackManager/aws-sdk/services/emr.class.php |
— | — | @@ -36,36 +36,41 @@ |
37 | 37 | // CLASS CONSTANTS |
38 | 38 | |
39 | 39 | /** |
40 | | - * Specify the default queue URL. |
| 40 | + * Specify the queue URL for the United States East (Northern Virginia) Region. |
41 | 41 | */ |
42 | | - const DEFAULT_URL = 'us-east-1.elasticmapreduce.amazonaws.com'; |
| 42 | + const REGION_US_E1 = 'elasticmapreduce.us-east-1.amazonaws.com'; |
43 | 43 | |
44 | 44 | /** |
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. |
46 | 46 | */ |
47 | | - const REGION_US_E1 = self::DEFAULT_URL; |
| 47 | + const REGION_US_W1 = 'elasticmapreduce.us-west-1.amazonaws.com'; |
48 | 48 | |
49 | 49 | /** |
50 | | - * Specify the queue URL for the US-West (Northern California) Region. |
| 50 | + * Specify the queue URL for the United States West (Oregon) Region. |
51 | 51 | */ |
52 | | - const REGION_US_W1 = 'us-west-1.elasticmapreduce.amazonaws.com'; |
| 52 | + const REGION_US_W2 = 'elasticmapreduce.us-west-2.amazonaws.com'; |
53 | 53 | |
54 | 54 | /** |
55 | | - * Specify the queue URL for the EU (Ireland) Region. |
| 55 | + * Specify the queue URL for the Europe West (Ireland) Region. |
56 | 56 | */ |
57 | | - const REGION_EU_W1 = 'eu-west-1.elasticmapreduce.amazonaws.com'; |
| 57 | + const REGION_EU_W1 = 'elasticmapreduce.eu-west-1.amazonaws.com'; |
58 | 58 | |
59 | 59 | /** |
60 | | - * Specify the queue URL for the Asia Pacific (Singapore) Region. |
| 60 | + * Specify the queue URL for the Asia Pacific Southeast (Singapore) Region. |
61 | 61 | */ |
62 | | - const REGION_APAC_SE1 = 'ap-southeast-1.elasticmapreduce.amazonaws.com'; |
| 62 | + const REGION_APAC_SE1 = 'elasticmapreduce.ap-southeast-1.amazonaws.com'; |
63 | 63 | |
64 | 64 | /** |
65 | | - * Specify the queue URL for the Asia Pacific (Japan) Region. |
| 65 | + * Specify the queue URL for the Asia Pacific Northeast (Tokyo) Region. |
66 | 66 | */ |
67 | | - const REGION_APAC_NE1 = 'ap-northeast-1.elasticmapreduce.amazonaws.com'; |
| 67 | + const REGION_APAC_NE1 = 'elasticmapreduce.ap-northeast-1.amazonaws.com'; |
68 | 68 | |
| 69 | + /** |
| 70 | + * Default service endpoint. |
| 71 | + */ |
| 72 | + const DEFAULT_URL = self::REGION_US_E1; |
69 | 73 | |
| 74 | + |
70 | 75 | /*%******************************************************************************************%*/ |
71 | 76 | // SETTERS |
72 | 77 | |
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 | + |
2 | 52 | # Changelog: 1.4.6 "Xezat" |
3 | 53 | <http://finalfantasy.wikia.com/wiki/Xezat> |
4 | 54 | |
Index: trunk/extensions/OpenStackManager/aws-sdk/sdk.class.php |
— | — | @@ -125,9 +125,9 @@ |
126 | 126 | // INTERMEDIARY CONSTANTS |
127 | 127 | |
128 | 128 | define('CFRUNTIME_NAME', 'aws-sdk-php'); |
129 | | -define('CFRUNTIME_VERSION', '1.4.6'); |
| 129 | +define('CFRUNTIME_VERSION', '1.4.7'); |
130 | 130 | // define('CFRUNTIME_BUILD', gmdate('YmdHis', filemtime(__FILE__))); // @todo: Hardcode for release. |
131 | | -define('CFRUNTIME_BUILD', '20111103191027'); |
| 131 | +define('CFRUNTIME_BUILD', '20111109191027'); |
132 | 132 | 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()); |
133 | 133 | |
134 | 134 | |