AWSDynamoDBRemove

@interface AWSDynamoDBRemove

Represents a request to perform a DeleteItem operation.

Required parameters: [Key, TableName]

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

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable conditionExpression;

    Swift

    var conditionExpression: String? { get set }
  • One or more substitution tokens for attribute names in an expression.

    Declaration

    Objective-C

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

    Swift

    var expressionAttributeNames: [String : String]? { get set }
  • One or more values that can be substituted in an expression.

    Declaration

    Objective-C

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

    Swift

    var expressionAttributeValues: [String : AWSDynamoDBAttributeValue]? { get set }
  • key

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

    Declaration

    Objective-C

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

    Swift

    var key: [String : AWSDynamoDBAttributeValue]? { get set }
  • Use ReturnValuesOnConditionCheckFailure to get the item attributes if the Delete condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        AWSDynamoDBReturnValuesOnConditionCheckFailure
            returnValuesOnConditionCheckFailure;

    Swift

    var returnValuesOnConditionCheckFailure: AWSDynamoDBReturnValuesOnConditionCheckFailure { get set }
  • Name of the table in which the item to be deleted resides.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable tableName;

    Swift

    var tableName: String? { get set }