Download
Download the latest AWS SDK for .NET
New Features
| Change | Description |
|---|---|
| Amazon EC2 VPC Internet Access |
The latest Amazon EC2 client allows you to configure Virtual Private Cloud (VPC) subnets to connect directly to the Internet, without requiring the traffic to be routed back through your company's network. |
Parse JSON document for access policies into Policy objects. |
The method This sample adds access to CloudFront for an IAM user.
var getResponse = iamClient.GetUserPolicy(new GetUserPolicyRequest()
.WithUserName(username)
.WithPolicyName(policyName));
Policy policy = Policy.FromJson(getResponse.GetUserPolicyResult.PolicyDocument);
// Add new statement allowing CloudFront access
var statement = new Statement(Statement.StatementEffect.Allow);
statement.Actions.Add(CloudFrontActionIdentifers.AllCloudFrontActions);
policy.Statements.Add(statement);
iamClient.PutUserPolicy(
new PutUserPolicyRequest()
.WithUserName(username)
.WithPolicyName(policyName)
.WithPolicyDocument(policy.ToString()));
|
Add ContentType property for pre-signed PUT URLs |
Added property This sample creates a pre-signed URL for uploading an image.
string s3url = s3Client.GetPreSignedURL(new GetPreSignedUrlRequest()
.WithBucketName(bucketName)
.WithKey(keyName)
.WithContentType("image/jpeg")
.WithVerb(HttpVerb.PUT)
.WithExpires(DateTime.Now.AddMinutes(10)));
|
| Policy action for Amazon CloudFront and AWS CloudFormation. | The new constant classes Amazon.Auth.AccessControlPolicy.CloudFrontActionIdentifers and
Amazon.Auth.AccessControlPolicy.CloudFormationActionIdentifers were added for the actions used when creating
an access policy.
|
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 |
Migrating to the AWS SDK for .NET 1.3.3
There were a number of changes made in previous releases that may impact applications using Amazon CloudWatch, Auto Scaling, Amazon RDS, Elastic Load Balancing, or Amazon Elastic MapReduce:
The 1.2.0 release contained the following changes to Amazon CloudWatch and Amazon Auto Scaling:
| Title | Description |
|---|---|
| ResponseMeta | The classes Amazon.CloudWatch.Model.ResponseMeta and Amazon.AutoScaling.Model.ResponseMeta were moved to the common location Amazon.Runtime.ResponseMeta. |
Removed ToXML methods |
The ToXML methods were removed so the responses can be streamed from the services for improved performance. |
| Amazon CloudWatch Data Type Changes |
|
| Auto Scaling Data Type Changes |
|
The 1.1.0 release contained the following changes to Amazon RDS, Elastic Load Balancing and Amazon Elastic MapReduce
| Title | Description |
|---|---|
| ResponseMeta | The classes Amazon.ElasticLoadBalancing.Model.ResponseMeta, Amazon.ElasticMapReduce.Model.ResponseMeta and Amazon.RDS.Model.ResponseMeta were moved to the common location Amazon.Runtime.ResponseMeta. |
Removed ToXML methods |
The ToXML methods were removed so the responses can be streamed from the services for improved performance. |
| Amazon RDS Data Type Changes |
|
| Amazon RDS Property Name Changes | The following property names were pluralized.
|
| Elastic Load Balancing Data Type Changes |
|
| Amazon Elastic MapReduce Data Type Changes |
|
Supported API Versions
This release of the SDK supports the following API versions:
| Service | API Version |
|---|---|
| Amazon CloudFront | 2010-08-01 |
| Amazon CloudWatch | 2010-08-01 |
| Amazon Elastic Compute Cloud (EC2) | 2011-11-01 |
| Amazon Elastic MapReduce | 2009-03-31 |
| Amazon Relational Database Service (RDS) | 2010-07-28 |
| Amazon Simple Email Service | 2010-12-01 |
| Amazon Simple Notification Service (SNS) | 2010-03-31 |
| Amazon Simple Queue Service (SQS) | 2009-02-01 |
| Amazon Simple Storage Service (S3) | 2006-03-01 |
| Amazon SimpleDB | 2009-04-15 |
| Auto Scaling | 2009-05-15 |
| AWS Cloud Formation | 2010-05-15 |
| AWS Elastic Beanstalk | 2010-12-01 |
| AWS Identity and Access Management | 2010-05-08 |
| AWS Import/Export | 2010-06-01 |
| Elastic Load Balancing | 2010-07-01 |