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
I have verified all of my SDK modules are up-to-date (you can perform a bulk update with go get -u github.com/aws/aws-sdk-go-v2/...)
Describe the bug
When trying to update a "finalized" DataExchange Revision to "de-finalized" the request succeeds but has no change on the revision. We can finalize the revision by setting the Finalized parameter to true but are unable to de-finalize by setting it to false
Regression Issue
Select this option if this issue appears to be a regression.
Expected Behavior
UpdateRevision should be able to finalize and de-finalize a revision.
Current Behavior
UpdateRevision is able to finalize a revision when Finalized is set to true but when set to false the request succeeds but has no effect.
logs show that when Finalized is set to false the request is empty
true
{"Finalized":true}SDK 2025/04/17 10:07:50 DEBUG ResponseHTTP/2.0 200 OK
false
{}SDK 2025/04/17 10:10:11 DEBUG ResponseHTTP/2.0 200 OK
Reproduction Steps
given the following config using an already created revision. Setting Finalized to true works. When set to `false the request body is empty. Cloudtrail shows this request working with both values when done in the console.
We'll just have to patch that field's type to *bool as a breakfix. Those top-level operation inputs are really supposed to always be nullable/pointable anyway, not sure why this one isn't.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Acknowledgements
go get -u github.com/aws/aws-sdk-go-v2/...
)Describe the bug
When trying to update a "finalized" DataExchange Revision to "de-finalized" the request succeeds but has no change on the revision. We can finalize the revision by setting the
Finalized
parameter totrue
but are unable to de-finalize by setting it tofalse
Regression Issue
Expected Behavior
UpdateRevision
should be able to finalize and de-finalize a revision.Current Behavior
UpdateRevision
is able to finalize a revision whenFinalized
is set totrue
but when set tofalse
the request succeeds but has no effect.logs show that when
Finalized
is set tofalse
the request is emptytrue
false
Reproduction Steps
given the following config using an already created revision. Setting Finalized to
true
works. When set to `false the request body is empty. Cloudtrail shows this request working with both values when done in the console.Possible Solution
No response
Additional Information/Context
Relates hashicorp/terraform-provider-aws#42272
AWS Go SDK V2 Module Versions Used
github.com/aws/aws-sdk-go-v2/service/dataexchange v1.34.2
Compiler and Version used
go1.24.2 darwin/arm64
Operating System and version
macOS 15.4.1
The text was updated successfully, but these errors were encountered: