AWS SDK Version 3 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.

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.SimpleDB.dll
Version: 3.x.y.z

Syntax

C#
public static class AmazonSimpleDBUtil

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

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

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 Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms