Release: AWS SDK for PHP 1.5.17

Release Notes>PHP>Release: AWS SDK for PHP 1.5.17
This release adds support for archiving Amazon S3 objects to Amazon Glacier, Amazon S3 website page redirects, consistent reads for Amazon DynamoDB BatchWriteItem, CRC32 checksum validation for Amazon DynamoDB responses, and endpoint constants for the new Asia Pacific Sydney Region.


Submitted By: lindblom
Latest Version: 1.5.17
Created On: November 14, 2012 2:21 AM GMT
Last Updated: November 14, 2012 2:21 AM GMT


Download the latest AWS SDK for PHP

New Features

Change Description

Amazon S3 - Archiving Objects to Amazon Glacier

Amazon S3 now provides a storage option that enables you to utilize Amazon Glacier's low-cost storage service for data archival. To archive objects, you define archival rules identifying objects and a timeline when you want Amazon S3 to archive these objects to Amazon Glacier. You can easily set the rules on a bucket using the Amazon S3 management console or programmatically using the SDK.

For more information, see Object Lifecycle Management.

Amazon S3 - Website Page Redirects

If your Amazon S3 bucket is configured as a website, you can now redirect requests for an object. Amazon S3 introduces a new system metadata, x-amz-website-redirect-location, that you can add to the object to set the redirect. The website then treats the object as a 301 redirect. You can redirect a page request to another object in the same bucket or an external URL. For more information, see Configuring a Web Page Redirect.

For more information about website hosting, see Hosting Websites on Amazon S3.

Amazon DynamoDB - Consistent Reads for BatchWriteItem

By default, read operations performed by the BatchGetItem API are eventually consistent. A new ConsistentRead parameter in BatchGetItem lets you choose read consistency instead, for any tables in the request.

Amazon DynamoDB - CRC32 Checksum Support

Amazon DynamoDB calculates a CRC32 checksum of the HTTP payload of the response and returns this checksum in a new header, x-amz-crc32. An application program should compute its own CRC32 checksum and compare it with the x-amz-crc32 header; if the checksums do not match, it might indicate that the data was corrupted in transit. If this happens, the program should retry the request. Note: SDK users do not need to manually perform this verification, because the SDK computes the checksum of each response from Amazon DynamoDB and automatically retries the request if a mismatch is detected.

New Asia Pacific (Sydney) Region - Endpoint Constants

Support for the new Asia Pacific (Sydney) Region has been added. Region endpoint constants have been added to several service clients in the SDK. For clients that have the constants (like the AmazonDynamoDB class), you can get the endpoint value using the region name or the region's city name (e.g. AmazonDynamoDB::REGION_APAC_SE2 or AmazonDynamoDB::REGION_SYDNEY).

Known Issues

For a list of known issues, please see _docs/ in the SDK package.

Supported API Versions

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

Service API Version
Amazon CloudFront 2012-03-15
Amazon CloudSearch 2011-02-01
Amazon CloudWatch 2010-08-01
Amazon DynamoDB 2011-12-05
Amazon Elastic Compute Cloud (Amazon EC2) with Amazon Virtual Private Cloud (Amazon VPC) 2012-08-15
Amazon ElastiCache 2012-03-09
Amazon Elastic MapReduce (Amazon EMR) 2009-03-31
Amazon Relational Database Service (Amazon RDS) 2012-07-31
Amazon Simple Storage Service (Amazon S3) 2006-03-01
Amazon SimpleDB 2009-04-15
Amazon Simple Email Service (Amazon SES) 2010-12-01
Amazon Simple Notification Service (Amazon SNS) 2010-03-31
Amazon Simple Queue Service (Amazon SQS) 2012-11-05
Amazon Simple Workflow Service (Amazon SWF) 2012-01-25
Auto Scaling 2012-01-01
AWS CloudFormation 2010-05-15
AWS Elastic Beanstalk 2010-12-01
AWS Identity and Access Management 2010-05-08
AWS Import/Export 2010-06-01
AWS Security Token Service 2011-06-15
AWS Storage Gateway 2012-04-30
Elastic Load Balancing (ELB) 2012-06-01
©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.