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.

The capacity units consumed by an operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the request asked for it. For more information, see Provisioned capacity mode in the Amazon DynamoDB Developer Guide.

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.Model.ConsumedCapacity

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

Syntax

C#
public class ConsumedCapacity

The ConsumedCapacity type exposes the following members

Constructors

NameDescription
Public Method ConsumedCapacity()

Properties

NameTypeDescription
Public Property CapacityUnits System.Nullable<System.Double>

Gets and sets the property CapacityUnits.

The total number of capacity units consumed by the operation.

Public Property GlobalSecondaryIndexes System.Collections.Generic.Dictionary<System.String, Amazon.DynamoDBv2.Model.Capacity>

Gets and sets the property GlobalSecondaryIndexes.

The amount of throughput consumed on each global index affected by the operation.

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 LocalSecondaryIndexes System.Collections.Generic.Dictionary<System.String, Amazon.DynamoDBv2.Model.Capacity>

Gets and sets the property LocalSecondaryIndexes.

The amount of throughput consumed on each local index affected by the operation.

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 ReadCapacityUnits System.Nullable<System.Double>

Gets and sets the property ReadCapacityUnits.

The total number of read capacity units consumed by the operation.

Public Property Table Amazon.DynamoDBv2.Model.Capacity

Gets and sets the property Table.

The amount of throughput consumed on the table affected by the operation.

Public Property TableName System.String

Gets and sets the property TableName.

The name of the table that was affected by the operation. If you had specified the Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.

Public Property WriteCapacityUnits System.Nullable<System.Double>

Gets and sets the property WriteCapacityUnits.

The total number of write capacity units consumed by the operation.

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