AWSDynamoDBPut Class Reference

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

Overview

Represents a request to perform a PutItem operation.

Required parameters: [Item, 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

  item

A map of attribute name to attribute values, representing the primary key of the item to be written by PutItem. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema. If any attributes are present in the item that are part of an index key schema for the table, their types must match the index key schema.

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

Declared In

AWSDynamoDBModel.h

  returnValuesOnConditionCheckFailure

Use ReturnValuesOnConditionCheckFailure to get the item attributes if the Put condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.

@property (nonatomic, assign) AWSDynamoDBReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure

Declared In

AWSDynamoDBModel.h

  tableName

Name of the table in which to write the item.

@property (nonatomic, strong) NSString *tableName

Declared In

AWSDynamoDBModel.h