AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Provides a collection of static functions to: 1. Convert various values into strings that may be compared lexicographically 2. Decode a Base64 Encoded string 3. Decode an Amazon SimpleDB Attribute's properties 4. Decode an Amazon SimpleDB Item's properties and constituent Item(s)

Inheritance Hierarchy

System.Object
  Amazon.SimpleDB.Util.AmazonSimpleDBUtil

Namespace: Amazon.SimpleDB.Util
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public static class AmazonSimpleDBUtil : Object

The AmazonSimpleDBUtil type exposes the following members

Properties

NameTypeDescription
Public Property Static Property FormattedCurrentTimestamp System.String Gets the Current Date as an ISO8601 formatted Timestamp

Methods

NameDescription
Public Method Static Method DecodeAttribute(Attribute) Decodes the base64 encoded properties of the Attribute. The Name and/or Value properties of an Attribute can be base64 encoded.
Public Method Static Method DecodeAttributes(List<Attribute>) Decodes the base64 properties of every SimpleDB Attribute specified in list of attributes specified as input.
Public Method Static Method DecodeBase64String(string) Returns the Base64 decoded version of the input string.
Public Method Static Method DecodeDate(string) Decodes date value from the string representation created using encodeDate(..) function.
Public Method Static Method DecodeItem(Item) Decodes the base64 encoded members of the Item if necessary. The Name property of an Item can be base64 encoded. This method also decodes any encoded properties of the Attributes associated with the Input Item.
Public Method Static Method DecodeItems(List<Item>) Decodes the base64 encoded members of the Item List.
Public Method Static Method DecodeRealNumberRangeFloat(string, int, int) Decodes float value from the string representation that was created by using encodeRealNumberRange(..) function.
Public Method Static Method DecodeRealNumberRangeInt(string, int) Decodes float value from the string representation that was created by using encodeRealNumberRange(..) function.
Public Method Static Method DecodeZeroPaddingFloat(string) Decodes zero-padded positive float value from the string representation
Public Method Static Method DecodeZeroPaddingInt(string) Decodes zero-padded positive integer value from the string representation
Public Method Static Method EncodeDate(DateTime) Encodes date value into string format that can be compared lexicographically
Public Method Static Method EncodeRealNumberRange(int, int, int) Encodes real integer value into a string by offsetting and zero-padding number up to the specified number of digits. Use this encoding method if the data range set includes both positive and negative values.
Public Method Static Method EncodeRealNumberRange(Single, int, int, int) Encodes real float value into a string by offsetting and zero-padding number up to the specified number of digits. Use this encoding method if the data range set includes both positive and negative values.
Public Method Static Method EncodeZeroPadding(int, int) Encodes positive integer value into a string by zero-padding it up to the specified number of digits.
Public Method Static Method EncodeZeroPadding(Single, int) Encodes positive single-precision floating point value into a string by zero-padding it to the specified number of digits.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5