Incrementing Number Property in AWS DynamoDB Objective C

对着背影说爱祢 提交于 2019-12-01 11:30:33

There are a couple of things. key is defined as follows:

@property (nonatomic, strong) NSDictionary<NSString *, AWSDynamoDBAttributeValue *> * _Nullable key;

You need to replace @"KeyValue" with an instance of AWSDynamoDBAttributeValue.

expressionAttributeValues is defined as follows:

@property (nonatomic, strong) NSDictionary<NSString *, AWSDynamoDBAttributeValue *> * _Nullable expressionAttributeValues;

You need to replace @1 with an instance of AWSDynamoDBAttributeValue.

Make sure to use the latest version of the AWS SDK for iOS so that you can see the generics annotations in the header file. It helps you construct the proper request object.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!