fix: wrap ELBv2 void query responses in their Result envelope (#1189)

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
This commit is contained in:
Matt Van HornandMatt Van Horn authored and GitHub committed 2026-06-30 23:06:30 -05:00
1 parent f558472a4d
commit 189d893803
2 files changed
+62 -2

No files matched your search

@@ -1233,8 +1233,12 @@ public class ElbV2QueryHandler {
// ── Misc helpers ─────────────────────────────────────────────────────────
private Response voidResponse(String responseName) {
String actionName = responseName.substring(0, responseName.length() - "Response".length());
String resultName = actionName + "Result";
String xml = new XmlBuilder()
.start(responseName, AwsNamespaces.ELB_V2)
.start(resultName)
.end(resultName)
.raw(AwsQueryResponse.responseMetadata())
.end(responseName)
.build();