Permalink
Browse files

1.6.0 release. http://aws.amazon.com/releasenotes/2238950844718536

  • Loading branch information...
1 parent 42d8627 commit 4d279d8b6826fff97015cdea7dd283bcbbe9e7c1 @jeremeamia jeremeamia committed Jan 21, 2013
Showing with 1,276 additions and 485 deletions.
  1. +53 −0 _docs/CHANGELOG.md
  2. +2 −2 _docs/NOTICE.md
  3. +14 −14 _samples/AmazonSimpleWorkflow/cron/BasicActivityWorker.php
  4. +46 −46 _samples/AmazonSimpleWorkflow/cron/BasicWorkflowWorker.php
  5. +7 −7 _samples/AmazonSimpleWorkflow/cron/HistoryEventIterator.php
  6. +4 −5 _samples/AmazonSimpleWorkflow/cron/LICENSE
  7. +3 −3 _samples/AmazonSimpleWorkflow/cron/cron_example_utils.php
  8. +1 −1 _samples/AmazonSimpleWorkflow/cron/start_cron_example_activity_workers.php
  9. +1 −1 _samples/AmazonSimpleWorkflow/cron/start_cron_example_workflow.php
  10. +1 −1 _samples/AmazonSimpleWorkflow/cron/start_cron_example_workflow_workers.php
  11. +1 −1 _samples/cli-ec2_sorting_and_filtering.php
  12. +1 −1 _samples/cli-s3_get_urls_for_uploads.php
  13. +1 −1 _samples/cli-s3_progress_bar.php
  14. +1 −1 _samples/html-dynamodb_sessions_login.php
  15. +2 −2 _samples/html-sdb_create_domain_data.php
  16. +1 −1 authentication/signable.interface.php
  17. +1 −1 authentication/signature_v2query.class.php
  18. +1 −1 authentication/signature_v3json.class.php
  19. +1 −1 authentication/signature_v3query.class.php
  20. +2 −2 authentication/signature_v4json.class.php
  21. +41 −6 authentication/signature_v4query.class.php
  22. +1 −1 authentication/signer.abstract.php
  23. +1 −1 extensions/dynamodbsessionhandler.class.php
  24. +8 −8 package.xml
  25. +20 −88 sdk.class.php
  26. +30 −10 services/as.class.php
  27. +13 −3 services/cloudformation.class.php
  28. +1 −1 services/cloudfront.class.php
  29. +21 −21 services/cloudsearch.class.php
  30. +15 −6 services/cloudwatch.class.php
  31. +8 −3 services/dynamodb.class.php
  32. +38 −13 services/ec2.class.php
  33. +155 −13 services/elasticache.class.php
  34. +14 −4 services/elasticbeanstalk.class.php
  35. +29 −4 services/elb.class.php
  36. +42 −9 services/emr.class.php
  37. +97 −25 services/iam.class.php
  38. +2 −2 services/importexport.class.php
  39. +80 −32 services/rds.class.php
  40. +6 −6 services/s3.class.php
  41. +2 −2 services/sdb.class.php
  42. +2 −2 services/ses.class.php
  43. +22 −7 services/sns.class.php
  44. +19 −4 services/sqs.class.php
  45. +375 −74 services/storagegateway.class.php
  46. +59 −18 services/sts.class.php
  47. +11 −10 services/swf.class.php
  48. +1 −1 utilities/array.class.php
  49. +1 −1 utilities/batchrequest.class.php
  50. +1 −1 utilities/complextype.class.php
  51. +1 −1 utilities/credential.class.php
  52. +1 −1 utilities/credentials.class.php
  53. +1 −1 utilities/gzipdecode.class.php
  54. +1 −1 utilities/hadoopbase.class.php
  55. +1 −1 utilities/hadoopbootstrap.class.php
  56. +1 −1 utilities/hadoopstep.class.php
  57. +1 −1 utilities/info.class.php
  58. +1 −1 utilities/json.class.php
  59. +1 −1 utilities/manifest.class.php
  60. +1 −1 utilities/mimetypes.class.php
  61. +1 −1 utilities/policy.class.php
  62. +1 −1 utilities/request.class.php
  63. +1 −1 utilities/response.class.php
  64. +1 −1 utilities/simplexml.class.php
  65. +1 −1 utilities/stacktemplate.class.php
  66. +1 −1 utilities/stepconfig.class.php
  67. +1 −1 utilities/utilities.class.php
View
@@ -1,3 +1,53 @@
+# Changelog: 1.6.0
+
+Launched Monday, January 21, 2013.
+
+## Fixes and Enhancements
+* Updated SignatureV4 to work with Amazon SQS and endpoints containing paths in the URL.
+* Made it possible to disable config auto-discovery by defining the `AWS_DISABLE_CONFIG_AUTO_DISCOVERY` constant before requiring the SDK.
+* Updated regional support across the entire SDK. Added some missing region constants for the Asia Pacific (Sydney) Region and the US GovCloud region.
+* Made minor API documentation updates across the entire SDK.
+* Simplified and shortened the user agent string sent with requests from the SDK.
+* Updated copyright notices across the entire SDK to include 2013.
+
+## Services
+### AmazonAS
+* **BACKWARDS-INCOMPATIBLE CHANGE:** The `AvailabilityZones` parameter is no longer required for the `create_auto_scaling_group` operation.
+* **New:** Support for the `EbsOptimized` parameter on the `create_launch_configuration` operation has been added to the SDK.
+
+### AmazonEC2
+* **BACKWARDS-INCOMPATIBLE CHANGE:** The `PublicIp` parameter is no longer required for the `disassociate_address` operation.
+* **BACKWARDS-INCOMPATIBLE CHANGE:** The `AdditionalInfo` parameter has been removed from the `start_instances` operation. It was previously deprecated and unused.
+* **New:** Support for copying Amazon EBS snapshots has been added to the SDK.
+* **New:** New instance type constants for the new high memory and high storage instance types have been added to the SDK.
+* **New:** Support for pagination on the `describe_reserved_instances_offerings` operation has been added to the SDK.
+* **Deprecated:** The `AddressingType` parameter of the `request_spot_instances` operation has been marked as deprecated.
+
+### AmazonElastiCache
+* **BACKWARDS-INCOMPATIBLE CHANGE:** The `CacheSecurityGroupNames` parameter is no longer required for the `create_cache_cluster` operation.
+* **New:** Support for VPC in Amazon ElastiCache has been added to the SDK.
+
+### AmazonElasticBeanstalk
+* **New:** Requests to this service are now signed with Signature V4.
+
+### AmazonEMR
+* **New:** Support for AWS Identity and Access Management (IAM) Roles for Amazon Elastic MapReduce has been added to the SDK.
+
+### AmazonRDS
+* **New:** Support for promoting a Read Replica to a standard DB Instance has been added to the SDK.
+* **New:** Support for provisioned IOPS in Amazon RDS has been added to the SDK.
+
+### AmazonSQS
+* **New:** Requests to this service are now signed with Signature V4.
+
+### AmazonStorageGateway
+* **New:** Support for gateway-cached storage volumes has been added to the SDK.
+
+### AmazonSTS
+* **New:** Support for cross-account API access with IAM roles using the AWS Security Token Service has been added to the SDK.
+
+----
+
# Changelog: 1.5.17.1
Launched Monday, November 26, 2012.
@@ -8,6 +58,9 @@ Launched Monday, November 26, 2012.
## Services
### AmazonDynamoDB
* **New:** Support for the South American (São Paulo) Region has been added to Amazon DynamoDB.
+* **New:** Support for archiving data to Amazon Glacier has been added to the SDK.
+
+----
# Changelog: 1.5.17
View
@@ -9,7 +9,7 @@ See below for complete copyright and licensing notices.
<http://aws.amazon.com/php>
-Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License").
You may not use this file except in compliance with the License.
@@ -421,7 +421,7 @@ Corporation. Portions created by the Initial Developer are Copyright
<https://code.google.com/p/array-to-domdocument/>
* Copyright 2010-2011 [Omer Hassan](https://code.google.com/u/113495690012051782542/)
-* Portions copyright 2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+* Portions copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
<?php
/*
- * Copyright 2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -27,17 +27,17 @@ class BasicActivityWorker {
protected $swf;
protected $domain;
protected $task_list;
-
+
public function __construct(AmazonSWF $swf_service, $domain, $task_list) {
$this->domain = $domain;
$this->task_list = $task_list;
$this->swf = $swf_service;
}
-
+
public function start() {
$this->_poll();
}
-
+
protected function _poll() {
while (true) {
$response = $this->swf->poll_for_activity_task(array(
@@ -46,25 +46,25 @@ protected function _poll() {
'name' => $this->task_list
)
));
-
+
if (self::DEBUG) {
print_r($response->body);
}
-
+
if ($response->isOK()) {
$task_token = (string) $response->body->taskToken;
-
- if (!empty($task_token)) {
+
+ if (!empty($task_token)) {
$activity_input = (string) $response->body->input;
$activity_output = $this->_execute_task($activity_input);
-
+
$complete_opt = array(
'taskToken' => $task_token,
'result' => $activity_output
);
-
+
$complete_response = $this->swf->respond_activity_task_completed($complete_opt);
-
+
if ($complete_response->isOK()) {
echo "RespondActivityTaskCompleted SUCCESS\n";
} else {
@@ -81,12 +81,12 @@ protected function _poll() {
} else {
echo 'ERROR: ';
print_r($response->body);
-
+
sleep(2);
}
- }
+ }
}
-
+
protected function _execute_task($input) {
$output = "Hello $input!";
return $output;
Oops, something went wrong.

0 comments on commit 4d279d8

Please sign in to comment.