User guide
As a result, many of the exception properties have changed; the XML property is no longer provided,
for example.
Amazon Redshift
• The ClusterVersion.Name property has been renamed ClusterVersion.Version.
Amazon S3
• AmazonS3Config.CommunicationProtocol was removed to be consistent with other services
where ServiceURL contains the protocol.
• The PutACLRequest.ACL property has been renamed AccessControlList to make it consistent with
GetACLResponse.
• GetNotificationConfigurationRequest/Response and
SetNotificationConfigurationRequest/Response have been renamed
GetBucketNotificationRequest/Response and PutBucketNotificationRequest/Response, respectively.
• EnableBucketLoggingRequest/Response and DisableBucketLoggingRequest/Response were
consolidated into PutBucketLoggingRequest/Response.
• The GenerateMD5 property has been removed from PutObjectRequest and UploadPartRequest
because this is now automatically computed as the object is being written to Amazon S3 and compared
against the MD5 returned in the response from Amazon S3.
• The PutBucketTagging.TagSets collection is now PutBucketTagging.TagSet, and now takes a list
of Tag objects.
• The AmazonS3Util utility methods DoesS3BucketExist, SetObjectStorageClass,
SetServerSideEncryption, SetWebsiteRedirectLocation, and DeleteS3BucketWithObjects were changed
to take IAmazonS3 as the first parameter to be consistent with other high-level APIs in the SDK.
• Only responses that return a Stream like GetObjectResponse are IDisposable. In version 1, all
responses were IDisposable.
• The BucketName property has been removed from Amazon.S3.Model.S3Object.
Amazon Simple Workflow Service
• The DomainInfos.Name property has been renamed DomainInfos.Infos.
Configuring the AWS Region
Regions can be set in the App.config or Web.config files (depending on your project type).The
recommended approach is to use the aws element, although using the appSettings element is still
supported.
For example, the following specification configures all clients that don't explicitly set the region to point
to us-east-1 through use of the aws element.
<configuration>
<configSections>
<section name="aws" type="Amazon.AWSSection, AWSSDK"/>
</configSections>
<aws profileName="profile_name" region="us-west-2"/>
</configuration>
Alternatively, you can use the appSettings element.
Version v2.0.0
36
AWS SDK for .NET Developer Guide
What's Different