I am following object persistence model. I need some help in defining the AttributeValue for property types KeyValuePair<string,string>, List<KeyValuePair<string,string>>, List<ClassType>, Dictionary<string, ClassType>, struct types for PutItemRequest.
AttributeValue中用于定义这些属性的类型。
我已经阅读了官方文档,其中显示了字符串,映射列表的有限类型。但是没有其他有关C#中通用类型的详细信息
class EmpDetails {
string EmpId{get;set}
List<KeyValuePair<string,string>> imagesPath{get;set;}
}
应类似于以下内容存储
"EmpDetails":{"EmpId":1,[{"Certificate1":"c:\\test.jpg"},{"Certificate2":"d:\\path.jpg"}]}