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 4.5
 
Expected state of an item in DynamoDB.

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.DocumentModel.ExpectedState

Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class ExpectedState : Object

The ExpectedState type exposes the following members

Constructors

NameDescription
Public Method ExpectedState() Constructs an empty ExpectedState with ConditionalOeprator set to AND.

Properties

NameTypeDescription
Public Property ConditionalOperator Amazon.DynamoDBv2.DocumentModel.ConditionalOperatorValues Operator dictating whether ALL or SOME of the expected values must be true to satisfy the overall expected state.
Public Property ExpectedValues System.Collections.Generic.Dictionary<System.String, Amazon.DynamoDBv2.DocumentModel.ExpectedValue> Attribute name to ExpectedValue mapping. Represents the expected state of a number of attributes of a DynamoDB item.

Methods

NameDescription
Public Method AddExpected(string, bool) Adds an ExpectedValue with the specific Exists value for the attribute.
Public Method AddExpected(string, ScanOperator, Primitive[]) Adds an ExpectedValue with the specific Comparison and Values for the attribute.
Public Method ToExpectedAttributeMap() Creates a map of attribute names mapped to ExpectedAttributeValue objects. This call will use the conversion specified by AWSConfigs.DynamoDBConfig.ConversionSchema
Public Method ToExpectedAttributeMap(DynamoDBEntryConversion) Creates a map of attribute names mapped to ExpectedAttributeValue objects.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8