in src/main/java/com/amazonaws/services/dynamodbv2/transactions/Request.java [280:303]
protected void doValidate(String txId, TransactionManager txManager) {
if(request == null || request.getItem() == null) {
throw new InvalidRequestException("PutItem must contain an Item", txId, getTableName(), null, this);
}
validateAttributes(this, request.getItem(), 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);
}
}