Release: AWS SDK for PHP 1.2

Release Notes>PHP>Release: AWS SDK for PHP 1.2
This release adds support for Amazon AutoScaling, Amazon Elastic MapReduce and Amazon Import/Export Service. It adds new alarm features to Amazon CloudWatch, and the batch delete feature to Amazon SimpleDB. It better organizes non-essential files, improves the extendability of the CFComplexType and CacheCore classes, and resolves issues reported on the AWS forums.

Details

Submitted By: RyanP@AWS
Release Date: December 4, 2010 1:30 AM GMT
Latest Version: 1.2
Created On: December 4, 2010 1:30 AM GMT
Last Updated: December 4, 2010 1:30 AM GMT

New Features

Feature Description

Support for Amazon AutoScaling

Support for the Amazon AutoScaling Service has been added to the SDK as the AmazonAS class.

For more information, please see: Auto Scaling.

Support for Amazon EMR

Support for the Amazon Elastic MapReduce Service has been added to the SDK as the AmazonEMR, CFStepConfig and CFHadoopStep classes.

For more information, please see: Amazon Elastic MapReduce.

Support for Amazon Import/Export

Support for the Amazon Import/Export Service has been added to the SDK as the AmazonImportExport and CFManifest classes.

For more information, please see: AWS Import/Export.

Updated support for Amazon CloudWatch

The Amazon CloudWatch 2010-08-01 service release expands Amazon's cloud monitoring offerings with custom alarms.

Important: Changes made to the get_metric_statistics() method are backward-incompatible with the previous release. The Namespace and Period parameters are now required and the parameter order has changed.

For more information, please see: Announcing Free Basic Monitoring for Amazon EC2, from Amazon CloudWatch.

Updated support for Amazon SimpleDB

Amazon SimpleDB support has been updated to include batch attribute deletions.

For more information, please see: Amazon SimpleDB Introduces Batch Delete API.

Resolved Issues and Enhancements

Issue Description

Moved documents

The CHANGELOG.md, CONTRIBUTORS.md, LICENSE.md and NOTICE.md have been moved into the new _docs directory.

For more information, please see: Suggestions for the PHP SDK.

Renamed directory

The samples directory has been renamed to _samples.

For more information, please see: Suggestions for the PHP SDK.

Modified permissions

The permissions for the SDK files now default to 0644 instead of 0755.

For more information, please see: Suggestions for the PHP SDK.

cURL options

Resolved an issue where attempting to merge cURL options would fail.

For more information, please see: Problem with curlopt parameter in S3.

Amazon CloudFront trusted signers

Resolved an issue where the incorrect formatting of an XML element prevented the ability to update the list of trusted signers.

For more information, please see: Updating a distribution config.

Amazon S3 create_bucket()

Resolved an issue in the create_bucket() method that caused the regional endpoint to be reset to US-Standard.

For more information, please see: EU Region DNS problem.

Amazon S3 get_object_list()

Resolved an issue in the get_object_list() method where the max-keys parameter was ignored.

For more information, please see: AmazonS3::get_object_list() doesn't consider max-keys option.

Amazon SimpleDB conditional writes

Resolved an issue where the Expected condition was not respected by put_attributes() or delete_attributes().

For more information, please see: [SimpleDB] Conditional PUT.

CacheCore enhancements

The generate_timestamp() method is now protected instead of private, allowing the method to be overridden by an extending user-defined class.

CFComplexType enhancements

Multiple enhancements were made.

  • You can now assign a member parameter to prefix to all list identifiers.

  • The option_group() method is now public instead of private, allowing the method to be overridden by an extending user-defined class.

  • Rewrote the to_query_string() method to avoid the use of PHP's http_build_query() function because it uses urlencode() internally instead of rawurlencode().

Supported API Versions

The AWS SDK for PHP supports the following services and API versions:

Service API Version
Amazon AutoScaling 2010-08-01
Amazon CloudFront 2010-11-01
Amazon CloudWatch 2009-05-15
Amazon Elastic Compute Cloud (Amazon EC2) with Amazon Virtual Private Cloud (Amazon VPC) 2010-08-31
Amazon Elastic Load Balancing (Amazon ELB) 2010-07-01
Amazon Elastic MapReduce (Amazon EMR) 2009-03-31
Amazon Identity and Access Management (Amazon IAM) 2010-05-08
Amazon Import/Export Service 2010-06-01
Amazon Relational Database Service (Amazon RDS) 2010-07-28
Amazon Simple Storage Service (Amazon S3) 2006-03-01
Amazon SimpleDB 2009-04-15
Amazon Simple Notification Service (Amazon SNS) 2010-03-31
Amazon Simple Queue Service (Amazon SQS) 2009-02-01

Migration Guide

From Release Notes

1.0–1.1

If you are using the AmazonCloudWatch class:

  • Replace the existing SDK package with the current release.

  • Update any calls to get_metric_statistics() with the new function signature.

If you are not using the AmazonCloudWatch class, simply replace the existing SDK package with the current release.

CloudFusion 2.5

A migration guide for customers wishing to upgrade from CloudFusion 2.5 to the AWS SDK for PHP 1.0 is located at http://aws.amazon.com/articles/4263

©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.