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

Adds a Amazon.DynamoDBv2.DocumentModel.Table to this context's internal cache, which will avoid the need to fetch table metadata automatically from DynamoDB. This may be used in conjunction with an Amazon.DynamoDBv2.DocumentModel.ITableBuilder.

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

Syntax

C#
public abstract void RegisterTableDefinition(
         Table table
)

Parameters

table
Type: Amazon.DynamoDBv2.DocumentModel.Table

Table to add to the internal cache

Remarks

Using this method can avoid latency and thread starvation due to blocking asynchronous IAmazonDynamoDB.DescribeTable(string) calls that are used to populate the SDK's cache of table metadata. It requires that the table's index schema described accurately, otherwise exceptions may be thrown and/or the results of certain DynamoDB operations may change.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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