Delete
public struct Delete : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
A condition that must be satisfied in order for a conditional delete 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 deleted. 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 Delete condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.
Declaration
Swift
public let returnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailure? -
Name of the table in which the item to be deleted resides.
Declaration
Swift
public let tableName: String -
init(conditionExpression:expressionAttributeNames:expressionAttributeValues:key:returnValuesOnConditionCheckFailure:tableName:)Undocumented
Declaration
Swift
public init(conditionExpression: String? = nil, 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
Delete Structure Reference