Release: AWS SDK for .NET 1.4.1

Release Notes>.NET>Release: AWS SDK for .NET 1.4.1
This release add a new client for Amazon Route 53. The release also adds support for Object Expiration in Amazon S3 and Tagging in Auto Scaling.

Details

Submitted By: Norm@AWS
Release Date: February 2, 2012 9:44 PM GMT
Created On: February 2, 2012 9:44 PM GMT
Last Updated: February 2, 2012 9:44 PM GMT

Download

Download the latest AWS SDK for .NET

New Features

Change Description
Amazon Route 53

The AWS SDK for .NET now supports Amazon Route 53. With the Amazon Route 53 .NET client in the SDK, you can easily access your Amazon Route 53 resources and manage your Amazon Route 53 hosted zones.

Using the Amazon Route 53 .NET client is easy. Here's a short example showing how to create a Amazon Route 53 hosted zone:

AmazonRoute53 client;
client = new AmazonRoute53Client(); // Constructs AmazonRoute53Client with the credentials defined in the App.config.
client.CreateHostedZone(new CreateHostedZoneRequest()
{
    Name = "myDomainName.com",
    CallerReference = callerReference,
    HostedZoneConfig = new HostedZoneConfig()
    {
        Comment = "my first Route 53 hosted zone!"
    
    }
});
	

Amazon S3 Object Expiration

Amazon S3's Object Expiration function allows you to define rules to schedule the removal of your objects after a pre-defined time period. The rules are specified in the Lifecycle Configuration policy that you apply to a bucket.

Here's a sample for setting up a lifecyle rule to remove logs after 7 days.
s3Client.PutLifecycleConfiguration(new PutLifecycleConfigurationRequest
{
    BucketName = bucketName,
    Configuration = new LifecycleConfiguration
    {
        Rules = new List
        {
            new LifecycleRule
            {
                Prefix = "logs/",
                Expiration = new LifecycleRuleExpiration
                {
                    Days = 7
                }
            }
        }
    }
});					
					
Auto Scaling Tagging Support

The AWS SDK for .NET was updated to support Auto Scaling tags. You can use Auto Scaling group tags to organize your Auto Scaling resources and provide additional information for your Auto Scaling group such as software version, role, or location information.

Here's a sample for creating a tag on a Auto Scaling group called "production-auto-scaling-group".
Tag tag = new Tag()
{
    Key = "software-version",
    Value = "1.1"
    ResourceId = "production-auto-scaling-group"
    PropagateAtLaunch = true,
    ResourceType = "auto-scaling-group"
};

autoScalingClient.CreateOrUpdateTags(new CreateOrUpdateTagsRequest().WithTags(tag));
				
Amazon DynamoDB Session Credentials Caching Session Credentials are now cached and reused between AmazonDynamoDBClient instances. This reduces the frequency of calls to AWS Security Token Service giving applications a performance boost.

Resolved Issues

Issue Description
Fixed AmazonDynamoDBClient table operations Fixed an issue with Amazon DynamoDB getting an ArgumentOutOfRangeException when calling table methods when local culture is not en-US.
Fixed DynamoDBContext.Query Fixed an issue with Amazon DynamoDB getting an exception when calling Query with a numeric hash-key.
Fixed AmazonS3.GetPreSignedURL Fixed an issue with Amazon S3 getting an exception when calling GetPreSignedURL with ResponseHeaderOverrides that contain a '+' character.

Known Issues

Issue Description
Installation Requires Administrator Privileges The default install location is %PROGRAMFILES%, which on most computers is "c:\program files". In order to install files to the default location, the MSI must be run by an Administrator. If you don't have Administrator privileges on the machine, please change the install location to something like "c:\Documents and Settings\<you>\AWS SDK for .NET", and the install will complete successfully. If you are running on Vista, your personal folder is similar to "c:\users\<you>\".
Uninstalling the SDK Produces "Unknown Publisher" Message On Windows Vista, uninstalling the MSI results in an "Unknown Publisher" dialog even though the installer is signed by Amazon Web Services. This is a known Windows Installer bug on Windows Vista, and is documented here: http://support.microsoft.com/kb/929467/en-us

Supported API Versions

This release of the SDK supports the following API versions:

Service API Version
Amazon CloudFront 2010-11-01
Amazon CloudWatch 2010-08-01
Amazon DynamoDB 2011-12-05
Amazon Elastic Compute Cloud 2011-11-01
Amazon Elastic MapReduce 2009-03-31
Amazon ElastiCache 2011-07-15
Amazon Relational Database Service 2011-04-01
Amazon Simple Email Service 2010-12-01
Amazon Simple Notification Service 2010-03-31
Amazon Simple Queue Service 2011-10-01
Amazon Simple Storage Service 2006-03-01
Amazon SimpleDB 2009-04-15
Auto Scaling 2011-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 Route 53 2011-05-05
AWS Security Token Service 2011-06-15
Elastic Load Balancing 2011-11-15
©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.