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.
Namespace: Amazon.DynamoDBv2
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z
public enum MetadataCachingMode
The MetadataCachingMode type exposes the following members
Name | Description | |
---|---|---|
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. |
|
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). |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5