You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
866
866
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
867
867
expect resultForInsertStatement.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
868
-
var hasDynamoDbEncryptionTransformsExceptionForInsertStatement? := String.HasSubString(resultForInsertStatement.error.objMessage, "DynamoDbEncryptionTransformsException");
868
+
var hasDynamoDbEncryptionTransformsExceptionForInsertStatement? := String.HasSubString(resultForInsertStatement.error.objMessage, "ExecuteStatement not Supported on encrypted tables.");
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
886
886
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
887
887
expect resultForSelectStatement.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
888
-
var hasDynamoDbEncryptionTransformsExceptionForSelectStatement? := String.HasSubString(resultForSelectStatement.error.objMessage, "DynamoDbEncryptionTransformsException");
888
+
var hasDynamoDbEncryptionTransformsExceptionForSelectStatement? := String.HasSubString(resultForSelectStatement.error.objMessage, "ExecuteStatement not Supported on encrypted tables.");
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
919
919
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
920
920
expect resultForWriteTransaction.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
921
-
var hasDynamoDbEncryptionTransformsExceptionForWriteTransaction? := String.HasSubString(resultForWriteTransaction.error.objMessage, "DynamoDbEncryptionTransformsException");
921
+
var hasDynamoDbEncryptionTransformsExceptionForWriteTransaction? := String.HasSubString(resultForWriteTransaction.error.objMessage, "ExecuteStatement not Supported on encrypted tables.");
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
929
929
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
930
930
expect resultForReadTransaction.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
931
-
var hasDynamoDbEncryptionTransformsExceptionForReadTransaction? := String.HasSubString(resultForReadTransaction.error.objMessage, "DynamoDbEncryptionTransformsException");
931
+
var hasDynamoDbEncryptionTransformsExceptionForReadTransaction? := String.HasSubString(resultForReadTransaction.error.objMessage, "ExecuteStatement not Supported on encrypted tables.");
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
969
969
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
970
970
expect resultForBatchInsert.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
971
-
var hasDynamoDbEncryptionTransformsExceptionForBatchInsert? := String.HasSubString(resultForBatchInsert.error.objMessage, "DynamoDbEncryptionTransformsException");
971
+
var hasDynamoDbEncryptionTransformsExceptionForBatchInsert? := String.HasSubString(resultForBatchInsert.error.objMessage, "ExecuteStatement not Supported on encrypted tables.");
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
984
984
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
985
985
expect resultForBatchSelect.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
986
-
var hasDynamoDbEncryptionTransformsExceptionForBatchSelect? := String.HasSubString(resultForBatchSelect.error.objMessage, "DynamoDbEncryptionTransformsException");
986
+
var hasDynamoDbEncryptionTransformsExceptionForBatchSelect? := String.HasSubString(resultForBatchSelect.error.objMessage, "ExecuteStatement not Supported on encrypted tables.");
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
999
999
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
1000
1000
expect resultForMixedBatch.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
1001
-
var hasDynamoDbEncryptionTransformsExceptionForMixedBatch? := String.HasSubString(resultForMixedBatch.error.objMessage, "DynamoDbEncryptionTransformsException");
1001
+
var hasDynamoDbEncryptionTransformsExceptionForMixedBatch? := String.HasSubString(resultForMixedBatch.error.objMessage, "ExecuteStatement not Supported on encrypted tables.");
0 commit comments