2017-03-26 11 views

答えて

0

ProjectionExpressionを使用して、DynamoDBが検索する属性を指定できます。ここで

.NET example, from the docsです:

// using Amazon.DynamoDBv2; 
// using Amazon.DynamoDBv2.Model; 

var client = new AmazonDynamoDBClient(); 
var request = new GetItemRequest 
{ 
    TableName = "YourTableName", 
    ProjectionExpression = "Id, Attribute1, Attribute2", 
    Key = new Dictionary<string, AttributeValue> 
    { 
    { "Id", new AttributeValue { N = "some_value_for_id" } } 
    }, 
}; 
var response = client.GetItem(request); 
関連する問題