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.

The higher-level programming models found in the DocumentModel and DataModel namespaces rely on an internal cache of the DynamoDB table's metadata to construct and validate requests. This controls how the cache key is derived, which influences when the SDK will call IAmazonDynamoDB.DescribeTable(string) internally to populate the cache.

Inheritance Hierarchy

System.Object
  System.ValueType
    System.Enum
      Amazon.DynamoDBv2.MetadataCachingMode

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

Syntax

C#
public enum MetadataCachingMode

The MetadataCachingMode type exposes the following members

Members

NameDescription
Enum Default

The cache key will be a combination of the table name, credentials, region and service URL. This ensures applications using tables with the same name but different definitions have their own metadata cached in the application. This will require additional IAmazonDynamoDB.DescribeTable(string) API calls as credentials are refreshed.

Enum TableNameOnly

The cache key will only consist of the table name. This reduces cache misses in contexts where you are accessing tables with identical structure but using different credentials or endpoints (such as a multi-tenant application).

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