in src/main/java/com/amazonaws/services/dynamodbv2/transactions/Request.java [222:242]
protected void doValidate(String txId, TransactionManager txManager) {
validateAttributes(this, request.getKey(), txId, txManager);
if(request.getReturnConsumedCapacity() != null) {
throw new InvalidRequestException("ReturnConsumedCapacity is not currently supported", txId, getTableName(), null, this);
}
if(request.getReturnItemCollectionMetrics() != null) {
throw new InvalidRequestException("ReturnItemCollectionMetrics is not currently supported", txId, getTableName(), null, this);
}
if(request.getExpected() != null) {
throw new InvalidRequestException("Requests with conditions are not currently supported", txId, getTableName(), getKey(txManager), this);
}
if(request.getConditionExpression() != null) {
throw new InvalidRequestException("Requests with conditions are not currently supported", txId, getTableName(), getKey(txManager), this);
}
if(request.getExpressionAttributeNames() != null) {
throw new InvalidRequestException("Requests with expressions are not currently supported", txId, getTableName(), getKey(txManager), this);
}
if(request.getExpressionAttributeValues() != null) {
throw new InvalidRequestException("Requests with expressions are not currently supported", txId, getTableName(), getKey(txManager), this);
}
}