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.
Represents a request to perform a check that an item exists or to check the condition of specific attributes of the item.
Namespace: Amazon.DynamoDBv2.Model
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z
public class ConditionCheck
The ConditionCheck type exposes the following members
Name | Description | |
---|---|---|
![]() |
ConditionCheck() |
Name | Type | Description | |
---|---|---|---|
![]() |
ConditionExpression | System.String |
Gets and sets the property ConditionExpression. A condition that must be satisfied in order for a conditional update to succeed. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide. |
![]() |
ExpressionAttributeNames | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property ExpressionAttributeNames. One or more substitution tokens for attribute names in an expression. For more information, see Expression attribute names in the Amazon DynamoDB Developer Guide. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
ExpressionAttributeValues | System.Collections.Generic.Dictionary<System.String, Amazon.DynamoDBv2.Model.AttributeValue> |
Gets and sets the property ExpressionAttributeValues. One or more values that can be substituted in an expression. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
Key | System.Collections.Generic.Dictionary<System.String, Amazon.DynamoDBv2.Model.AttributeValue> |
Gets and sets the property Key. The primary key of the item to be checked. Each element consists of an attribute name and a value for that attribute. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
ReturnValuesOnConditionCheckFailure | Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure |
Gets and sets the property ReturnValuesOnConditionCheckFailure.
Use |
![]() |
TableName | System.String |
Gets and sets the property TableName. Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer