Release: AWS SDK for .NET 1.4.9

Release Notes>.NET>Release: AWS SDK for .NET 1.4.9
This release adds support for AWS Storage Gateway, AWS Marketplace support for Amazon EC2, some minor fixes, and new Query overloads for the high-level Amazon DynamoDB client.


Submitted By: steve@aws
Created On: May 10, 2012 1:33 AM GMT
Last Updated: May 10, 2012 1:33 AM GMT


Download the latest AWS SDK for .NET

New Features

Change Description
AWS Storage Gateway

Support for AWS Storage Gateway has been added to the SDK allowing programmatic configuration of resources using an API. With this API, you can

  • automate your backup and disaster recovery processes.
  • write retention policy scripts to preserve backup snapshots of your data for a set time period.
  • optimize your gateway's bandwidth use during off-peak hours to free peak-hours bandwidth capacity for other applications.

For more information see the AWS Storage Gateway release notes.

AWS Marketplace additions for Amazon EC2

Support for the AWS Marketplace has been added to the Amazon EC2 SDK, updating the supported API version to 2012-04-01.

As part of this change, a number of properties concerned with product codes have been marked as obsolete and will be removed in a future version of the SDK. To work with product codes in these cases you should update to use the new Amazon.EC2.Model.ProductCode class; this class has entries that describe both product code and type (marketplace or devpay).

The following list shows the obsolete properties (in the Amazon.EC2.Model namespace) and their replacements:

  • Image.ProductCode[n] -- replace with Image.ProductCodes[n].ProductCodeId
  • ImageAttribute.ProductCode[n] -- replace with ImageAttribute.ProductCodes[n].ProductCodeId
  • RunningInstance.ProductCode[n] -- replace with RunningInstance.ProductCodes[n].ProductCodeId
  • This sample shows how you can filter a DescribeImages request to show only those images that are registered with a given type in the marketplace:

     var request = new DescribeImagesRequest().WithFilter(new Filter().WithName("product-code.type").WithValue("marketplace")); // "marketplace" or "devpay"
     var response = EC2Client.DescribeImages(request);
     string productCode = response.DescribeImagesResult.Image[0].ProductCodes[0].ProductCodeId

    For more details see the Amazon EC2 API documentation and AWS Marketplace

    Added Amazon DynamoDB Query() overloads

    New Query() overloads for querying with just a hash key have been added to the high-level Amazon.DynamoDB.DataModel.DynamoDBContext class. These new overloads extend support that was already in the low-level and Document-level APIs to the high-level interface. The two new overloads are:

     public IEnumerable Query(object hashKeyValue);
     public IEnumerable Query(object hashKeyValue, DynamoDBOperationConfig operationConfig);

    Both return all items that match the specified hash key value.

    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:

    Supported API Versions

    This release of the SDK supports the following 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 2012-04-01
    Amazon Elastic MapReduce 2009-03-31
    Amazon ElastiCache 2012-03-09
    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 2012-02-29
    AWS Security Token Service 2011-06-15
    AWS Storage Gateway 2012-03-12
    Elastic Load Balancing 2011-11-15
    ©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.