Release: AWS SDK for iOS 1.0.1

Release Notes>SDKs>iOS>Release: AWS SDK for iOS 1.0.1
This release supports the latest versions of Amazon Elastic Compute Cloud (EC2), Auto Scaling and Elastic Load Balancing. This release also enables customers to turn on server-side encryption in Amazon S3 when uploading data and includes a sample specific for using Amazon S3 with images.


Submitted By: Glenn@
Release Date: October 13, 2011 5:56 PM GMT
Created On: October 13, 2011 5:56 PM GMT
Last Updated: October 13, 2011 5:56 PM GMT


Download the AWS SDK for iOS 1.0.1

New Features

Change Description
New Amazon S3 Specific Sample App

This sample demonstrates how to upload an image to Amazon S3 from your mobile device and how to make that image available on the web.

Amazon S3 Server Side Encryption

Customers now have the option to encrypt data stored "at rest" within Amazon S3. Amazon S3 Server Side Encryption provides customers with the ability to easily encrypt data -- securing their data in the cloud -- without the burden of building, managing, and securing a key management infrastructure.

This example stores an object and specifies that it should be encrypted:

     NSString *data = @"Test Data Here";
     S3PutObjectRequest *putObjectRequest = [[[S3PutObjectRequest alloc] initWithKey:MY_OBJECT_KEY inBucket:MY_BUCKET_NAME] autorelease]; = [data dataUsingEncoding:NSUTF8StringEncoding];
     putObjectRequest.serverSideEncryption  = kS3ServerSideEnryptionAES256;

     S3PutObjectResponse *response = [s3Client putObject:putObjectRequest];
     NSLog( @"Server Side Encryption = %@", response.serverSideEncryption );

For more information on encrypting your data using Amazon S3 Server Side Encryption, please see the Amazon S3 Developer Guide.

Resolved Issues

Bug Description & Resolution
Amazon S3 Multipart Upload Requests Fixed bugs related to the contentMD5 and contentLength properties. Removed the
-(void)abortMultipartUploadWithUploadId:(NSString *)theUploadId
method from AmazonS3Client as it was non-functional. The method
-(S3AbortMultipartUploadResponse *)abortMultipartUpload:(S3AbortMultipartUploadRequest *)abortMultipartUploadRequest
should be used instead.

Supported API Versions

This release of the SDK supports the following API versions:

Service API Version
Amazon CloudWatch 2010-08-01
Amazon Elastic Compute Cloud (EC2) 2011-05-15
Amazon Simple Email Service (SES) 2010-12-01
Amazon Simple Notification Service (SNS) 2010-03-31
Amazon Simple Queue Service 2009-02-01
Amazon Simple Storage Service (S3) 2006-03-01
Amazon SimpleDB 2009-04-15
Auto Scaling 2011-01-01
Elastic Load Balancing 2011-08-15


Known Issues

Issue Description
Amazon S3 over 3G Uploading large objects to Amazon S3 using 3G can fail frequently. Upgrading your iOS device to v4.3 helps reduce the failure rate. We are actively working with Apple to find a resolution to this problem.
Amazon S3 client does not work around known Amazon S3 issues. The Amazon S3 library does not currently work around two known issues with the Amazon S3 API:
  • Bucket names can include '+' symbols in the name, but the '+' symbol does not get replaced in URL encodings and can result in spaces in bucket names instead.
  • It is possible to create an object with a key which includes characters that are not valid XML characters, which will cause an error in the response to the AmazonS3Client listObjects method. Refer to for guidelines on Amazon S3 keys.
©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.