AWSDynamoDBUpdate Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSDynamoDBModel.h
AWSDynamoDBModel.m

Overview

Represents a request to perform an UpdateItem operation.

Required parameters: [Key, UpdateExpression, TableName]

  conditionExpression

A condition that must be satisfied in order for a conditional update to succeed.

@property (nonatomic, strong) NSString *conditionExpression

Declared In

AWSDynamoDBModel.h

  expressionAttributeNames

One or more substitution tokens for attribute names in an expression.

@property (nonatomic, strong) NSDictionary<NSString*NSString*> *expressionAttributeNames

Declared In

AWSDynamoDBModel.h

  expressionAttributeValues

One or more values that can be substituted in an expression.

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

Declared In

AWSDynamoDBModel.h

  key

The primary key of the item to be updated. Each element consists of an attribute name and a value for that attribute.

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

Declared In

AWSDynamoDBModel.h

  returnValuesOnConditionCheckFailure

Use ReturnValuesOnConditionCheckFailure to get the item attributes if the Update condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW.

@property (nonatomic, assign) AWSDynamoDBReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure

Declared In

AWSDynamoDBModel.h

  tableName

Name of the table for the UpdateItem request.

@property (nonatomic, strong) NSString *tableName

Declared In

AWSDynamoDBModel.h

  updateExpression

An expression that defines one or more attributes to be updated, the action to be performed on them, and new value(s) for them.

@property (nonatomic, strong) NSString *updateExpression

Declared In

AWSDynamoDBModel.h