User guide

TransferUtilityUploadRequest uploadRequest = new TransferUtilityUploadRequest()
{
BucketName = "my-bucket", Key = "test", FilePath = "c:\test.txt",
ServerSideEncryptionMethod = ServerSideEncryptionMethod.AES256
};
Removal of SecureString
The use of System.Security.SecureString was removed in version 2 of the SDK because it is not
available on the WinRT and Windows Phone 8 platforms.
Breaking Changes
Many classes and properties were changed to either meet .NET naming conventions or more closely
follow service documentation. Amazon Simple Storage Service (Amazon S3) and Amazon Elastic Compute
Cloud (Amazon EC2) were the most affected by this because they are the oldest services in the SDK
and were moved to the new common runtime. Below are the most visible changes.
All client interfaces have been renamed to follow the .NET convention of starting with the letter "I". For
example, the AmazonEC2 class is now IAmazonEC2.
Properties for collections have been properly pluralized.
AWSClientFactory.CreateAmazonSNSClient has been renamed
CreateAmazonSimpleNotificationServiceClient.
AWSClientFactory.CreateAmazonIdentityManagementClient has been renamed
CreateAmazonIdentityManagementServiceClient.
Amazon DynamoDB
The amazon.dynamodb namespace has been removed; only the amazon.dynamodbv2 namespace
remains.
Service-response collections that were set to null in version 1 are now set to an empty collection. For
example, QueryResult.LastEvaluatedKey and ScanResponse.LastEvaluatedKey will be set to empty
collections when there are no more items to query/scan. If your code depends on LastEvaluatedKey
to be null, it now has to check the collection's Count field to avoid a possible infinite loop.
Amazon EC2
Amazon.EC2.Model.RunningInstance has been renamed Instance.
Additionally, the GroupName and GroupId properties of RunningInstance have been combined into
the SecurityGroups property, which takes a GroupIdentifier object, in Instance.
Amazon.EC2.Model.IpPermissionSpecification has been renamed IpPermission.
Amazon.EC2.Model.Volume.Status has been renamed State.
AuthorizeSecurityGroupIngressRequest removed root properties for ToPort and FromPort in favor
of always using IpPermissions.
This was done because the root properties were silently ignored when set for an instance running in a
VPC.
The AmazonEC2Exception class is now based on AmazonServiceException instead of
System.Exception.
Version v2.0.0
35
AWS SDK for .NET Developer Guide
What's Different