Release: AWS SDK for .NET 1.0.14

Release Notes>.NET>Release: AWS SDK for .NET 1.0.14
Added support for the new Amazon EC2 tagging and filtering API updates, along with support for CloudFront object invalidation.

Details

Submitted By: Craig@AWS
Release Date: September 20, 2010 12:00 AM GMT
Created On: September 20, 2010 11:21 PM GMT
Last Updated: October 5, 2010 8:49 PM GMT

What's New?

ChangeDescription
Amazon EC2 Filtering In order to make client applications simpler and more efficient, developers can now specify filters when calling the Amazon EC2 "Describe" functions.

    DescribeImagesResult result = 
        ec2.DescribeImages(new DescribeImagesRequest()
            .WithFilter(new Filter()
                .WithName("architecture")
                .WithValue("x86_64"))
            .WithFilter(new Filter()
                .WithName("description")
                .WithValue("*mondo*))).DescribeImagesResult;
     
Amazon EC2 Resource Tagging Developers can now tag Amazon EC2 resources using up to ten key-value pairs per resource. Each tag consists of a key (up to 128 characters) and a value (up to 256 characters). The tags are stored on AWS as part of an AWS account, and are private to the account.

     ec2.CreateTags(new CreateTagsRequest()
        .WithResourceId(resourceId)
        .WithTag(new Tag()
            .WithKey("my-host-class")
            .WithValue("qa-test"))
        .WithTag(new Tag()
            .WithKey("contact")
            .WithValue("dkarabotsos")));
     
Amazon EC2 Idempotent Instance Creation Developers can now supply an additional client token parameter to RunInstances. Repeatedly calling RunInstances with the same token and arguments will return the same result, except for the state of the instance (e.g., pending).
Amazon EC2 Bring Your Own Key Pair Developers can now import their own RSA key pairs for use with Amazon EC2 instances.

  string publicKey = loadMyPublicKey(keyPath);
  string keyMaterial = Convert.ToBase64String(Encoding.UTF8.GetBytes(publicKey));
  
  ImportKeyPairResult result = 
      ec2.ImportKeyPair(new ImportKeyPairRequest()
          .WithKeyName("qa-env-key")
          .WithPublicKeyMaterial(keyMaterial)).ImportKeyPairResult;
  
CloudFront Object Invalidation Developers can now use POST to list of one or more objects to be removed from all edge locations.

  PostInvalidationResponse response =
      cf.PostInvalidation(new PostInvalidationRequest()
          .WithDistributionId(distributionId)
          .WithInvalidationBatch(new InvalidationBatch()
              .WithPaths("/images/logo1.png", "/resources/main.css")
              .CallerReference(Guid.NewGuid().ToString())));
  

Supported API Versions

This release of the AWS SDK for .NET supports the following API versions:

Service API Version
Amazon EC2 2010-08-31
Amazon S3 2006-03-01
Amazon SimpleDB 2009-04-15
Amazon RDS 2010-01-01
Amazon CloudFront 2010-08-01
Amazon SQS 2009-02-01
Amazon Elastic MapReduce 2009-03-31
Amazon CloudWatch 2009-05-15
Amazon Elastic LoadBalancing 2009-11-25
Amazon Auto Scaling 2009-05-15
Amazon Simple Notification Service 2010-03-31
Amazon Identity and Access Management 2010-05-08

Known Issues

Issue Description
Building AWS SDK for .NET Projects Under .NET 4.0 Causes Compiler Warnings Due to a dependency added in version 10.0.12, compiling projects which include the AWS SDK for .NET under .NET 4.0 will cause numerous compiler warnings. As a workaround, developers can:
  1. Click the Newtonsoft.Json.Net20 reference.
  2. Right-click and select Properties.
  3. Change the Aliases field from global to another value (e.g., dotnet20).
  4. Rebuild.
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

Download the AWS SDK for .NET from http://aws.amazon.com/sdkfornet/.

©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.