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

An error associated with a statement in a PartiQL batch that was run.

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.Model.BatchStatementError

Namespace: Amazon.DynamoDBv2.Model
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z

Syntax

C#
public class BatchStatementError

The BatchStatementError type exposes the following members

Constructors

NameDescription
Public Method BatchStatementError()

Properties

NameTypeDescription
Public Property Code Amazon.DynamoDBv2.BatchStatementErrorCodeEnum

Gets and sets the property Code.

The error code associated with the failed PartiQL batch statement.

Public Property Item System.Collections.Generic.Dictionary<System.String, Amazon.DynamoDBv2.Model.AttributeValue>

Gets and sets the property Item.

The item which caused the condition check to fail. This will be set if ReturnValuesOnConditionCheckFailure is specified as ALL_OLD.

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.

Public Property Message System.String

Gets and sets the property Message.

The error message associated with the PartiQL batch response.

Version Information

.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