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
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
880
879
expect updateSignedItemResult.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
881
880
var hasDynamoDbEncryptionTransformsException? := String.HasSubString(updateSignedItemResult.error.objMessage, "Update Expressions forbidden on signed attributes");
expect deleteResult.Failure?, "DeleteItem should have failed.";
913
+
// This error is of type DynamoDbEncryptionTransformsException
914
+
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
915
+
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
916
+
expect deleteResult.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
917
+
var hasDynamoDbEncryptionTransformsException? := String.HasSubString(deleteResult.error.objMessage, "Condition Expressions forbidden on encrypted attributes");
918
+
expect hasDynamoDbEncryptionTransformsException?.Some?, "Error might is not be of type DynamoDbEncryptionTransformsException";
0 commit comments