refactor rest calls so all fields are included appropriately
Some checks failed
AWS-Zig Build / build-zig-amd64-host (push) Failing after 13m25s

This commit is contained in:
Emil Lerch 2026-02-02 18:00:00 -08:00
parent 4df27142d0
commit fd568f26b9
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -304,14 +304,9 @@ pub fn Request(comptime request_action: anytype) type {
}
}
return try Self.callAws(aws_request, .{
.success_http_code = Action.http_config.success_code,
.region = options.region,
.dualstack = options.dualstack,
.client = options.client,
.diagnostics = options.diagnostics,
.mock = options.mock,
});
var rest_options = options;
rest_options.success_http_code = Action.http_config.success_code;
return try Self.callAws(aws_request, rest_options);
}
/// Calls using one of the json protocols (json_1_0, json_1_1)