Represents an attribute value used with conditional DeleteItem , PutItem or UpdateItem operations. DynamoDB will check to see if the attribute value already exists; or if the attribute exists and has a particular value before updating it.

C# |
public class ExpectedAttributeValue

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description | ||
---|---|---|---|---|
![]() | ExpectedAttributeValue()()()() | Initializes a new instance of the ExpectedAttributeValue class | ||
![]() | AttributeValueList | AttributeValueList - One or more values to evaluate against the supplied attribute. The number of values in the list depends on the
ComparisonOperator being used. For type Number, value comparisons are numeric. String value comparisons for greater than, equals, or
less than are based on ASCII character code values. For example, a is greater than A, and aa is greater than B.
For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters. For
Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values, for example when evaluating query
expressions. For information on specifying data types in JSON, see JSON Data Format in the Amazon DynamoDB Developer
Guide.
| ||
![]() | ComparisonOperator |
A comparator for evaluating attributes in the AttributeValueList. For example, equals, greater than, less than, etc. The following
comparison operators are available: EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN |
BETWEEN
Constraints: | ||
![]() | Equals(Object) | (Inherited from Object.) | ||
![]() | Exists |
Causes DynamoDB to evaluate the value before attempting a conditional operation:
| ||
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | ||
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | ||
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | ||
![]() | Value |
Represents the data for an attribute. You can set one, and only one, of the elements.
| ||
![]() | WithAttributeValueList(array<AttributeValue>[]()[][]) | Obsolete.
Adds elements to the AttributeValueList collection
| ||
![]() | WithAttributeValueList(IEnumerable<(Of <<'(AttributeValue>)>>)) | Obsolete.
Adds elements to the AttributeValueList collection
| ||
![]() | WithComparisonOperator(String) | Obsolete.
Sets the ComparisonOperator property
| ||
![]() | WithExists(Boolean) | Obsolete.
Sets the Exists property
| ||
![]() | WithValue(AttributeValue) | Obsolete.
Sets the Value property
|

Object | |
![]() | ExpectedAttributeValue |