ConditionCheck
public struct ConditionCheck : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
A condition that must be satisfied in order for a conditional update to succeed.
Declaration
Swift
public let conditionExpression: String -
One or more substitution tokens for attribute names in an expression.
Declaration
Swift
public let expressionAttributeNames: [String : String]? -
One or more values that can be substituted in an expression.
Declaration
Swift
public let expressionAttributeValues: [String : AttributeValue]? -
The primary key of the item to be checked. Each element consists of an attribute name and a value for that attribute.
Declaration
Swift
public let key: [String : AttributeValue] -
Use ReturnValuesOnConditionCheckFailure to get the item attributes if the ConditionCheck condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.
Declaration
Swift
public let returnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailure? -
Name of the table for the check item request.
Declaration
Swift
public let tableName: String -
init(conditionExpression:expressionAttributeNames:expressionAttributeValues:key:returnValuesOnConditionCheckFailure:tableName:)Undocumented
Declaration
Swift
public init(conditionExpression: String, expressionAttributeNames: [String : String]? = nil, expressionAttributeValues: [String : AttributeValue]? = nil, key: [String : AttributeValue], returnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailure? = nil, tableName: String) -
Declaration
Swift
public func validate(name: String) throws
View on GitHub
ConditionCheck Structure Reference