Release: AWS SDK for .NET 1.4.4

Release Notes>.NET>Release: AWS SDK for .NET 1.4.4
This release adds Password Management support for AWS Identity and Access Management, updates the clients to have asynchronous support, provides a way to configure the number of HTTP connections for service calls and adds a new Amazon EC2 instance type constant for the m1.medium instance type.

Details

Submitted By: steve@aws
Latest Version: 1.4.4.0
Created On: March 9, 2012 10:10 PM GMT
Last Updated: March 9, 2012 10:10 PM GMT

Download

Download the latest AWS SDK for .NET

New Features

Change Description
Asynchronous Support

This release adds asynchronous suppport to the Amazon DynamoDB, Auto Scaling, AWS CloudFormation, Amazon CloudWatch, Amazon ElastiCache, AWS Elastic Beanstalk, Elastic Load Balancing, Amazon Elastic MapReduce, AWS Identity and Access Management, AWS Import/Export, Amazon Relational Database Service, AWS Route 53, AWS Security Token Service, Amazon Simple Email Service and Amazon Simple Workflow Service .NET clients.

Here is a sample of making asynchronous calls, in this example to Amazon DynamoDB:

IAsyncResult asyncResult = client.BeginGetItem(new GetItemRequest
{
    TableName = "Books",
    Key = new Key { HashKeyElement = new AttributeValue { S = "Sample Book" } }
}, null, null);

// do work

var item = client.EndGetItem(asyncResult).GetItemResult.Item;

Password Management Support for AWS Identity and Access Management

With the AWS Identity and Access Management client you can now define IAM user password policies, control required password length and complexity, and programmatically change IAM user passwords.

Here is a sample showing the basic operations with password policies:

// set restrictive policy
client.UpdateAccountPasswordPolicy(new UpdateAccountPasswordPolicyRequest
{
    RequireNumbers = true,
    RequireSymbols = true,
    MinimumPasswordLength = 12,
    RequireLowercaseCharacters = true,
    RequireUppercaseCharacters = true
});

// retrieve policy
var policy = client.GetAccountPasswordPolicy().GetAccountPasswordPolicyResult.PasswordPolicy;

// delete policy
client.DeleteAccountPasswordPolicy();

For further information see the AWS Identity and Access Management release notes.

Configuring number of HTTP connections

This release adds a way to configure the number of HTTP connections that are used by the .NET clients.

The below code shows how to set the connection limit to a different value, for a specific client and globally:

// sets a limit that applies only to this client
AmazonDynamoDBConfig config = new AmazonDynamoDBConfig
{
    ConnectionLimit = 10
};
AmazonDynamoDBClient client = new AmazonDynamoDBClient(config);

// sets a limit applies to all clients, EXCEPT the client we created earlier
ServicePointManager.DefaultConnectionLimit = 25;

Note that if a configuration object isn't specified for a client and if ServicePointManager.DefaultConnectionLimit isn't updated, the SDK will default to a limit of 50 connections.

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\\AWS SDK for .NET", and the install will complete successfully. If you are running on Vista, your personal folder is similar to "c:\users\\".
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-12-15
Amazon Elastic MapReduce 2009-03-31
Amazon ElastiCache 2011-07-15
Amazon Relational Database Service 2012-01-15
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 Simple Workflow Service 2012-01-25
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.